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

Side by Side Diff: tools/gyp/configurations_msvs.gypi

Issue 2134883002: Enable function level linking in product mode for windows so that dead code is eliminated and there… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'configurations': { 10 'configurations': {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 'msvs_disabled_warnings': [4351], 109 'msvs_disabled_warnings': [4351],
110 }, 110 },
111 111
112 'Dart_Win_Product': { 112 'Dart_Win_Product': {
113 'abstract': 1, 113 'abstract': 1,
114 'msvs_settings': { 114 'msvs_settings': {
115 'VCCLCompilerTool': { 115 'VCCLCompilerTool': {
116 'Optimization': '2', 116 'Optimization': '2',
117 'InlineFunctionExpansion': '2', 117 'InlineFunctionExpansion': '2',
118 'EnableIntrinsicFunctions': 'true', 118 'EnableIntrinsicFunctions': 'true',
119 'EnableFunctionLevelLinking': 'true',
119 'FavorSizeOrSpeed': '0', 120 'FavorSizeOrSpeed': '0',
120 'ExceptionHandling': '0', 121 'ExceptionHandling': '0',
121 'RuntimeTypeInfo': 'false', 122 'RuntimeTypeInfo': 'false',
122 'StringPooling': 'true', 123 'StringPooling': 'true',
123 'RuntimeLibrary': '0', # /MT - Multi-threaded, static 124 'RuntimeLibrary': '0', # /MT - Multi-threaded, static
124 }, 125 },
125 'VCLinkerTool': { 126 'VCLinkerTool': {
126 'LinkIncremental': '1', 127 'LinkIncremental': '1',
127 'GenerateDebugInformation': 'true', 128 'GenerateDebugInformation': 'true',
128 'OptimizeReferences': '2', 129 'OptimizeReferences': '2',
129 'EnableCOMDATFolding': '2', 130 'EnableCOMDATFolding': '2',
130 'StackReserveSize': '2097152', 131 'StackReserveSize': '2097152',
131 'AdditionalDependencies': [ 132 'AdditionalDependencies': [
132 'advapi32.lib', 133 'advapi32.lib',
133 'shell32.lib', 134 'shell32.lib',
134 'dbghelp.lib', 135 'dbghelp.lib',
135 ], 136 ],
136 }, 137 },
137 }, 138 },
138 # C4351 warns MSVC follows the C++ specification regarding array 139 # C4351 warns MSVC follows the C++ specification regarding array
139 # initialization in member initializers. Code that expects the 140 # initialization in member initializers. Code that expects the
140 # specified behavior should silence this warning. 141 # specified behavior should silence this warning.
141 'msvs_disabled_warnings': [4351], 142 'msvs_disabled_warnings': [4351],
142 }, 143 },
143 }, 144 },
144 }, 145 },
145 } 146 }
OLDNEW
« 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