Enabled true debug mode
This commit is contained in:
parent
a43553aa25
commit
df90fb7f75
2 changed files with 20 additions and 4 deletions
|
@ -92,8 +92,6 @@
|
||||||
'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:
|
||||||
|
@ -189,6 +187,7 @@
|
||||||
# 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',
|
||||||
|
@ -198,15 +197,32 @@
|
||||||
],
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCCLCompilerTool': {
|
'VCCLCompilerTool': {
|
||||||
'RuntimeLibrary': '2', # /MD (nondebug DLL)
|
'RuntimeLibrary': '3', # /MDd (debug 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)
|
||||||
|
|
2
vendor/libchromiumcontent
vendored
2
vendor/libchromiumcontent
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 8cfd08f84e415f3c8e5fde061f8e17400ef8aa7f
|
Subproject commit 7d889fde3b5c7083c554675c97142547d7605057
|
Loading…
Reference in a new issue