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

Unified Diff: build/config/compiler/BUILD.gn

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/common.gypi ('k') | build/config/compiler/compiler.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index ea5401a39facfaa3bb45edcdaafd57d01cdc9b07..3b32238c6212bbc810d60a1528d0367df05233d3 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1193,6 +1193,9 @@ if (is_win) {
# This gives a 5-10% link speedup.
"/cgthreads:8",
]
+ if (full_wpo_on_official) {
+ arflags = [ "/LTCG" ]
+ }
}
} else {
common_optimize_on_cflags = [
« no previous file with comments | « build/common.gypi ('k') | build/config/compiler/compiler.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698