Revert "Enabled true debug mode"

This reverts commit df90fb7f75.
This commit is contained in:
Kevin Sawicki 2017-07-17 10:05:12 -07:00
parent 0298f9e00a
commit fa7c006a3d
2 changed files with 4 additions and 20 deletions

View file

@ -92,6 +92,8 @@
'Common_Base': { 'Common_Base': {
'abstract': 1, 'abstract': 1,
'defines': [ 'defines': [
# We are using Release version libchromiumcontent:
'NDEBUG',
# Needed by gin: # Needed by gin:
'V8_USE_EXTERNAL_STARTUP_DATA', 'V8_USE_EXTERNAL_STARTUP_DATA',
# From skia_for_chromium_defines.gypi: # From skia_for_chromium_defines.gypi:
@ -187,7 +189,6 @@
# Use this instead of "NDEBUG" to determine whether we are in # Use this instead of "NDEBUG" to determine whether we are in
# Debug build, because "NDEBUG" is already used by Chromium. # Debug build, because "NDEBUG" is already used by Chromium.
'DEBUG', 'DEBUG',
'_DEBUG',
# Require when using libchromiumcontent. # Require when using libchromiumcontent.
'COMPONENT_BUILD', 'COMPONENT_BUILD',
'GURL_DLL', 'GURL_DLL',
@ -197,32 +198,15 @@
], ],
'msvs_settings': { 'msvs_settings': {
'VCCLCompilerTool': { 'VCCLCompilerTool': {
'RuntimeLibrary': '3', # /MDd (debug DLL) 'RuntimeLibrary': '2', # /MD (nondebug DLL)
'Optimization': '0', # 0 = /Od 'Optimization': '0', # 0 = /Od
# See http://msdn.microsoft.com/en-us/library/8wtf2dfz(VS.71).aspx # See http://msdn.microsoft.com/en-us/library/8wtf2dfz(VS.71).aspx
'BasicRuntimeChecks': '3', # 3 = all checks enabled, 0 = off 'BasicRuntimeChecks': '3', # 3 = all checks enabled, 0 = off
}, },
'VCLinkerTool': {
'OptimizeReferences': 2, # /OPT:REF
'EnableCOMDATFolding': 2, # /OPT:ICF
}, },
},
'conditions': [
['OS=="linux"', {
'defines': [
'_GLIBCXX_DEBUG',
],
'cflags': [
'-g',
],
}], # OS=="linux"
],
}, # Debug_Base }, # Debug_Base
'Release_Base': { 'Release_Base': {
'abstract': 1, 'abstract': 1,
'defines': [
'NDEBUG',
],
'msvs_settings': { 'msvs_settings': {
'VCCLCompilerTool': { 'VCCLCompilerTool': {
'RuntimeLibrary': '2', # /MD (nondebug DLL) 'RuntimeLibrary': '2', # /MD (nondebug DLL)

@ -1 +1 @@
Subproject commit 7d889fde3b5c7083c554675c97142547d7605057 Subproject commit 8cfd08f84e415f3c8e5fde061f8e17400ef8aa7f