diff options
author | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 01:38:27 +0000 |
---|---|---|
committer | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 01:38:27 +0000 |
commit | df941499073de377532296512aad94d92b6d594e (patch) | |
tree | 5c4c75508341942fdce7e0d4d75e6422892c97ae /device | |
parent | e6e1fc29a59fcffde631d6acd2853e2c7a24cea7 (diff) | |
download | chromium_src-df941499073de377532296512aad94d92b6d594e.zip chromium_src-df941499073de377532296512aad94d92b6d594e.tar.gz chromium_src-df941499073de377532296512aad94d92b6d594e.tar.bz2 |
Make device_unittests depend on liballocator if linux_use_tcmalloc==1
Shamelessly copied from https://codereview.chromium.org/11036021/
BUG=172042
Review URL: https://chromiumcodereview.appspot.com/12040083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r-- | device/device.gyp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/device/device.gyp b/device/device.gyp index c31519f..803d846b 100644 --- a/device/device.gyp +++ b/device/device.gyp @@ -156,6 +156,15 @@ '../dbus/dbus.gyp:dbus', ] }], + ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { + 'conditions': [ + ['linux_use_tcmalloc == 1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], + }], ], }, ], |