| OLD | NEW |
| 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 } |
| OLD | NEW |