summaryrefslogtreecommitdiff
path: root/chromium/build/config/compiler/pgo/pgo.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/config/compiler/pgo/pgo.gni')
-rw-r--r--chromium/build/config/compiler/pgo/pgo.gni3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/build/config/compiler/pgo/pgo.gni b/chromium/build/config/compiler/pgo/pgo.gni
index a0cbb6acc05..f616b88a052 100644
--- a/chromium/build/config/compiler/pgo/pgo.gni
+++ b/chromium/build/config/compiler/pgo/pgo.gni
@@ -9,6 +9,9 @@ declare_args() {
# 1 : Used during the PGI (instrumentation) phase.
# 2 : Used during the PGO (optimization) phase.
chrome_pgo_phase = 0
+ if (is_official_build && (is_win || is_mac)) {
+ chrome_pgo_phase = 2
+ }
# When using chrome_pgo_phase = 2, read profile data from this path.
pgo_data_path = ""