| Index: tools/gyp/configurations_msvs.gypi
|
| diff --git a/tools/gyp/configurations_msvs.gypi b/tools/gyp/configurations_msvs.gypi
|
| index 5675b13ad6542ee87282f21c585825ec9aaa99c1..7fc8f624259717ac76c8b003c975d49e2417430c 100644
|
| --- a/tools/gyp/configurations_msvs.gypi
|
| +++ b/tools/gyp/configurations_msvs.gypi
|
| @@ -3,12 +3,15 @@
|
| # BSD-style license that can be found in the LICENSE file.
|
|
|
| {
|
| + 'variables': {
|
| + 'dart_debug_optimization_level%': '2',
|
| + },
|
| 'target_defaults': {
|
| 'configurations': {
|
| 'Dart_Debug': {
|
| 'msvs_settings': {
|
| 'VCCLCompilerTool': {
|
| - 'Optimization': '2',
|
| + 'Optimization': '<(dart_debug_optimization_level)',
|
| 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2
|
| 'DebugInformationFormat': '3',
|
| 'ExceptionHandling': '0',
|
|
|