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

Side by Side 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 unified diff | Download patch
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'msvs_settings': { 5 'msvs_settings': {
6 'VCCLCompilerTool': { 6 'VCCLCompilerTool': {
7 'StringPooling': 'true', 7 'StringPooling': 'true',
8 'AdditionalOptions': [
9 '/Gw', # Put data in separate COMDATs, new in VS 2013 Update 2
10 ],
8 }, 11 },
9 'VCLinkerTool': { 12 'VCLinkerTool': {
10 # No incremental linking. 13 # No incremental linking.
11 'LinkIncremental': '1', 14 'LinkIncremental': '1',
12 # Eliminate Unreferenced Data (/OPT:REF). 15 # Eliminate Unreferenced Data (/OPT:REF).
13 'OptimizeReferences': '2', 16 'OptimizeReferences': '2',
14 # Folding on (/OPT:ICF). 17 # Folding on (/OPT:ICF).
15 'EnableCOMDATFolding': '2', 18 'EnableCOMDATFolding': '2',
16 }, 19 },
17 }, 20 },
18 } 21 }
OLDNEW
« 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