diff options
author | 2020-09-23 19:15:55 +0900 | |
---|---|---|
committer | 2020-09-23 15:43:39 +0000 | |
commit | 7f146c0da11e262f2b14d73701444deafe527ee1 (patch) | |
tree | c7c166e9ea63ee4921469b3bfa3c9d99ab4f3b25 /rust/coverage_test.go | |
parent | a9a99bc6d2f053cc0e66679263d610127a6bbced (diff) |
apex: emit file_contexts for flattened apex
Flattened APEXes are installed in /<partition>/apex/<name>, so its
file_contexts file should be amended accordingly.
For example, file_contexts of an apex "com.android.foo" with should be
modified by prepending actual install path to the path regex.
/bin/foo <sepolicy label>
=> /system/apex/com\.android\.foo/bin/foo <sepolicy label>
File_contexts file is emitted to "make" via LOCAL_FILE_CONTEXTS variable
for apex_manifest.pb module.
Make collects these files and use them to build file_contexts.bin.
Also removed global state which is used to keep the list of all
flattened apexes.
Bug: 166518492
Test: m file_contexts.bin
check intermediate file_contexts.modules.tmp file
in $OUT/obj/ETC/file_contexts.bin_intermediates/
Change-Id: I780370b6e576964a5c09f9477f3361f341dd576b
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions