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

Unified Diff: build/common.gypi

Issue 474463002: win: Add /Zc:inline to Pro Release builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 7e2d4b00dd35062ee4943189e41a815b163fc407..9a9c48bda6c71fdd3131f4519a34c1229c09828e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3279,6 +3279,7 @@
],
'AdditionalOptions': [
'/d2Zi+', # Improve debugging of Release builds.
+ '/Zc:inline', # Remove unreferenced COMDAT (faster links).
'<@(win_release_extra_cflags)',
],
},
@@ -5196,6 +5197,11 @@
4702
],
'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions!': [
+ '/Zc:inline', # Not supported on non-updated Express.
+ ],
+ },
'VCLinkerTool': {
# Explicitly required when using the ATL with express
'AdditionalDependencies': ['atlthunk.lib'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698