summaryrefslogtreecommitdiffstats
path: root/printing
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 /printing
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 'printing')
-rw-r--r--printing/printing.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index b483f0b..3f48ef7 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -112,6 +112,15 @@
'../build/linux/system.gyp:gtk',
],
}],
+ ['OS=="linux" or OS=="freebsd"', {
+ 'conditions': [
+ ['linux_use_tcmalloc==1', {
+ 'dependencies': [
+ '../base/allocator/allocator.gyp:allocator',
+ ],
+ }],
+ ],
+ }],
],
},
],