summaryrefslogtreecommitdiff
path: root/java/kotlin.go
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2019-10-08 21:59:58 +0900
committer Jooyung Han <jooyung@google.com> 2019-10-10 12:54:56 +0900
commit7a78a92f79ed7446d657a490945b98a09cb34c65 (patch)
tree02cbb730739fdcea8a3876e53ec8128b03d9c502 /java/kotlin.go
parent4b5438a9eabc90b47a16ea9afc589ec35a799f46 (diff)
Fix flattened apex install dir
This fixes the bug: flattened apex is installed under /system/apex/<soong module name> not /system/apex/<apex name>. Flattened apexes can be seen as pre-activated under /system/apex, which is bind-mount to /apex. Therefore, install dir for flattend apex should be the same with the activation point(or mountpoint) of non-flattened apex. When apex_name: is set, it should be used as its name instead of name:. This change also emits makevar APEX_FILE_CONTEXTS_INFOS which is list of pairs(<apex_name>:<file_contexts>) and is used by sepolicy to modify file_contexts files for flattened apexes properly. Bug: 123314817 Bug: 142300241 Test: add a test apex module(foo) with apex_name(foobar) Test: OVERRIDE_TARGET_FLATTEN_APEX=true m foo Test: see if the apex is installed correctly(/system/apex/foobar) Test: see if the file_contexts for foo is correctly modified Change-Id: I97a07de5cc772cd1d91e95ae059d282038028916
Diffstat (limited to 'java/kotlin.go')
0 files changed, 0 insertions, 0 deletions