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:
@@ -1584,7 +1584,7 @@ func (u *usesLibrary) verifyUsesLibraries(ctx android.ModuleContext, inputFile a
|
||||
// non-linux build platforms where dexpreopt is generally disabled (the check may fail due to
|
||||
// various unrelated reasons, such as a failure to get manifest from an APK).
|
||||
global := dexpreopt.GetGlobalConfig(ctx)
|
||||
if global.DisablePreopt || global.OnlyPreoptBootImageAndSystemServer {
|
||||
if global.DisablePreopt || global.OnlyPreoptArtBootImage {
|
||||
return inputFile
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user