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

Unified Diff: build/internal/release_defaults.gypi

Issue 812263002: Add /Gw to the compiler command line to reduce .dll sizes by 0.85% (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« build/common.gypi ('K') | « 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/internal/release_defaults.gypi
diff --git a/build/internal/release_defaults.gypi b/build/internal/release_defaults.gypi
index 1bf674ac12165bdb7c56af4e5ef55c8cc7de76b6..59a93a73e182da636114a6eb59c901bd60b1ef34 100644
--- a/build/internal/release_defaults.gypi
+++ b/build/internal/release_defaults.gypi
@@ -5,6 +5,9 @@
'msvs_settings': {
'VCCLCompilerTool': {
'StringPooling': 'true',
+ 'AdditionalOptions': [
+ '/Gw', # Put data in separate COMDATs, new in VS 2013 Update 2
+ ],
},
'VCLinkerTool': {
# No incremental linking.
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698