diff options
author | asteinb <asteinb@google.com> | 2018-05-22 05:56:48 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-22 05:58:07 -0700 |
commit | 090f46313b33d94d4d0fd2b10606bc7947fd9a98 (patch) | |
tree | 9792a1fc3380a6cb8ecbfed70ad88cf68d0da4c2 /WORKSPACE | |
parent | 8ba0475d4aecd964049d22486fbbc4817a31aa9c (diff) |
Create AndroidDataContext to wrap context needed when working with Android data
This new object wraps Label, ActionConstructionContext, and various
data-related tools (currently, just the resource Busybox and the Android SDK).
All three of these things are required for creating pretty much any action for
working with Android assets, resources, and manifests, so it makes sense to
pass them around together.
Eventually, we'll use this class instead of RuleContext in any code called from
the Skylark APIs. For now, though, just have it wrap a RuleContext - the
migration away from that will happen in future changes.
Change the current Skylark API to take this class, rather than a
SkylarkRuleContext. This is the first step towards not passing RuleContext (or
SkylarkRuleContext) into the Skylark API.
RELNOTES: none
PiperOrigin-RevId: 197549155
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions