summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'],
}],