summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-03-29 14:23:10 +0900
committerJiyong Park <jiyong@google.com>2019-03-30 14:11:37 +0900
commitc95714ed0d31dd2d5a086858fbcd5ec74f9dbb68 (patch)
tree03ba63e552cbe6f17ede1695475842d1ac7941c0 /python/python.go
parent939ebd5f332b243f2921d26f16922cfa8750d862 (diff)
Arch-specific source for prebuilt_apex
Arch-specific source can be specified for prebuilt_apex as follows. arch: { arm64: { src: "myapex-arm64.apex", }, }, A note on the implementation. The Src property was not tagged as `android:"arch_variant"` as usual. Instead, multiple Src properties are explicitly declared like struct Arch { struct Arm { struct Src *string } ... } Corresponding Src property is manually selected according to the MultiTargets()[0]. This is because prebuilt_apex is mutated only for android_common, in order to have the same arch variant with the apex module type. Therefore, we can't rely on the arch_variant tag. Bug: 127789981 Test: m (apex_test amended) Change-Id: I77dbe626171d8975f549bdb4af3c487232cf05f7
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions