Index: build/toolchain.gypi |
diff --git a/build/toolchain.gypi b/build/toolchain.gypi |
index 8227fbf8e03e6808d2cf39b12a2b1aeb04cf0a90..80856ce784c27f7434f47f9738a1d2bac4939b52 100644 |
--- a/build/toolchain.gypi |
+++ b/build/toolchain.gypi |
@@ -917,60 +917,6 @@ |
'abstract': 1, |
'msvs_settings': { |
'VCCLCompilerTool': { |
- 'Optimization': '1', |
- 'InlineFunctionExpansion': '2', |
- 'EnableIntrinsicFunctions': 'true', |
- 'FavorSizeOrSpeed': '0', |
- 'StringPooling': 'true', |
- 'BasicRuntimeChecks': '0', |
- 'conditions': [ |
- ['component=="shared_library"', { |
- 'RuntimeLibrary': '3', # /MDd |
- }, { |
- 'RuntimeLibrary': '1', # /MTd |
- }], |
- ], |
- }, |
- 'VCLinkerTool': { |
- 'LinkIncremental': '2', |
- }, |
- }, |
- 'variables': { |
- 'v8_enable_slow_dchecks%': 1, |
- }, |
- 'conditions': [ |
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \ |
- OS=="qnx"', { |
- 'cflags!': [ |
- '-O0', |
- '-O3', # TODO(2807) should be -O1. |
- '-O2', |
- '-Os', |
- ], |
- 'cflags': [ |
- '-fdata-sections', |
- '-ffunction-sections', |
- '-O1', # TODO(2807) should be -O3. |
- ], |
- }], |
- ['OS=="mac"', { |
- 'xcode_settings': { |
- 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 |
- 'GCC_STRICT_ALIASING': 'YES', |
- }, |
- }], |
- ['v8_enable_slow_dchecks==1', { |
- 'defines': [ |
- 'ENABLE_SLOW_DCHECKS', |
- ], |
- }], |
- ], |
- }, # DebugBase1 |
- # Abstract configuration for v8_optimized_debug == 2. |
- 'DebugBase2': { |
- 'abstract': 1, |
- 'msvs_settings': { |
- 'VCCLCompilerTool': { |
'Optimization': '2', |
'InlineFunctionExpansion': '2', |
'EnableIntrinsicFunctions': 'true', |
@@ -1029,7 +975,7 @@ |
], |
}], |
], |
- }, # DebugBase2 |
+ }, # DebugBase1 |
# Common settings for the Debug configuration. |
'DebugBaseCommon': { |
'abstract': 1, |
@@ -1072,13 +1018,9 @@ |
'conditions': [ |
['v8_optimized_debug==0', { |
'inherit_from': ['DebugBase0'], |
- }], |
- ['v8_optimized_debug==1', { |
+ }, { |
'inherit_from': ['DebugBase1'], |
}], |
- ['v8_optimized_debug==2', { |
- 'inherit_from': ['DebugBase2'], |
- }], |
], |
}, # Debug |
'Release': { |