mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-07-13 06:23:35 +03:00
tools: Remove Android arm64 custom profile path
This commit is contained in:
@@ -81,7 +81,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"
|
||||
}
|
||||
@@ -115,6 +115,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 == "") {
|
||||
|
||||
@@ -117,12 +117,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))
|
||||
|
||||
Reference in New Issue
Block a user