Merge "Remove PreoptExtractedApk." into main
This commit is contained in:
@@ -184,8 +184,6 @@ type ModuleConfig struct {
|
|||||||
PreoptBootClassPathDexFiles android.Paths // file paths of boot class path files
|
PreoptBootClassPathDexFiles android.Paths // file paths of boot class path files
|
||||||
PreoptBootClassPathDexLocations []string // virtual locations of boot class path files
|
PreoptBootClassPathDexLocations []string // virtual locations of boot class path files
|
||||||
|
|
||||||
PreoptExtractedApk bool // Overrides OnlyPreoptModules
|
|
||||||
|
|
||||||
NoCreateAppImage bool
|
NoCreateAppImage bool
|
||||||
ForceCreateAppImage bool
|
ForceCreateAppImage bool
|
||||||
|
|
||||||
|
@@ -124,7 +124,7 @@ func dexpreoptDisabled(ctx android.PathContext, global *GlobalConfig, module *Mo
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if global.OnlyPreoptArtBootImage && !module.PreoptExtractedApk {
|
if global.OnlyPreoptArtBootImage {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -87,7 +87,6 @@ func createTestModuleConfig(name, dexLocation string, buildPath, dexPath, enforc
|
|||||||
DexPreoptImageLocationsOnHost: []string{},
|
DexPreoptImageLocationsOnHost: []string{},
|
||||||
PreoptBootClassPathDexFiles: nil,
|
PreoptBootClassPathDexFiles: nil,
|
||||||
PreoptBootClassPathDexLocations: nil,
|
PreoptBootClassPathDexLocations: nil,
|
||||||
PreoptExtractedApk: false,
|
|
||||||
NoCreateAppImage: false,
|
NoCreateAppImage: false,
|
||||||
ForceCreateAppImage: false,
|
ForceCreateAppImage: false,
|
||||||
PresignedPrebuilt: false,
|
PresignedPrebuilt: false,
|
||||||
|
@@ -374,8 +374,6 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Wr
|
|||||||
PreoptBootClassPathDexFiles: dexFiles.Paths(),
|
PreoptBootClassPathDexFiles: dexFiles.Paths(),
|
||||||
PreoptBootClassPathDexLocations: dexLocations,
|
PreoptBootClassPathDexLocations: dexLocations,
|
||||||
|
|
||||||
PreoptExtractedApk: false,
|
|
||||||
|
|
||||||
NoCreateAppImage: !BoolDefault(d.dexpreoptProperties.Dex_preopt.App_image, true),
|
NoCreateAppImage: !BoolDefault(d.dexpreoptProperties.Dex_preopt.App_image, true),
|
||||||
ForceCreateAppImage: BoolDefault(d.dexpreoptProperties.Dex_preopt.App_image, false),
|
ForceCreateAppImage: BoolDefault(d.dexpreoptProperties.Dex_preopt.App_image, false),
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user