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

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

Issue 10832125: Make the debug optimization level configurable through a variable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gyp/configurations_make.gypi ('k') | tools/gyp/configurations_xcode.gypi » ('j') | 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': {
7 'dart_debug_optimization_level%': '2',
8 },
6 'target_defaults': { 9 'target_defaults': {
7 'configurations': { 10 'configurations': {
8 'Dart_Debug': { 11 'Dart_Debug': {
9 'msvs_settings': { 12 'msvs_settings': {
10 'VCCLCompilerTool': { 13 'VCCLCompilerTool': {
11 'Optimization': '2', 14 'Optimization': '<(dart_debug_optimization_level)',
12 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 15 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2
13 'DebugInformationFormat': '3', 16 'DebugInformationFormat': '3',
14 'ExceptionHandling': '0', 17 'ExceptionHandling': '0',
15 'RuntimeTypeInfo': 'false', 18 'RuntimeTypeInfo': 'false',
16 'OmitFramePointers': 'false', 19 'OmitFramePointers': 'false',
17 }, 20 },
18 'VCLinkerTool': { 21 'VCLinkerTool': {
19 'LinkIncremental': '2', 22 'LinkIncremental': '2',
20 'GenerateDebugInformation': 'true', 23 'GenerateDebugInformation': 'true',
21 'StackReserveSize': '2097152', 24 'StackReserveSize': '2097152',
(...skipping 18 matching lines...) Expand all
40 'GenerateDebugInformation': 'true', 43 'GenerateDebugInformation': 'true',
41 'OptimizeReferences': '2', 44 'OptimizeReferences': '2',
42 'EnableCOMDATFolding': '2', 45 'EnableCOMDATFolding': '2',
43 'StackReserveSize': '2097152', 46 'StackReserveSize': '2097152',
44 }, 47 },
45 }, 48 },
46 }, 49 },
47 }, 50 },
48 }, 51 },
49 } 52 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations_make.gypi ('k') | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698