summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-10 12:06:15 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-10 12:06:15 +0000
commitd9df2b506576b67796d44c024119b05b679658ca (patch)
tree2cf0e1041f8d34df3deba39b73adafa4776e6f5c /net
parent0edc4631ede0fe4cbc36b075249ea1fdeb4d9493 (diff)
downloadchromium_src-d9df2b506576b67796d44c024119b05b679658ca.zip
chromium_src-d9df2b506576b67796d44c024119b05b679658ca.tar.gz
chromium_src-d9df2b506576b67796d44c024119b05b679658ca.tar.bz2
Link the following tests against tcmalloc:
app_unittests browser_tests startup_tests media_unittests printing_unittests net_unittests googleurl_unittests ipc_tests unit_tests ui_tests This patch was originally reviewed as http://codereview.chromium.org/466089 TBR=willchan Review URL: http://codereview.chromium.org/488004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/net.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index f5adb65..3f12c697 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -686,6 +686,15 @@
],
},
],
+ ['OS == "linux" or OS == "freebsd"', {
+ 'conditions': [
+ ['linux_use_tcmalloc==1', {
+ 'dependencies': [
+ '../base/allocator/allocator.gyp:allocator',
+ ],
+ }],
+ ],
+ }],
[ 'OS == "mac"', {
'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
},