summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-12 05:21:58 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-12 05:21:58 +0000
commit79fca46610bfd94bca136640cbc614599dcd5ec6 (patch)
tree694c862ba1f02f21c9513d115a7f2e36b5b79621 /chrome
parentd64f2a0ea7adada3e5221782e4739a9b858c53fd (diff)
downloadchromium_src-79fca46610bfd94bca136640cbc614599dcd5ec6.zip
chromium_src-79fca46610bfd94bca136640cbc614599dcd5ec6.tar.gz
chromium_src-79fca46610bfd94bca136640cbc614599dcd5ec6.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/386016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-xchrome/chrome.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 17fb8db..77999f5 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -3573,6 +3573,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.