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 | ], |
| 25 | 'dependencies': [ |
| 26 | '<(DEPTH)/testing/gtest.gyp:gtest', |
pbos@webrtc.org | 838c9da | 2014-05-13 11:26:40 +0000 | [diff] [blame] | 27 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 28 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
andresp@webrtc.org | 11fa357 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 29 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 30 | 'webrtc', |
| 31 | ], |
| 32 | }, |
| 33 | { |
| 34 | 'target_name': 'video_engine_tests', |
| 35 | 'type': '<(gtest_target_type)', |
| 36 | 'sources': [ |
pbos@webrtc.org | 39139dc | 2013-12-16 12:24:44 +0000 | [diff] [blame] | 37 | 'video/bitrate_estimator_tests.cc', |
pbos@webrtc.org | 3d70641 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 38 | 'video/call_tests.cc', |
sprang@webrtc.org | ca72300 | 2014-01-07 09:54:34 +0000 | [diff] [blame] | 39 | 'video/send_statistics_proxy_unittest.cc', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 40 | 'video/video_send_stream_tests.cc', |
pbos@webrtc.org | 3d70641 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 41 | 'test/common_unittest.cc', |
pbos@webrtc.org | 9d9f138 | 2013-12-13 14:31:47 +0000 | [diff] [blame] | 42 | 'test/testsupport/metrics/video_metrics_unittest.cc', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 43 | ], |
| 44 | 'dependencies': [ |
| 45 | '<(DEPTH)/testing/gtest.gyp:gtest', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 46 | 'modules/modules.gyp:rtp_rtcp', |
pbos@webrtc.org | 9d9f138 | 2013-12-13 14:31:47 +0000 | [diff] [blame] | 47 | 'test/metrics.gyp:metrics', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 48 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
andresp@webrtc.org | 11fa357 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 49 | 'test/test.gyp:test_main', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 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 | 'video/call_perf_tests.cc', |
| 59 | 'video/full_stack.cc', |
| 60 | 'video/rampup_tests.cc', |
| 61 | ], |
| 62 | 'dependencies': [ |
| 63 | '<(DEPTH)/testing/gtest.gyp:gtest', |
henrik.lundin@webrtc.org | 86e3fa8 | 2014-04-24 13:19:04 +0000 | [diff] [blame] | 64 | 'modules/modules.gyp:neteq_test_support', # Needed by neteq_performance_unittest. |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 65 | 'modules/modules.gyp:rtp_rtcp', |
| 66 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
andresp@webrtc.org | 11fa357 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 67 | 'test/test.gyp:test_main', |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 68 | 'webrtc', |
| 69 | ], |
| 70 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 71 | ], |
| 72 | 'conditions': [ |
| 73 | # TODO(henrike): remove build_with_chromium==1 when the bots are using |
| 74 | # Chromium's buildbots. |
| 75 | ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', { |
| 76 | 'targets': [ |
| 77 | { |
| 78 | 'target_name': 'video_engine_tests_apk_target', |
| 79 | 'type': 'none', |
| 80 | 'dependencies': [ |
| 81 | '<(apk_tests_path):video_engine_tests_apk', |
| 82 | ], |
| 83 | }, |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 84 | { |
| 85 | 'target_name': 'webrtc_perf_tests_apk_target', |
| 86 | 'type': 'none', |
| 87 | 'dependencies': [ |
| 88 | '<(apk_tests_path):webrtc_perf_tests_apk', |
| 89 | ], |
| 90 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 91 | ], |
| 92 | }], |
| 93 | ['test_isolation_mode != "noop"', { |
| 94 | 'targets': [ |
| 95 | { |
| 96 | 'target_name': 'video_engine_tests_run', |
| 97 | 'type': 'none', |
| 98 | 'dependencies': [ |
| 99 | 'video_engine_tests', |
| 100 | ], |
| 101 | 'includes': [ |
pbos@webrtc.org | 56290ed | 2013-10-28 18:10:29 +0000 | [diff] [blame] | 102 | 'build/isolate.gypi', |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 103 | 'video_engine_tests.isolate', |
| 104 | ], |
| 105 | 'sources': [ |
| 106 | 'video_engine_tests.isolate', |
| 107 | ], |
| 108 | }, |
pbos@webrtc.org | d1dd1d2 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 109 | { |
| 110 | 'target_name': 'webrtc_perf_tests_run', |
| 111 | 'type': 'none', |
| 112 | 'dependencies': [ |
| 113 | 'webrtc_perf_tests', |
| 114 | ], |
| 115 | 'includes': [ |
| 116 | 'build/isolate.gypi', |
| 117 | 'webrtc_perf_tests.isolate', |
| 118 | ], |
| 119 | 'sources': [ |
| 120 | 'webrtc_perf_tests.isolate', |
| 121 | ], |
| 122 | }, |
pbos@webrtc.org | b581c90 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 123 | ], |
| 124 | }], |
| 125 | ], |
| 126 | } |