summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-15 13:17:40 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-15 13:17:40 +0000
commit4a5e778355c2b05cccbd8e7aca129f199de5e001 (patch)
treec22b3dc901b604900548f3e82c3a4ef7bb66eca3 /build
parentdb5e9e77c62b4683b7a5b790aea1b996a1208727 (diff)
downloadchromium_src-4a5e778355c2b05cccbd8e7aca129f199de5e001.zip
chromium_src-4a5e778355c2b05cccbd8e7aca129f199de5e001.tar.gz
chromium_src-4a5e778355c2b05cccbd8e7aca129f199de5e001.tar.bz2
improve layout tests by removing definition of DEBUG (libxml uses it to spew diagnostic output to stderr)
Review URL: http://codereview.chromium.org/7149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/debug.xcconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/debug.xcconfig b/build/debug.xcconfig
index bddcd4b..d9ceb839 100644
--- a/build/debug.xcconfig
+++ b/build/debug.xcconfig
@@ -6,7 +6,10 @@
COPY_PHASE_STRIP = NO
GCC_OPTIMIZATION_LEVEL = 0
-GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG
+// Would be nice to define DEBUG to prevent against people incorrectly using
+// it intstead of !NDEBUG, but it causes libxml to spew diagnostic info all
+// over our layout tests.
+// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG
// Additional libc++ strictness; disabled because they break some things in
// WebKit and some additional things when building with gcc 4.2.
// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG _GLIBCXX_CONCEPT_CHECKS _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC