Merge "Disable dexpreopt on targets that do not include default ART config."
This commit is contained in:
@@ -123,6 +123,10 @@ func dexpreoptBootJarsFactory() android.Singleton {
|
||||
}
|
||||
|
||||
func skipDexpreoptBootJars(ctx android.PathContext) bool {
|
||||
if dexpreoptGlobalConfig(ctx).DisablePreopt {
|
||||
return true
|
||||
}
|
||||
|
||||
if ctx.Config().UnbundledBuild() {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user