diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 19:10:32 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 19:10:32 +0000 |
commit | 42808d199da05deda01d67a85a5f67b6ed3b31ac (patch) | |
tree | 73619acd4e586a5ce284fe414373d7e4d1e57e58 /chrome/chrome_renderer.gypi | |
parent | 928b4088744cfb820c674106ed1d58d2067fc386 (diff) | |
download | chromium_src-42808d199da05deda01d67a85a5f67b6ed3b31ac.zip chromium_src-42808d199da05deda01d67a85a5f67b6ed3b31ac.tar.gz chromium_src-42808d199da05deda01d67a85a5f67b6ed3b31ac.tar.bz2 |
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
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rwxr-xr-x | chrome/chrome_renderer.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
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', |