summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 14:26:56 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 14:26:56 +0000
commit92822e856b7dd7225a694268b7ad233a2acb1f8c (patch)
treeba2034839bc3945b7a9f35fef3a477e677e351b1 /build/common.gypi
parente8adfc9413d158321fc8fe047166d806a7d52074 (diff)
downloadchromium_src-92822e856b7dd7225a694268b7ad233a2acb1f8c.zip
chromium_src-92822e856b7dd7225a694268b7ad233a2acb1f8c.tar.gz
chromium_src-92822e856b7dd7225a694268b7ad233a2acb1f8c.tar.bz2
Re-applying build/common.gypi patch from http://codereview.chromium.org/195078
The previous patch was reverted until buildbot master was restarted. After the restart, GYP_DEFINES contains "release_valgrind_build=1" http://build.chromium.org/buildbot/waterfall/builders/Chromium Linux Builder (valgrind)/builds/2/steps/gclient/logs/stdio Review URL: http://codereview.chromium.org/196140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index af7c3fd..78c62ad 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -207,6 +207,7 @@
'mac_debug_optimization%': '0', # Use -O0 unless overridden
'release_extra_cflags%': '',
'debug_extra_cflags%': '',
+ 'release_valgrind_build%': 0,
},
'conditions': [
['branding=="Chrome"', {
@@ -318,6 +319,9 @@
'OTHER_CFLAGS': [ '<@(release_extra_cflags)', ],
},
'conditions': [
+ ['release_valgrind_build==0', {
+ 'defines': ['NVALGRIND'],
+ }],
[ 'OS=="win" and msvs_use_common_release', {
'msvs_props': ['release.vsprops'],
}],