Turn apex compression from opt-out into opt-in am: 82aab58aea am: 4e36d71632

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1563633

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I108ef022f4bb1ed2c5cf602bf747574d2fe20df3
This commit is contained in:
Nikita Ioffe 2021-01-29 21:50:35 +00:00 committed by Automerger Merge Worker
commit 0968f5a861
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
ctx.PropertyErrorf("test_only_force_compression", "not available")
return
}
compressionEnabled := ctx.Config().CompressedApex() && proptools.BoolDefault(a.properties.Compressible, true)
compressionEnabled := ctx.Config().CompressedApex() && proptools.BoolDefault(a.properties.Compressible, false)
if apexType == imageApex && (compressionEnabled || a.testOnlyShouldForceCompression()) {
a.isCompressed = true
unsignedCompressedOutputFile := android.PathForModuleOut(ctx, a.Name()+".capex.unsigned")