From 593c3a086872c18e1296a61ce112497f56cb0827 Mon Sep 17 00:00:00 2001 From: "henrike@webrtc.org" Date: Wed, 1 Oct 2014 16:33:03 +0000 Subject: [PATCH] rtc_unittest: turned sound's test gyp into gypi to speed up GYP generation. BUG=N/A R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/29629004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7358 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/sound/rtc_sound_unittest.isolate | 25 ------------------- .../{sound_tests.gyp => sound_tests.gypi} | 2 +- webrtc/webrtc.gyp | 2 +- webrtc/webrtc_tests.gypi | 2 +- 4 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 webrtc/sound/rtc_sound_unittest.isolate rename webrtc/sound/{sound_tests.gyp => sound_tests.gypi} (99%) diff --git a/webrtc/sound/rtc_sound_unittest.isolate b/webrtc/sound/rtc_sound_unittest.isolate deleted file mode 100644 index 38a2acb19a..0000000000 --- a/webrtc/sound/rtc_sound_unittest.isolate +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. -# -# Use of this source code is governed by a BSD-style license -# that can be found in the LICENSE file in the root of the source -# tree. An additional intellectual property rights grant can be found -# in the file PATENTS. All contributing project authors may -# be found in the AUTHORS file in the root of the source tree. - -{ - 'conditions': [ - ['OS=="linux" or OS=="mac" or OS=="win"', { - 'variables': { - 'command': [ - '<(PRODUCT_DIR)/rtc_sound_unittest<(EXECUTABLE_SUFFIX)', - ], - 'isolate_dependency_tracked': [ - '<(PRODUCT_DIR)/rtc_sound_unittest<(EXECUTABLE_SUFFIX)', - ], - 'isolate_dependency_untracked': [ - '<(DEPTH)/tools/swarming_client/', - ], - }, - }], - ], -} diff --git a/webrtc/sound/sound_tests.gyp b/webrtc/sound/sound_tests.gypi similarity index 99% rename from webrtc/sound/sound_tests.gyp rename to webrtc/sound/sound_tests.gypi index fbbb410592..a0713c3139 100644 --- a/webrtc/sound/sound_tests.gyp +++ b/webrtc/sound/sound_tests.gypi @@ -20,4 +20,4 @@ }, ], } - + diff --git a/webrtc/webrtc.gyp b/webrtc/webrtc.gyp index dee366ced4..2d2dc04678 100644 --- a/webrtc/webrtc.gyp +++ b/webrtc/webrtc.gyp @@ -9,6 +9,7 @@ 'conditions': [ ['include_tests==1', { 'includes': [ + 'sound/sound_tests.gypi', 'webrtc_tests.gypi', ], }], @@ -45,7 +46,6 @@ 'dependencies': [ 'common_video/common_video_unittests.gyp:*', 'libjingle/xmllite/xmllite_tests.gyp:*', - 'sound/sound_tests.gyp:*', 'system_wrappers/source/system_wrappers_tests.gyp:*', 'test/metrics.gyp:*', 'test/test.gyp:*', diff --git a/webrtc/webrtc_tests.gypi b/webrtc/webrtc_tests.gypi index 6def87b4ff..15e1d1cf64 100644 --- a/webrtc/webrtc_tests.gypi +++ b/webrtc/webrtc_tests.gypi @@ -14,8 +14,8 @@ 'base/base.gyp:rtc_base', 'base/base_tests.gyp:rtc_base_tests_utils', 'base/base_tests.gyp:rtc_base_tests', + 'rtc_sound_tests', 'sound/sound.gyp:rtc_sound', - 'sound/sound_tests.gyp:rtc_sound_tests', '<(DEPTH)/testing/gtest.gyp:gtest', ], },