diff options
author | Ulf Adams <ulfjack@google.com> | 2016-10-11 10:59:46 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2016-10-11 13:26:33 +0000 |
commit | 8d36a34ee02ad0fd07d713b8c8ee273ff30d2fb9 (patch) | |
tree | 5eb0a2c72932403d97cfc961f16c315c9a7e2ac3 /tools/build_rules | |
parent | 155bd6457c7426faa84b5acba991a1c80cdcf920 (diff) |
Rollback of commit f341bc4f6e918b6a41c1536c111bbf24f14f967b.
*** 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