Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1817)

Unified Diff: build/toolchain.gypi

Issue 760213005: Turn on DCHECKs and other debugging code if dcheck_always_on is 1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updaets Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/features.gypi ('k') | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain.gypi
diff --git a/build/toolchain.gypi b/build/toolchain.gypi
index 7be54d18cfef06bf90cac7531273ce0ca828c70b..08fd248170b21d5e1e13422f14852ee2c0ab1dd1 100644
--- a/build/toolchain.gypi
+++ b/build/toolchain.gypi
@@ -903,6 +903,9 @@
},
}],
],
+ 'defines': [
+ 'ENABLE_SLOW_DCHECKS',
+ ],
}, # DebugBase0
# Abstract configuration for v8_optimized_debug == 1.
'DebugBase1': {
@@ -927,6 +930,9 @@
'LinkIncremental': '2',
},
},
+ 'defines': [
+ 'ENABLE_SLOW_DCHECKS',
+ ],
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
OS=="qnx"', {
@@ -987,9 +993,6 @@
'-fdata-sections',
'-ffunction-sections',
],
- 'defines': [
- 'OPTIMIZED_DEBUG'
- ],
'conditions': [
# TODO(crbug.com/272548): Avoid -O3 in NaCl
['nacl_target_arch=="none"', {
« no previous file with comments | « build/features.gypi ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698