diff options
| author | 2018-10-05 14:20:06 -0700 | |
|---|---|---|
| committer | 2018-10-25 17:47:12 +0000 | |
| commit | 5a0dcd5acf0788a8bd97d903a40b5d7931e5b2cd (patch) | |
| tree | 5d2f03061e9732d204d272c258d11b42b6a3621e /java/java.go | |
| parent | 1e30905f6525b35f565b5b0bf395f7279658a6b0 (diff) | |
Store dex files uncompressed and unstripped in privileged APKs
Privileged APKs need to store their dex files uncompressed so they
can be verified and mapped directly out of the APK.
Also track whether the module will be dexpreopted or not in order
to determine if the dex file should be stripped before signing.
Test: SystemUI.apk contains an uncompressed dex file
Change-Id: I4dca86c7f8778595882405b34adcf2a7bae03c67
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index f651884c3..1a73133e4 100644 --- a/java/java.go +++ b/java/java.go @@ -257,6 +257,8 @@ type CompilerDeviceProperties struct { // When targeting 1.9, override the modules to use with --system System_modules *string + + UncompressDex bool `blueprint:"mutated"` } // Module contains the properties and members used by all java module types |