tools: Remove Android arm64 custom profile path
parent
eae45e5a03
commit
dd2af1083d
|
|
@ -87,7 +87,7 @@ config("pgo_optimization_flags") {
|
|||
if (is_desktop_android && current_cpu == "x64") {
|
||||
_pgo_target = "android-desktop-x64"
|
||||
} else if (current_cpu == "arm64") {
|
||||
_pgo_target = "android-arm64"
|
||||
_pgo_target = "android-desktop-arm64"
|
||||
} else {
|
||||
_pgo_target = "android-arm32"
|
||||
}
|
||||
|
|
@ -121,6 +121,8 @@ config("pgo_optimization_flags") {
|
|||
inputs = [ "//chrome/build/android-arm32.pgo.txt" ]
|
||||
} else if (_pgo_target == "android-desktop-x64") {
|
||||
inputs = [ "//chrome/build/android-desktop-x64.pgo.txt" ]
|
||||
} else if (_pgo_target == "android-desktop-arm64") {
|
||||
inputs = [ "//chrome/build/android-desktop-arm64.pgo.txt" ]
|
||||
}
|
||||
|
||||
if (_pgo_target != "" && pgo_data_path == "") {
|
||||
|
|
|
|||
|
|
@ -147,13 +147,6 @@ def _get_profile_path(args):
|
|||
"""
|
||||
if args.override_filename:
|
||||
profile_path = os.path.join(_PGO_PROFILE_DIR, args.override_filename)
|
||||
elif args.target == 'android-arm64':
|
||||
# By default on android for arm64 we use the PGO profile that is generated
|
||||
# at the same commit as the orderfile. See https://crbug.com/372686816 for
|
||||
# more context on why this is necessary.
|
||||
profile_path = os.path.join(
|
||||
_ANDROID_ARM64_PROFILE_DIR, 'pgo_profile.arm64.profdata'
|
||||
)
|
||||
else:
|
||||
profile_path = os.path.join(
|
||||
_PGO_PROFILE_DIR, _read_profile_name(args.target)
|
||||
|
|
|
|||
Loading…
Reference in New Issue