From 5a0dcd5acf0788a8bd97d903a40b5d7931e5b2cd Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 5 Oct 2018 14:20:06 -0700 Subject: 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 --- java/java.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'java/java.go') 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 -- cgit v1.2.3-59-g8ed1b