Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage.
OnlyPreoptBootImageAndSystemServer was for making the eng build faster. This change makes it even faster. Bug: 309011617 Test: Presubmit Change-Id: If9001e99593b57deafa7b56f0ca6b3d4d80f56d3
This commit is contained in:
@@ -68,7 +68,7 @@ func (m *dexpreoptSystemserverCheck) GenerateAndroidBuildActions(ctx android.Mod
|
||||
|
||||
// The check should be skipped on unbundled builds because system server jars are not preopted on
|
||||
// unbundled builds since the artifacts are installed into the system image, not the APEXes.
|
||||
if global.DisablePreopt || len(targets) == 0 || ctx.Config().UnbundledBuild() {
|
||||
if global.DisablePreopt || global.OnlyPreoptArtBootImage || len(targets) == 0 || ctx.Config().UnbundledBuild() {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user