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': { |
(...skipping 24 matching lines...) Expand all Loading... |
35 }, | 35 }, |
36 'Dart_Win_Debug': { | 36 'Dart_Win_Debug': { |
37 'abstract': 1, | 37 'abstract': 1, |
38 'msvs_settings': { | 38 'msvs_settings': { |
39 'VCCLCompilerTool': { | 39 'VCCLCompilerTool': { |
40 'Optimization': '<(dart_debug_optimization_level)', | 40 'Optimization': '<(dart_debug_optimization_level)', |
41 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | 41 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 |
42 'DebugInformationFormat': '3', | 42 'DebugInformationFormat': '3', |
43 'ExceptionHandling': '0', | 43 'ExceptionHandling': '0', |
44 'RuntimeTypeInfo': 'false', | 44 'RuntimeTypeInfo': 'false', |
| 45 'OmitFramePointers': 'false', |
45 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) | 46 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) |
46 }, | 47 }, |
47 'VCLinkerTool': { | 48 'VCLinkerTool': { |
48 'LinkIncremental': '2', | 49 'LinkIncremental': '2', |
49 'GenerateDebugInformation': 'true', | 50 'GenerateDebugInformation': 'true', |
50 'StackReserveSize': '2097152', | 51 'StackReserveSize': '2097152', |
51 'AdditionalDependencies': [ | 52 'AdditionalDependencies': [ |
52 'advapi32.lib', | 53 'advapi32.lib', |
53 'shell32.lib', | 54 'shell32.lib', |
54 'dbghelp.lib', | 55 'dbghelp.lib', |
55 ], | 56 ], |
56 }, | 57 }, |
57 }, | 58 }, |
58 'conditions': [ | 59 'conditions': [ |
59 ['c_frame_pointers==1', { | 60 ['c_frame_pointers==1', { |
60 'msvs_settings': { | 61 'msvs_settings': { |
61 'VCCLCompilerTool': { | 62 'VCCLCompilerTool': { |
62 'OmitFramePointers': 'false', | |
63 }, | 63 }, |
64 }, | 64 }, |
65 'defines': [ | 65 'defines': [ |
66 'PROFILE_NATIVE_CODE' | 66 'PROFILE_NATIVE_CODE' |
67 ], | 67 ], |
68 }], | 68 }], |
69 ], | 69 ], |
70 # C4351 warns MSVC follows the C++ specification regarding array | 70 # C4351 warns MSVC follows the C++ specification regarding array |
71 # initialization in member initializers. Code that expects the | 71 # initialization in member initializers. Code that expects the |
72 # specified behavior should silence this warning. | 72 # specified behavior should silence this warning. |
73 'msvs_disabled_warnings': [4351], | 73 'msvs_disabled_warnings': [4351], |
74 }, | 74 }, |
75 | 75 |
76 'Dart_Win_Release': { | 76 'Dart_Win_Release': { |
77 'abstract': 1, | 77 'abstract': 1, |
78 'msvs_settings': { | 78 'msvs_settings': { |
79 'VCCLCompilerTool': { | 79 'VCCLCompilerTool': { |
80 'Optimization': '2', | 80 'Optimization': '2', |
81 'InlineFunctionExpansion': '2', | 81 'InlineFunctionExpansion': '2', |
82 'EnableIntrinsicFunctions': 'true', | 82 'EnableIntrinsicFunctions': 'true', |
83 'FavorSizeOrSpeed': '0', | 83 'FavorSizeOrSpeed': '0', |
84 'ExceptionHandling': '0', | 84 'ExceptionHandling': '0', |
85 'RuntimeTypeInfo': 'false', | 85 'RuntimeTypeInfo': 'false', |
86 'StringPooling': 'true', | 86 'StringPooling': 'true', |
| 87 'OmitFramePointers': 'false', |
87 'RuntimeLibrary': '0', # /MT - Multi-threaded, static | 88 'RuntimeLibrary': '0', # /MT - Multi-threaded, static |
88 }, | 89 }, |
89 'VCLinkerTool': { | 90 'VCLinkerTool': { |
90 'LinkIncremental': '1', | 91 'LinkIncremental': '1', |
91 'GenerateDebugInformation': 'true', | 92 'GenerateDebugInformation': 'true', |
92 'OptimizeReferences': '2', | 93 'OptimizeReferences': '2', |
93 'EnableCOMDATFolding': '2', | 94 'EnableCOMDATFolding': '2', |
94 'StackReserveSize': '2097152', | 95 'StackReserveSize': '2097152', |
95 'AdditionalDependencies': [ | 96 'AdditionalDependencies': [ |
96 'advapi32.lib', | 97 'advapi32.lib', |
97 'shell32.lib', | 98 'shell32.lib', |
98 'dbghelp.lib', | 99 'dbghelp.lib', |
99 ], | 100 ], |
100 }, | 101 }, |
101 }, | 102 }, |
102 'conditions': [ | 103 'conditions': [ |
103 ['c_frame_pointers==1', { | 104 ['c_frame_pointers==1', { |
104 'msvs_settings': { | 105 'msvs_settings': { |
105 'VCCLCompilerTool': { | 106 'VCCLCompilerTool': { |
106 'OmitFramePointers': 'false', | |
107 }, | 107 }, |
108 }, | 108 }, |
109 'defines': [ | 109 'defines': [ |
110 'PROFILE_NATIVE_CODE' | 110 'PROFILE_NATIVE_CODE' |
111 ], | 111 ], |
112 }], | 112 }], |
113 ], | 113 ], |
114 # C4351 warns MSVC follows the C++ specification regarding array | 114 # C4351 warns MSVC follows the C++ specification regarding array |
115 # initialization in member initializers. Code that expects the | 115 # initialization in member initializers. Code that expects the |
116 # specified behavior should silence this warning. | 116 # specified behavior should silence this warning. |
117 'msvs_disabled_warnings': [4351], | 117 'msvs_disabled_warnings': [4351], |
118 }, | 118 }, |
119 }, | 119 }, |
120 }, | 120 }, |
121 } | 121 } |
OLD | NEW |