Merge "dexpreopt: Use the dirty-image-objects path from frameworks/base."

This commit is contained in:
Nicolas Geoffray
2021-01-20 18:13:20 +00:00
committed by Gerrit Code Review
2 changed files with 8 additions and 11 deletions

View File

@@ -625,8 +625,10 @@ func buildBootImageVariant(ctx android.SingletonContext, image *bootImageVariant
cmd.FlagWithInput("--profile-file=", profile)
}
if global.DirtyImageObjects.Valid() {
cmd.FlagWithInput("--dirty-image-objects=", global.DirtyImageObjects.Path())
dirtyImageFile := "frameworks/base/config/dirty-image-objects"
dirtyImagePath := android.ExistentPathForSource(ctx, dirtyImageFile)
if dirtyImagePath.Valid() {
cmd.FlagWithInput("--dirty-image-objects=", dirtyImagePath.Path())
}
if image.extends != nil {