diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-24 12:26:40 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-24 12:26:40 +0000 |
commit | cea4aecad7008758bfd22ab8af661d814f387602 (patch) | |
tree | 09c1ab11f43e5959c8a88c3c7869967eec3892eb /build/build_config.h | |
parent | 726c98651c4b2be8242f89937d1c4c6dd56f77b9 (diff) | |
download | chromium_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/build_config.h')
-rw-r--r-- | build/build_config.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/build/build_config.h b/build/build_config.h index 97b0b5a..7784bb6 100644 --- a/build/build_config.h +++ b/build/build_config.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -71,11 +71,6 @@ #define USE_TCMALLOC 1 #endif -// Use heapchecker. -#if defined(OS_LINUX) && !defined(NO_HEAPCHECKER) -#define USE_HEAPCHECKER 1 -#endif - // Compiler detection. #if defined(__GNUC__) #define COMPILER_GCC 1 |