summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-19 14:57:07 -0800
committerLei Zhang <thestig@chromium.org>2016-02-19 14:57:07 -0800
commitae85f87266abee649fe8f202515bba4590196711 (patch)
treea2d1cb3fabc33921a9e11c1b99f87ae7a2f04ef8 /build/standalone.gypi
parent052a8d963af8bb186b956057763021624332c7a8 (diff)
downloadpdfium-ae85f87266abee649fe8f202515bba4590196711.tar.xz
Define _DEBUG for debug builds.
Otherwise ASSERT() is useless. BUG=pdfium:136 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1712053003 .
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r--build/standalone.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index f118e3003e..364c8d86f9 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -82,6 +82,7 @@
'-fdata-sections',
'-ffunction-sections',
],
+ 'defines': ['_DEBUG=1',],
'msvs_settings': {
'VCCLCompilerTool': {
'Optimization': '0',