summaryrefslogtreecommitdiff
path: root/scripts/rustc_linker.py
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-12-06 01:38:45 +0000
committer Spandan Das <spandandas@google.com> 2024-12-06 02:41:14 +0000
commit8222955afbeff1b21bef36abeb71bf8d19609975 (patch)
treec1bd0fb68fb85db1b0cb215e67e81d1c82f403bd /scripts/rustc_linker.py
parentd2505873e521984f6d4732d4acd9f87fe338d159 (diff)
Do not include assets in autogenerated RROs
https://r.android.com/3390619 changed RRO enforcement by creating the autogenerated RROs in Soong, instead of creating the RROs in make. These autogenerated modules are created in the same directory as the base app, and therefore would include asset files in `assets` subdirectory (if it exists). This CL adds a `doNotIncludeAssetDirImplicitly` to `aapt2Flags` to exclude the assets from aapt2 linking. Bug: 382345660 Bug: 375277835 Test: in internal, lunch <pixel>-trunk_staging-userdebug Test: m out/target/product/$pixel/vendor/overlay/SystemUIGoogle__$pixel__auto_generated_rro_vendor.apk Test: unzip -l apk and verified that assets dir is not present Change-Id: Ie7c72bc77c277fabec0ba19c238dcc47a985c304
Diffstat (limited to 'scripts/rustc_linker.py')
0 files changed, 0 insertions, 0 deletions