From 79fca46610bfd94bca136640cbc614599dcd5ec6 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Thu, 12 Nov 2009 05:21:58 +0000 Subject: 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 --- chrome/chrome.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chrome') 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. -- cgit v1.1