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

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

Issue 2035313007: Revert of Use /LTCG:Incremental to speed up the non-clobber official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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') | no next file » | 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 c15ab9f26bc292d73625625c7a4015e543fe83a7..6f462beabc05be2d25c5951ab34e2bf69624fc90 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1207,12 +1207,7 @@
if (is_official_build) {
common_optimize_on_ldflags += [
"/OPT:REF", # Remove unreferenced data.
-
- # Enable /LTCG for the official builds. Use the incremental mode to
- # speed-up the non-clobber builds. This is not the same as incremental
- # linking (/INCREMENTAL) and doesn't have any impact on code size or on
- # performance.
- "/LTCG:INCREMENTAL",
+ "/LTCG", # Link-time code generation.
# Set the number of LTCG code-gen threads to eight. The default is four.
# This gives a 5-10% link speedup.
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698