Merge changes from topics "target-build-unbundled", "unbundled-preopt" am: fa096325fe am: f80b698957

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

Change-Id: I18d5c7990c2a438287a420fe70428512df42ed97
This commit is contained in:
Martin Stjernholm
2020-06-11 10:43:13 +00:00
committed by Automerger Merge Worker
4 changed files with 4 additions and 13 deletions

View File

@@ -77,10 +77,6 @@ func (d *dexpreopter) dexpreoptDisabled(ctx android.BaseModuleContext) bool {
return true
}
if ctx.Config().UnbundledBuild() {
return true
}
if d.isTest {
return true
}

View File

@@ -179,15 +179,7 @@ func RegisterDexpreoptBootJarsComponents(ctx android.RegistrationContext) {
}
func skipDexpreoptBootJars(ctx android.PathContext) bool {
if dexpreopt.GetGlobalConfig(ctx).DisablePreopt {
return true
}
if ctx.Config().UnbundledBuild() {
return true
}
return false
return dexpreopt.GetGlobalConfig(ctx).DisablePreopt
}
type dexpreoptBootJars struct {