| 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 21 matching lines...) Expand all Loading... |
| 32 }, | 32 }, |
| 33 'Dart_Win_Debug': { | 33 'Dart_Win_Debug': { |
| 34 'abstract': 1, | 34 'abstract': 1, |
| 35 'msvs_settings': { | 35 'msvs_settings': { |
| 36 'VCCLCompilerTool': { | 36 'VCCLCompilerTool': { |
| 37 'Optimization': '<(dart_debug_optimization_level)', | 37 'Optimization': '<(dart_debug_optimization_level)', |
| 38 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | 38 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 |
| 39 'DebugInformationFormat': '3', | 39 'DebugInformationFormat': '3', |
| 40 'ExceptionHandling': '0', | 40 'ExceptionHandling': '0', |
| 41 'RuntimeTypeInfo': 'false', | 41 'RuntimeTypeInfo': 'false', |
| 42 'OmitFramePointers': 'false', | 42 # Uncomment the following line and pass --profile-vm to enable |
| 43 # profiling of C++ code within Observatory. |
| 44 # 'OmitFramePointers': 'false', |
| 43 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) | 45 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) |
| 44 }, | 46 }, |
| 45 'VCLinkerTool': { | 47 'VCLinkerTool': { |
| 46 'LinkIncremental': '2', | 48 'LinkIncremental': '2', |
| 47 'GenerateDebugInformation': 'true', | 49 'GenerateDebugInformation': 'true', |
| 48 'StackReserveSize': '2097152', | 50 'StackReserveSize': '2097152', |
| 49 'AdditionalDependencies': [ | 51 'AdditionalDependencies': [ |
| 50 'advapi32.lib', | 52 'advapi32.lib', |
| 51 'shell32.lib', | 53 'shell32.lib', |
| 52 'dbghelp.lib', | 54 'dbghelp.lib', |
| 53 ], | 55 ], |
| 54 }, | 56 }, |
| 55 }, | 57 }, |
| 56 # C4351 warns MSVC follows the C++ specification regarding array | 58 # C4351 warns MSVC follows the C++ specification regarding array |
| 57 # initialization in member initializers. Code that expects the | 59 # initialization in member initializers. Code that expects the |
| 58 # specified behavior should silence this warning. | 60 # specified behavior should silence this warning. |
| 59 'msvs_disabled_warnings': [4351], | 61 'msvs_disabled_warnings': [4351], |
| 60 }, | 62 }, |
| 61 | 63 |
| 62 'Dart_Win_Release': { | 64 'Dart_Win_Release': { |
| 63 'abstract': 1, | 65 'abstract': 1, |
| 64 'msvs_settings': { | 66 'msvs_settings': { |
| 65 'VCCLCompilerTool': { | 67 'VCCLCompilerTool': { |
| 66 'Optimization': '2', | 68 'Optimization': '2', |
| 67 'InlineFunctionExpansion': '2', | 69 'InlineFunctionExpansion': '2', |
| 68 'EnableIntrinsicFunctions': 'true', | 70 'EnableIntrinsicFunctions': 'true', |
| 69 'FavorSizeOrSpeed': '0', | 71 'FavorSizeOrSpeed': '0', |
| 70 'ExceptionHandling': '0', | 72 'ExceptionHandling': '0', |
| 71 'RuntimeTypeInfo': 'false', | 73 'RuntimeTypeInfo': 'false', |
| 72 'OmitFramePointers': 'false', | 74 # Uncomment the following line and pass --profile-vm to enable |
| 75 # profiling of C++ code within Observatory. |
| 76 # 'OmitFramePointers': 'false', |
| 73 'StringPooling': 'true', | 77 'StringPooling': 'true', |
| 74 'RuntimeLibrary': '0', # /MT - Multi-threaded, static | 78 'RuntimeLibrary': '0', # /MT - Multi-threaded, static |
| 75 }, | 79 }, |
| 76 'VCLinkerTool': { | 80 'VCLinkerTool': { |
| 77 'LinkIncremental': '1', | 81 'LinkIncremental': '1', |
| 78 'GenerateDebugInformation': 'true', | 82 'GenerateDebugInformation': 'true', |
| 79 'OptimizeReferences': '2', | 83 'OptimizeReferences': '2', |
| 80 'EnableCOMDATFolding': '2', | 84 'EnableCOMDATFolding': '2', |
| 81 'StackReserveSize': '2097152', | 85 'StackReserveSize': '2097152', |
| 82 'AdditionalDependencies': [ | 86 'AdditionalDependencies': [ |
| 83 'advapi32.lib', | 87 'advapi32.lib', |
| 84 'shell32.lib', | 88 'shell32.lib', |
| 85 'dbghelp.lib', | 89 'dbghelp.lib', |
| 86 ], | 90 ], |
| 87 }, | 91 }, |
| 88 }, | 92 }, |
| 89 # C4351 warns MSVC follows the C++ specification regarding array | 93 # C4351 warns MSVC follows the C++ specification regarding array |
| 90 # initialization in member initializers. Code that expects the | 94 # initialization in member initializers. Code that expects the |
| 91 # specified behavior should silence this warning. | 95 # specified behavior should silence this warning. |
| 92 'msvs_disabled_warnings': [4351], | 96 'msvs_disabled_warnings': [4351], |
| 93 }, | 97 }, |
| 94 }, | 98 }, |
| 95 }, | 99 }, |
| 96 } | 100 } |
| OLD | NEW |