Merge "Use uncompressed dex for all preopted system targets" into main am: fd3921f6bb
am: 70d0d2d7aa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2956760 Change-Id: I76f277e8446796dcd1f713105477a43221d35aa8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -680,10 +680,11 @@ func shouldUncompressDex(ctx android.ModuleContext, libName string, dexpreopter
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Store uncompressed dex files that are preopted on /system.
|
// Store uncompressed dex files that are preopted on /system or /system_other.
|
||||||
if !dexpreopter.dexpreoptDisabled(ctx, libName) && (ctx.Host() || !dexpreopter.odexOnSystemOther(ctx, libName, dexpreopter.installPath)) {
|
if !dexpreopter.dexpreoptDisabled(ctx, libName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.Config().UncompressPrivAppDex() &&
|
if ctx.Config().UncompressPrivAppDex() &&
|
||||||
inList(ctx.ModuleName(), ctx.Config().ModulesLoadedByPrivilegedModules()) {
|
inList(ctx.ModuleName(), ctx.Config().ModulesLoadedByPrivilegedModules()) {
|
||||||
return true
|
return true
|
||||||
|
Reference in New Issue
Block a user