OLD | NEW |
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': { |
11 'Dart_Debug': { | 11 'Dart_Debug': { |
12 'msvs_settings': { | 12 'msvs_settings': { |
13 'VCCLCompilerTool': { | 13 'VCCLCompilerTool': { |
14 'Optimization': '<(dart_debug_optimization_level)', | 14 'Optimization': '<(dart_debug_optimization_level)', |
15 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | 15 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 |
16 'DebugInformationFormat': '3', | 16 'DebugInformationFormat': '3', |
17 'ExceptionHandling': '0', | 17 'ExceptionHandling': '0', |
18 'RuntimeTypeInfo': 'false', | 18 'RuntimeTypeInfo': 'false', |
19 'OmitFramePointers': 'false', | 19 'OmitFramePointers': 'false', |
20 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) | 20 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) |
21 }, | 21 }, |
22 'VCLinkerTool': { | 22 'VCLinkerTool': { |
23 'LinkIncremental': '2', | 23 'LinkIncremental': '2', |
24 'GenerateDebugInformation': 'true', | 24 'GenerateDebugInformation': 'true', |
25 'StackReserveSize': '2097152', | 25 'StackReserveSize': '2097152', |
26 'AdditionalDependencies': [ | 26 'AdditionalDependencies': [ |
27 'advapi32.lib', | 27 'advapi32.lib', |
28 'shell32.lib', | 28 'shell32.lib', |
| 29 'dbghelp.lib', |
29 ], | 30 ], |
30 }, | 31 }, |
31 }, | 32 }, |
32 # C4351 warns MSVC follows the C++ specification regarding array | 33 # C4351 warns MSVC follows the C++ specification regarding array |
33 # initialization in member initializers. Code that expects the | 34 # initialization in member initializers. Code that expects the |
34 # specified behavior should silence this warning. | 35 # specified behavior should silence this warning. |
35 'msvs_disabled_warnings': [4351], | 36 'msvs_disabled_warnings': [4351], |
36 }, | 37 }, |
37 | 38 |
38 'Dart_Release': { | 39 'Dart_Release': { |
(...skipping 11 matching lines...) Expand all Loading... |
50 }, | 51 }, |
51 'VCLinkerTool': { | 52 'VCLinkerTool': { |
52 'LinkIncremental': '1', | 53 'LinkIncremental': '1', |
53 'GenerateDebugInformation': 'true', | 54 'GenerateDebugInformation': 'true', |
54 'OptimizeReferences': '2', | 55 'OptimizeReferences': '2', |
55 'EnableCOMDATFolding': '2', | 56 'EnableCOMDATFolding': '2', |
56 'StackReserveSize': '2097152', | 57 'StackReserveSize': '2097152', |
57 'AdditionalDependencies': [ | 58 'AdditionalDependencies': [ |
58 'advapi32.lib', | 59 'advapi32.lib', |
59 'shell32.lib', | 60 'shell32.lib', |
| 61 'dbghelp.lib', |
60 ], | 62 ], |
61 }, | 63 }, |
62 }, | 64 }, |
63 # C4351 warns MSVC follows the C++ specification regarding array | 65 # C4351 warns MSVC follows the C++ specification regarding array |
64 # initialization in member initializers. Code that expects the | 66 # initialization in member initializers. Code that expects the |
65 # specified behavior should silence this warning. | 67 # specified behavior should silence this warning. |
66 'msvs_disabled_warnings': [4351], | 68 'msvs_disabled_warnings': [4351], |
67 }, | 69 }, |
68 }, | 70 }, |
69 'defines': [ | 71 'defines': [ |
70 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. | 72 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. |
71 ], | 73 ], |
72 }, | 74 }, |
73 } | 75 } |
OLD | NEW |