From 42808d199da05deda01d67a85a5f67b6ed3b31ac Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Fri, 12 Mar 2010 19:10:32 +0000 Subject: Enable TCMalloc on Linux by default. BUG=36687 Review URL: http://codereview.chromium.org/854005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41457 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_renderer.gypi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chrome/chrome_renderer.gypi') diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi index a9eb009..e955f92 100755 --- a/chrome/chrome_renderer.gypi +++ b/chrome/chrome_renderer.gypi @@ -184,6 +184,14 @@ }], # Linux-specific rules. ['OS=="linux"', { + 'conditions': [ + [ 'linux_use_tcmalloc==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }, + ], + ], 'dependencies': [ '../build/linux/system.gyp:gtk', '../sandbox/sandbox.gyp:sandbox', -- cgit v1.1