summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 12:26:40 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 12:26:40 +0000
commitcea4aecad7008758bfd22ab8af661d814f387602 (patch)
tree09c1ab11f43e5959c8a88c3c7869967eec3892eb /build/common.gypi
parent726c98651c4b2be8242f89937d1c4c6dd56f77b9 (diff)
downloadchromium_src-cea4aecad7008758bfd22ab8af661d814f387602.zip
chromium_src-cea4aecad7008758bfd22ab8af661d814f387602.tar.gz
chromium_src-cea4aecad7008758bfd22ab8af661d814f387602.tar.bz2
linux: don't define NO_HEAPCHECKER for every file
Rather than globally defining NO_HEAPCHECKER and then checking that in build_config.h, let builds that opt in to heap checking directly set USE_HEAPCHECKER. Result should be equivalent builds but less stuff in the build files. Review URL: http://codereview.chromium.org/9146022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 183e5a0..04344b6 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2046,13 +2046,11 @@
}],
['linux_use_heapchecker==1', {
'variables': {'linux_use_tcmalloc%': 1},
+ 'defines': ['USE_HEAPCHECKER'],
}],
['linux_use_tcmalloc==0', {
'defines': ['NO_TCMALLOC'],
}],
- ['linux_use_heapchecker==0', {
- 'defines': ['NO_HEAPCHECKER'],
- }],
['linux_keep_shadow_stacks==1', {
'defines': ['KEEP_SHADOW_STACKS'],
'cflags': ['-finstrument-functions'],