Loading java/dexpreopt_bootjars.go +5 −1 Original line number Diff line number Diff line Loading @@ -789,7 +789,6 @@ func buildBootImageVariant(ctx android.ModuleContext, image *bootImageVariant, p Flag("--generate-build-id"). Flag("--image-format=lz4hc"). FlagWithArg("--oat-symbols=", symbolsFile.String()). Flag("--strip"). FlagWithArg("--oat-file=", outputPath.String()). FlagWithArg("--oat-location=", oatLocation). FlagWithArg("--image=", imagePath.String()). Loading @@ -799,6 +798,11 @@ func buildBootImageVariant(ctx android.ModuleContext, image *bootImageVariant, p Flag("--force-determinism"). Flag("--abort-on-hard-verifier-error") // We don't strip on host to make perf tools work. if image.target.Os == android.Android { cmd.Flag("--strip") } // If the image is profile-guided but the profile is disabled, we omit "--compiler-filter" to // leave the decision to dex2oat to pick the compiler filter. if !(image.isProfileGuided() && global.DisableGenerateProfile) { Loading Loading
java/dexpreopt_bootjars.go +5 −1 Original line number Diff line number Diff line Loading @@ -789,7 +789,6 @@ func buildBootImageVariant(ctx android.ModuleContext, image *bootImageVariant, p Flag("--generate-build-id"). Flag("--image-format=lz4hc"). FlagWithArg("--oat-symbols=", symbolsFile.String()). Flag("--strip"). FlagWithArg("--oat-file=", outputPath.String()). FlagWithArg("--oat-location=", oatLocation). FlagWithArg("--image=", imagePath.String()). Loading @@ -799,6 +798,11 @@ func buildBootImageVariant(ctx android.ModuleContext, image *bootImageVariant, p Flag("--force-determinism"). Flag("--abort-on-hard-verifier-error") // We don't strip on host to make perf tools work. if image.target.Os == android.Android { cmd.Flag("--strip") } // If the image is profile-guided but the profile is disabled, we omit "--compiler-filter" to // leave the decision to dex2oat to pick the compiler filter. if !(image.isProfileGuided() && global.DisableGenerateProfile) { Loading