From 7fa20c3880bd73c19a025f86923d405c5fb04db0 Mon Sep 17 00:00:00 2001 From: "xians@google.com" Date: Fri, 5 Aug 2011 12:04:30 +0000 Subject: [PATCH] exclude both audio_device_test_api and audio_device_test_func test targets from building with chromium. Review URL: http://webrtc-codereview.appspot.com/97006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@308 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../audio_device/main/source/audio_device.gyp | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/modules/audio_device/main/source/audio_device.gyp b/src/modules/audio_device/main/source/audio_device.gyp index 1dc091229d..a97e963c67 100644 --- a/src/modules/audio_device/main/source/audio_device.gyp +++ b/src/modules/audio_device/main/source/audio_device.gyp @@ -170,13 +170,15 @@ }], ] # conditions }, - { - # Exclude the test targets when building with chromium. - 'conditions': [ - ['build_with_chromium==0', { - 'target_name': 'audio_device_test_api', - 'type': 'executable', - 'dependencies': [ + ], + # Exclude the test targets when building with chromium. + 'conditions': [ + ['build_with_chromium==0', { + 'targets': [ + { + 'target_name': 'audio_device_test_api', + 'type': 'executable', + 'dependencies': [ 'audio_device', '../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers', '../../../utility/source/utility.gyp:webrtc_utility', @@ -201,9 +203,9 @@ '../test/func_test_manager.cc', '../test/func_test_manager.h', ], - }], + }, ], - }, + }], ], }