Specify boot image format to be lz4hc
Reduce boot image space taken from 28803072B -> 9572352B (-20MB). No reason to have this be configurable yet. Test: ls -l $OUT/system/framework/*/apex*.art | awk '{s += $5} END {print s}' Bug: 77863440 Change-Id: I280b740dfbd001109ce1e288e395595f21567aa6
This commit is contained in:
parent
c89fe6253f
commit
54fd807267
|
@ -298,6 +298,7 @@ func buildBootImageRuleForArch(ctx android.SingletonContext, image *bootImage,
|
|||
FlagForEachArg("--dex-location=", image.dexLocations).
|
||||
Flag("--generate-debug-info").
|
||||
Flag("--generate-build-id").
|
||||
Flag("--image-format=lz4hc").
|
||||
FlagWithOutput("--oat-symbols=", symbolsFile).
|
||||
Flag("--strip").
|
||||
FlagWithOutput("--oat-file=", outputPath.ReplaceExtension(ctx, "oat")).
|
||||
|
|
Loading…
Reference in New Issue