diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-04 11:24:48 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-04 11:24:48 +0000 |
commit | 2542a68cd510de5a4d5c45262da608f3640b219d (patch) | |
tree | 8223de3d6d4c047185f55ed952bc37efbafb9567 /chrome/chrome_tests.gypi | |
parent | 90026ace35b286c547a36c8a2e7ece27720d58d4 (diff) | |
download | chromium_src-2542a68cd510de5a4d5c45262da608f3640b219d.zip chromium_src-2542a68cd510de5a4d5c45262da608f3640b219d.tar.gz chromium_src-2542a68cd510de5a4d5c45262da608f3640b219d.tar.bz2 |
Fix perf_tests build on debug version for ChromeOS.
Currently it fails to link against tcmalloc.
Similarly as other tests, it needs to link allocator if specified to do so.
BUG=none
TEST=Verify the following build steps succeed.
$ GYP_DEFINES='chromeos=1' GYP_GENERATOR_FLAGS='config=Debug' GYP_GENERATORS='ninja' gclient runhooks
$ ninja -c out/Debug perf_tests
Review URL: https://chromiumcodereview.appspot.com/9959007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 095cb17..d4c00c6 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -4310,6 +4310,15 @@ '../ui/views/views.gyp:views', ], }], + ['os_posix == 1 and OS != "mac"', { + 'conditions': [ + ['linux_use_tcmalloc==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], + }], ], }, ], |