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
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': [