Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3169)

Unified Diff: build/config/compiler/compiler.gni

Issue 2018293002: Enable WPO for the x64 Official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@4702
Patch Set: Rebase. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | chrome/installer/mini_installer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/compiler.gni
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
index 13109c28639bf43b10415136942e174fefad33b3..98f99f2298c5640c43e344d59e33a9b91639925b 100644
--- a/build/config/compiler/compiler.gni
+++ b/build/config/compiler/compiler.gni
@@ -30,8 +30,13 @@ declare_args() {
# TODO(sebmarchand): Add support for the PGU (update) phase.
chrome_pgo_phase = 0
- # Whether or not the official builds should be build with full WPO.
- full_wpo_on_official = false
+ # Whether or not the official builds should be built with full WPO. Enabled by
+ # default for the PGO and the x64 builds.
+ if (chrome_pgo_phase > 0 || target_cpu == "x64") {
+ full_wpo_on_official = true
+ } else {
+ full_wpo_on_official = false
+ }
}
declare_args() {
@@ -67,8 +72,3 @@ if (symbol_level == -1) {
symbol_level = 0
}
}
-
-# PGO requires full WPO.
-if (chrome_pgo_phase > 0) {
- full_wpo_on_official = true
-}
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | chrome/installer/mini_installer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698