dexpreopt: Use the dirty-image-objects path from frameworks/base.
Test: m Bug: 176171716 Change-Id: Ifbc08ae03e2b1bec7161948970bd197386e3b305
This commit is contained in:
@@ -622,8 +622,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 {
|
||||
|
Reference in New Issue
Block a user