pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 1 | # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | { |
| 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'webrtc_tests', |
| 12 | 'type': 'none', |
| 13 | 'dependencies': [ |
| 14 | 'video_engine_tests', |
| 15 | 'video_loopback', |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 16 | 'webrtc_perf_tests', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 17 | ], |
| 18 | }, |
| 19 | { |
| 20 | 'target_name': 'video_loopback', |
| 21 | 'type': 'executable', |
| 22 | 'sources': [ |
pbos@webrtc.org | 3d70641 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 23 | 'video/loopback.cc', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 24 | 'test/test_main.cc', |
| 25 | ], |
| 26 | 'dependencies': [ |
| 27 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 28 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
| 29 | 'webrtc', |
| 30 | ], |
| 31 | }, |
| 32 | { |
| 33 | 'target_name': 'video_engine_tests', |
| 34 | 'type': '<(gtest_target_type)', |
| 35 | 'sources': [ |
pbos@webrtc.org | 39139dc | 2013-12-16 12:24:44 +0000 | [diff] [blame] | 36 | 'video/bitrate_estimator_tests.cc', |
pbos@webrtc.org | 3d70641 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 37 | 'video/call_tests.cc', |
sprang@webrtc.org | ca72300 | 2014-01-07 09:54:34 +0000 | [diff] [blame] | 38 | 'video/send_statistics_proxy_unittest.cc', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 39 | 'video/video_send_stream_tests.cc', |
pbos@webrtc.org | 3d70641 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 40 | 'test/common_unittest.cc', |
pbos@webrtc.org | 9d9f138 | 2013-12-13 14:31:47 +0000 | [diff] [blame] | 41 | 'test/testsupport/metrics/video_metrics_unittest.cc', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 42 | 'test/test_main.cc', |
| 43 | ], |
| 44 | 'dependencies': [ |
| 45 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 46 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 47 | 'modules/modules.gyp:rtp_rtcp', |
pbos@webrtc.org | 9d9f138 | 2013-12-13 14:31:47 +0000 | [diff] [blame] | 48 | 'test/metrics.gyp:metrics', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 49 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
| 50 | 'webrtc', |
| 51 | ], |
| 52 | }, |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 53 | { |
| 54 | 'target_name': 'webrtc_perf_tests', |
| 55 | 'type': '<(gtest_target_type)', |
| 56 | 'sources': [ |
henrik.lundin@webrtc.org | 1cc1166 | 2014-01-10 08:24:04 +0000 | [diff] [blame] | 57 | 'modules/audio_coding/neteq4/test/neteq_performance_unittest.cc', |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 58 | 'test/test_main.cc', |
| 59 | 'video/call_perf_tests.cc', |
| 60 | 'video/full_stack.cc', |
| 61 | 'video/rampup_tests.cc', |
| 62 | ], |
| 63 | 'dependencies': [ |
| 64 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 65 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
henrik.lundin@webrtc.org | 1cc1166 | 2014-01-10 08:24:04 +0000 | [diff] [blame] | 66 | 'modules/modules.gyp:neteq_unittest_tools', # Needed by neteq_performance_unittest. |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 67 | 'modules/modules.gyp:rtp_rtcp', |
| 68 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
| 69 | 'webrtc', |
| 70 | ], |
| 71 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 72 | ], |
| 73 | 'conditions': [ |
| 74 | # TODO(henrike): remove build_with_chromium==1 when the bots are using |
| 75 | # Chromium's buildbots. |
| 76 | ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', { |
| 77 | 'targets': [ |
| 78 | { |
| 79 | 'target_name': 'video_engine_tests_apk_target', |
| 80 | 'type': 'none', |
| 81 | 'dependencies': [ |
| 82 | '<(apk_tests_path):video_engine_tests_apk', |
| 83 | ], |
| 84 | }, |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 85 | { |
| 86 | 'target_name': 'webrtc_perf_tests_apk_target', |
| 87 | 'type': 'none', |
| 88 | 'dependencies': [ |
| 89 | '<(apk_tests_path):webrtc_perf_tests_apk', |
| 90 | ], |
| 91 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 92 | ], |
| 93 | }], |
| 94 | ['test_isolation_mode != "noop"', { |
| 95 | 'targets': [ |
| 96 | { |
| 97 | 'target_name': 'video_engine_tests_run', |
| 98 | 'type': 'none', |
| 99 | 'dependencies': [ |
| 100 | 'video_engine_tests', |
| 101 | ], |
| 102 | 'includes': [ |
pbos@webrtc.org | 56290ed | 2013-10-28 18:10:29 +0000 | [diff] [blame] | 103 | 'build/isolate.gypi', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 104 | 'video_engine_tests.isolate', |
| 105 | ], |
| 106 | 'sources': [ |
| 107 | 'video_engine_tests.isolate', |
| 108 | ], |
| 109 | }, |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 110 | { |
| 111 | 'target_name': 'webrtc_perf_tests_run', |
| 112 | 'type': 'none', |
| 113 | 'dependencies': [ |
| 114 | 'webrtc_perf_tests', |
| 115 | ], |
| 116 | 'includes': [ |
| 117 | 'build/isolate.gypi', |
| 118 | 'webrtc_perf_tests.isolate', |
| 119 | ], |
| 120 | 'sources': [ |
| 121 | 'webrtc_perf_tests.isolate', |
| 122 | ], |
| 123 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 124 | ], |
| 125 | }], |
| 126 | ], |
| 127 | } |