diff options
author | Colin Cross <ccross@android.com> | 2018-10-05 14:20:06 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-10-25 17:47:12 +0000 |
commit | 5a0dcd5acf0788a8bd97d903a40b5d7931e5b2cd (patch) | |
tree | 5d2f03061e9732d204d272c258d11b42b6a3621e /java/app_builder.go | |
parent | 1e30905f6525b35f565b5b0bf395f7279658a6b0 (diff) | |
download | android_build_soong-5a0dcd5acf0788a8bd97d903a40b5d7931e5b2cd.tar.gz android_build_soong-5a0dcd5acf0788a8bd97d903a40b5d7931e5b2cd.tar.bz2 android_build_soong-5a0dcd5acf0788a8bd97d903a40b5d7931e5b2cd.zip |
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/app_builder.go')
-rw-r--r-- | java/app_builder.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/java/app_builder.go b/java/app_builder.go index b9b5f43a..75774443 100644 --- a/java/app_builder.go +++ b/java/app_builder.go @@ -87,9 +87,6 @@ func CreateAppPackage(ctx android.ModuleContext, outputFile android.WritablePath certificateArgs = append(certificateArgs, c.pem.String(), c.key.String()) } - // TODO(ccross): sometimes uncompress dex - // TODO(ccross): sometimes strip dex - ctx.Build(pctx, android.BuildParams{ Rule: signapk, Description: "signapk", |