summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 06:31:44 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 06:31:44 +0000
commitedcca49267770144ca98eb056278a8c45330e8a5 (patch)
treebe111a4bee34bd07c3b4b8316604828036418032 /chrome/chrome.gyp
parent5299cb97b9f7a9e7fdf4eecda57be21de34c11cf (diff)
downloadchromium_src-edcca49267770144ca98eb056278a8c45330e8a5.zip
chromium_src-edcca49267770144ca98eb056278a8c45330e8a5.tar.gz
chromium_src-edcca49267770144ca98eb056278a8c45330e8a5.tar.bz2
Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler. TBR=willchan Review URL: http://codereview.chromium.org/403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rwxr-xr-xchrome/chrome.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 4b3b096..2da3418 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -3583,6 +3583,14 @@
'message': 'Generating manpage'
},
],
+ 'conditions': [
+ [ 'linux_use_tcmalloc==1', {
+ 'dependencies': [
+ '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc',
+ ],
+ },
+ ],
+ ],
'dependencies': [
# On Linux, link the dependencies (libraries) that make up actual
# Chromium functionality directly into the executable.