diff options
author | 2025-03-18 00:07:34 +0000 | |
---|---|---|
committer | 2025-03-18 03:58:00 +0000 | |
commit | 7c5fa1991740b9f1f18ba627b79ded845f849915 (patch) | |
tree | aa7c708cb87ec57ee37bb964e34f09140d4c261a /ci_tests | |
parent | e58f350aabfb1d3d55f012259f8e29e25fbb813f (diff) |
Add LOCAL_UNINSTALLABLE_MODULE: true to test_package AndroidMkEntries
This change should prevent the output zip from being
installed to system/etc
Test: CI and check the output
Bug: 388850000
Change-Id: Iff6c27d5d206428432e6a3d893b1a82f990d79f9
Diffstat (limited to 'ci_tests')
-rw-r--r-- | ci_tests/ci_test_package_zip.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci_tests/ci_test_package_zip.go b/ci_tests/ci_test_package_zip.go index 95249aa10..d7aaa6686 100644 --- a/ci_tests/ci_test_package_zip.go +++ b/ci_tests/ci_test_package_zip.go @@ -284,6 +284,10 @@ func (p *testPackageZip) AndroidMkEntries() []android.AndroidMkEntries { android.AndroidMkEntries{ Class: "ETC", OutputFile: android.OptionalPathForPath(p.output), + ExtraEntries: []android.AndroidMkExtraEntriesFunc{ + func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) { + entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", true) + }}, }, } } |