summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authormmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 14:54:22 +0000
committermmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 14:54:22 +0000
commitef8f5ba5bffca6bfea249fec46c7c7419922c6a9 (patch)
tree4a1f2e8fb69f993e5cf879188165bd39483e7749 /base/base.gypi
parent15daa3231c36d75c017fe991e4492ed62356f577 (diff)
downloadchromium_src-ef8f5ba5bffca6bfea249fec46c7c7419922c6a9.zip
chromium_src-ef8f5ba5bffca6bfea249fec46c7c7419922c6a9.tar.gz
chromium_src-ef8f5ba5bffca6bfea249fec46c7c7419922c6a9.tar.bz2
Move allocator dependency to base for profiler.cc.
Fixes Linux shlib errors like: lib.target/libbase.so: undefined symbol: ProfilerStart Review URL: http://codereview.chromium.org/1576015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 967b3aae..153f827 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -383,6 +383,12 @@
},
},
],
+ [ 'linux_use_tcmalloc==1', {
+ 'dependencies': [
+ 'allocator/allocator.gyp:allocator',
+ ],
+ },
+ ],
[ 'OS == "linux"', {
'link_settings': {
'libraries': [