aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-06-25 13:35:30 -0700
committerColin Cross <ccross@android.com>2019-06-25 22:28:00 -0700
commit43377eeb3890dcdbc8d5a391c54c5b6062f9d807 (patch)
treef04c77278075025c7fec86b5f2c2b7930a04c608 /android
parentd6585fe6e34b3181cdaec3892e5214dbf5d25d5e (diff)
downloadbuild_soong-43377eeb3890dcdbc8d5a391c54c5b6062f9d807.tar.gz
build_soong-43377eeb3890dcdbc8d5a391c54c5b6062f9d807.tar.bz2
build_soong-43377eeb3890dcdbc8d5a391c54c5b6062f9d807.zip
Uncompress dex in unbundled privileged apps
Mainline builds privileged apps unbundled and then uses them as prebuilts, so they need to respect the privileged flag when deciding whether or not to uncompress the dex. Bug: 135772877 Test: TestUncompressDex Change-Id: I91da7116b779ae35c0617ef77dbcb9788902370c Merged-In: I91da7116b779ae35c0617ef77dbcb9788902370c (cherry picked from commit 53a87f523b75f86008c3e0971489a06a6450a670)
Diffstat (limited to 'android')
-rw-r--r--android/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index 43eeb975..d1db87b2 100644
--- a/android/config.go
+++ b/android/config.go
@@ -208,6 +208,7 @@ func TestConfig(buildDir string, env map[string]string) Config {
AAPTPreferredConfig: stringPtr("xhdpi"),
AAPTCharacteristics: stringPtr("nosdcard"),
AAPTPrebuiltDPI: []string{"xhdpi", "xxhdpi"},
+ UncompressPrivAppDex: boolPtr(true),
},
buildDir: buildDir,