aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2016-10-11 10:59:46 +0000
committerGravatar Yue Gan <yueg@google.com>2016-10-11 13:26:33 +0000
commit8d36a34ee02ad0fd07d713b8c8ee273ff30d2fb9 (patch)
tree5eb0a2c72932403d97cfc961f16c315c9a7e2ac3 /tools/build_rules
parent155bd6457c7426faa84b5acba991a1c80cdcf920 (diff)
*** Reason for rollback *** Depends on c/135226123 which depends on commit 9c25afe750a937b2152c21a93effc8b9ba82c27b, which needs to be rolled back. *** Original change description *** Add ctx.get_actions(), for inspecting the actions created by the current rule. This returns an ActionsProvider. In the case where the rule does not emit any more actions afterwards, the provider is equivalent to the one that gets passed on to the rule's dependencies. This may be useful for unit testing analysis-time helper functions that take in ctx and have the side-effect of creating actions. In this use case, the testing rule should be marked _skylark_testable=True, and its implementation f... *** -- MOS_MIGRATED_REVID=135781162
Diffstat (limited to 'tools/build_rules')
0 files changed, 0 insertions, 0 deletions