summaryrefslogtreecommitdiff
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2019-12-05 13:20:58 +0900
committer Jiyong Park <jiyong@google.com> 2019-12-05 13:25:39 +0900
commit317645e84c9ce38eaeb4cdbb46f9b7b31ef51bf8 (patch)
tree5d7a4c72cc3dc9f31739e429161bbbf3570375f4 /sdk/sdk_test.go
parent7b34ebf4474094259695df90e9a87bf57f5c83e2 (diff)
Overridden APEX doesn't contribute to the file contexts
This change fixes the problem that when an apex module is overridden by another override_apex, the <apex_name>-file_contexts are duplicated when creating the system-level file-contexts. Fixing this by not emitting the file_context info for the overridden apex. In doing so, OverridableModule interface was extended to have GetOverriddenBy() method which can be used to test whether a module is an overridden one or not. Bug: 144338929 Test: m (apex_test amended) Test: add "override_apex {name:"com.googlge.android.tzdata", Change-Id: I5e9401c32899bb9987c90cba4185f571dc1a87f0 base:"com.android.tzdata"}" and the build is successful
Diffstat (limited to 'sdk/sdk_test.go')
0 files changed, 0 insertions, 0 deletions