pbos@webrtc.org | 16e03b7 | 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 | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 16 | 'webrtc_perf_tests', |
pbos@webrtc.org | 16e03b7 | 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 | c49d5b7 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 23 | 'video/loopback.cc', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 24 | ], |
| 25 | 'dependencies': [ |
| 26 | '<(DEPTH)/testing/gtest.gyp:gtest', |
pbos@webrtc.org | 023b101 | 2014-05-13 11:26:40 +0000 | [diff] [blame] | 27 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 28 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
andresp@webrtc.org | a36ad69 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 29 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default', |
pbos@webrtc.org | 16e03b7 | 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 | 5ab7567 | 2013-12-16 12:24:44 +0000 | [diff] [blame] | 37 | 'video/bitrate_estimator_tests.cc', |
pbos@webrtc.org | c49d5b7 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 38 | 'video/call_tests.cc', |
sprang@webrtc.org | ccd4284 | 2014-01-07 09:54:34 +0000 | [diff] [blame] | 39 | 'video/send_statistics_proxy_unittest.cc', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 40 | 'video/video_send_stream_tests.cc', |
pbos@webrtc.org | c49d5b7 | 2013-12-05 12:11:47 +0000 | [diff] [blame] | 41 | 'test/common_unittest.cc', |
pbos@webrtc.org | 0a222eb | 2013-12-13 14:31:47 +0000 | [diff] [blame] | 42 | 'test/testsupport/metrics/video_metrics_unittest.cc', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 43 | ], |
| 44 | 'dependencies': [ |
| 45 | '<(DEPTH)/testing/gtest.gyp:gtest', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 46 | 'modules/modules.gyp:rtp_rtcp', |
pbos@webrtc.org | 0a222eb | 2013-12-13 14:31:47 +0000 | [diff] [blame] | 47 | 'test/metrics.gyp:metrics', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 48 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
andresp@webrtc.org | a36ad69 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 49 | 'test/test.gyp:test_main', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 50 | 'webrtc', |
| 51 | ], |
fischman@webrtc.org | 033aa22 | 2014-05-27 18:44:59 +0000 | [diff] [blame^] | 52 | 'conditions': [ |
| 53 | # TODO(henrike): remove build_with_chromium==1 when the bots are |
| 54 | # using Chromium's buildbots. |
| 55 | ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', { |
| 56 | 'dependencies': [ |
| 57 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 58 | ], |
| 59 | }], |
| 60 | ], |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 61 | }, |
pbos@webrtc.org | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 62 | { |
| 63 | 'target_name': 'webrtc_perf_tests', |
| 64 | 'type': '<(gtest_target_type)', |
| 65 | 'sources': [ |
henrik.lundin@webrtc.org | a366e81 | 2014-01-10 08:24:04 +0000 | [diff] [blame] | 66 | 'modules/audio_coding/neteq4/test/neteq_performance_unittest.cc', |
pbos@webrtc.org | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 67 | 'video/call_perf_tests.cc', |
| 68 | 'video/full_stack.cc', |
| 69 | 'video/rampup_tests.cc', |
| 70 | ], |
| 71 | 'dependencies': [ |
| 72 | '<(DEPTH)/testing/gtest.gyp:gtest', |
henrik.lundin@webrtc.org | d57b814 | 2014-04-24 13:19:04 +0000 | [diff] [blame] | 73 | 'modules/modules.gyp:neteq_test_support', # Needed by neteq_performance_unittest. |
pbos@webrtc.org | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 74 | 'modules/modules.gyp:rtp_rtcp', |
| 75 | 'test/webrtc_test_common.gyp:webrtc_test_common', |
andresp@webrtc.org | a36ad69 | 2014-05-14 12:24:04 +0000 | [diff] [blame] | 76 | 'test/test.gyp:test_main', |
pbos@webrtc.org | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 77 | 'webrtc', |
| 78 | ], |
| 79 | }, |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 80 | ], |
| 81 | 'conditions': [ |
| 82 | # TODO(henrike): remove build_with_chromium==1 when the bots are using |
| 83 | # Chromium's buildbots. |
| 84 | ['build_with_chromium==1 and OS=="android" and gtest_target_type=="shared_library"', { |
| 85 | 'targets': [ |
| 86 | { |
| 87 | 'target_name': 'video_engine_tests_apk_target', |
| 88 | 'type': 'none', |
| 89 | 'dependencies': [ |
| 90 | '<(apk_tests_path):video_engine_tests_apk', |
| 91 | ], |
| 92 | }, |
pbos@webrtc.org | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 93 | { |
| 94 | 'target_name': 'webrtc_perf_tests_apk_target', |
| 95 | 'type': 'none', |
| 96 | 'dependencies': [ |
| 97 | '<(apk_tests_path):webrtc_perf_tests_apk', |
| 98 | ], |
| 99 | }, |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 100 | ], |
| 101 | }], |
| 102 | ['test_isolation_mode != "noop"', { |
| 103 | 'targets': [ |
| 104 | { |
| 105 | 'target_name': 'video_engine_tests_run', |
| 106 | 'type': 'none', |
| 107 | 'dependencies': [ |
| 108 | 'video_engine_tests', |
| 109 | ], |
| 110 | 'includes': [ |
pbos@webrtc.org | 0803c03 | 2013-10-28 18:10:29 +0000 | [diff] [blame] | 111 | 'build/isolate.gypi', |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 112 | 'video_engine_tests.isolate', |
| 113 | ], |
| 114 | 'sources': [ |
| 115 | 'video_engine_tests.isolate', |
| 116 | ], |
| 117 | }, |
pbos@webrtc.org | 1d09690 | 2013-12-13 12:48:05 +0000 | [diff] [blame] | 118 | { |
| 119 | 'target_name': 'webrtc_perf_tests_run', |
| 120 | 'type': 'none', |
| 121 | 'dependencies': [ |
| 122 | 'webrtc_perf_tests', |
| 123 | ], |
| 124 | 'includes': [ |
| 125 | 'build/isolate.gypi', |
| 126 | 'webrtc_perf_tests.isolate', |
| 127 | ], |
| 128 | 'sources': [ |
| 129 | 'webrtc_perf_tests.isolate', |
| 130 | ], |
| 131 | }, |
pbos@webrtc.org | 16e03b7 | 2013-10-28 16:32:01 +0000 | [diff] [blame] | 132 | ], |
| 133 | }], |
| 134 | ], |
| 135 | } |