summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 19:21:22 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 19:21:22 +0000
commitb8b14be5e64a4193009a5736b38aa41c979da267 (patch)
treec37cebccb291bfd692ad5548149da33d4f45f6f5 /gpu
parent999fa4c369c97031037b315ced2f080e42f67ac6 (diff)
downloadchromium_src-b8b14be5e64a4193009a5736b38aa41c979da267.zip
chromium_src-b8b14be5e64a4193009a5736b38aa41c979da267.tar.gz
chromium_src-b8b14be5e64a4193009a5736b38aa41c979da267.tar.bz2
Add allocator.gyp target to gpu_unittests to fix heapcheck build
BUG=241938 R=piman@chromium.org Review URL: https://codereview.chromium.org/16360018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/gpu.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index 9c72995..026aad5 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -228,6 +228,12 @@
'../testing/android/native_test.gyp:native_test_native_code',
],
}],
+ # See http://crbug.com/162998#c4 for why this is needed.
+ ['OS=="linux" and linux_use_tcmalloc==1', {
+ 'dependencies': [
+ '../base/allocator/allocator.gyp:allocator',
+ ],
+ }],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],