kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # Copyright (c) 2014 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 | |
mbonadei | 9aa3f0a | 2017-01-24 06:58:22 -0800 | [diff] [blame] | 9 | import("../webrtc.gni") |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 10 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 11 | rtc_static_library("video") { |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 12 | sources = [ |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 13 | "call_stats.cc", |
| 14 | "call_stats.h", |
mflodman | 15d8357 | 2016-10-06 08:35:11 -0700 | [diff] [blame] | 15 | "encoder_rtcp_feedback.cc", |
| 16 | "encoder_rtcp_feedback.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 17 | "overuse_frame_detector.cc", |
| 18 | "overuse_frame_detector.h", |
| 19 | "payload_router.cc", |
| 20 | "payload_router.h", |
palmkvist | 349092b | 2016-12-13 02:45:57 -0800 | [diff] [blame] | 21 | "quality_threshold.cc", |
| 22 | "quality_threshold.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 23 | "receive_statistics_proxy.cc", |
| 24 | "receive_statistics_proxy.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 25 | "report_block_stats.cc", |
| 26 | "report_block_stats.h", |
mflodman | 4cd2790 | 2016-08-05 06:28:45 -0700 | [diff] [blame] | 27 | "rtp_streams_synchronizer.cc", |
| 28 | "rtp_streams_synchronizer.h", |
nisse | b1f2ff9 | 2017-06-09 04:01:55 -0700 | [diff] [blame] | 29 | "rtp_video_stream_receiver.cc", |
| 30 | "rtp_video_stream_receiver.h", |
asapersson | 35151f3 | 2016-05-02 23:44:01 -0700 | [diff] [blame] | 31 | "send_delay_stats.cc", |
| 32 | "send_delay_stats.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 33 | "send_statistics_proxy.cc", |
| 34 | "send_statistics_proxy.h", |
asapersson | 0e9d6d9 | 2016-05-23 06:07:55 -0700 | [diff] [blame] | 35 | "stats_counter.cc", |
| 36 | "stats_counter.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 37 | "stream_synchronization.cc", |
| 38 | "stream_synchronization.h", |
charujain | bf6a45b | 2016-11-03 04:21:42 -0700 | [diff] [blame] | 39 | "transport_adapter.cc", |
| 40 | "transport_adapter.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 41 | "video_receive_stream.cc", |
| 42 | "video_receive_stream.h", |
| 43 | "video_send_stream.cc", |
| 44 | "video_send_stream.h", |
mflodman | cfc8e3b | 2016-05-03 21:22:04 -0700 | [diff] [blame] | 45 | "video_stream_decoder.cc", |
| 46 | "video_stream_decoder.h", |
mflodman | cc3d442 | 2017-08-03 08:27:51 -0700 | [diff] [blame] | 47 | "video_stream_encoder.cc", |
| 48 | "video_stream_encoder.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 49 | ] |
| 50 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 51 | if (!build_with_chromium && is_clang) { |
| 52 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 53 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 54 | } |
| 55 | |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 56 | deps = [ |
| 57 | "..:webrtc_common", |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 58 | "../api:optional", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 59 | "../api:transport_api", |
Patrik Höglund | b5b5bce | 2017-11-13 10:19:58 +0100 | [diff] [blame^] | 60 | "../api:video_frame_api_i420", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 61 | "../api/video_codecs:video_codecs_api", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 62 | "../call:bitrate_allocator", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 63 | "../call:call_interfaces", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 64 | "../call:rtp_interfaces", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 65 | "../call:video_stream_api", |
nisse | ca5706d | 2017-09-11 02:32:16 -0700 | [diff] [blame] | 66 | |
| 67 | # For RtxReceiveStream. |
| 68 | "../call:rtp_receiver", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 69 | "../common_video", |
skvlad | cc91d28 | 2016-10-03 18:31:22 -0700 | [diff] [blame] | 70 | "../logging:rtc_event_log_api", |
philipel | 022b54e | 2016-12-20 04:15:59 -0800 | [diff] [blame] | 71 | "../media:rtc_media_base", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 72 | "../modules:module_api", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 73 | "../modules/bitrate_controller", |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 74 | "../modules/congestion_controller", |
sprang | ebbf8a8 | 2015-09-21 15:11:14 -0700 | [diff] [blame] | 75 | "../modules/pacing", |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 76 | "../modules/remote_bitrate_estimator", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 77 | "../modules/rtp_rtcp", |
| 78 | "../modules/utility", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 79 | "../modules/video_coding", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 80 | "../modules/video_coding:video_coding_utility", |
| 81 | "../modules/video_coding:webrtc_vp8", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 82 | "../modules/video_processing", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 83 | "../rtc_base:rtc_base_approved", |
| 84 | "../rtc_base:rtc_numerics", |
| 85 | "../rtc_base:rtc_task_queue", |
| 86 | "../rtc_base:sequenced_task_checker", |
| 87 | "../rtc_base:weak_ptr", |
kjellander | 8237abf | 2015-12-08 07:12:06 -0800 | [diff] [blame] | 88 | "../system_wrappers", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 89 | "../voice_engine", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 90 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 91 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 92 | |
| 93 | if (rtc_include_tests) { |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 94 | rtc_source_set("video_quality_test") { |
| 95 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 96 | visibility = [ ":*" ] # Only targets in this file can depend on this. |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 97 | sources = [ |
| 98 | "video_quality_test.cc", |
| 99 | "video_quality_test.h", |
| 100 | ] |
| 101 | deps = [ |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 102 | "../api:optional", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 103 | "../call:call_interfaces", |
| 104 | "../common_video", |
| 105 | "../logging:rtc_event_log_api", |
sprang | 67561a6 | 2017-06-15 06:34:42 -0700 | [diff] [blame] | 106 | "../media:rtc_media", |
magjed | ceecea4 | 2016-11-28 07:20:21 -0800 | [diff] [blame] | 107 | "../media:rtc_media_base", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 108 | "../modules/audio_mixer:audio_mixer_impl", |
| 109 | "../modules/rtp_rtcp", |
| 110 | "../modules/video_coding:webrtc_h264", |
| 111 | "../modules/video_coding:webrtc_vp8", |
| 112 | "../modules/video_coding:webrtc_vp9", |
mbonadei | 95c8f65 | 2017-08-27 23:40:10 -0700 | [diff] [blame] | 113 | "../rtc_base:rtc_base_approved", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 114 | "../rtc_base:rtc_base_tests_utils", |
| 115 | "../rtc_base:rtc_task_queue", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 116 | "../system_wrappers", |
Jianjun Zhu | 037f3e4 | 2017-08-15 21:48:37 +0800 | [diff] [blame] | 117 | "../test:rtp_test_utils", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 118 | "../test:test_common", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 119 | "../test:test_renderer", |
Jianjun Zhu | 037f3e4 | 2017-08-15 21:48:37 +0800 | [diff] [blame] | 120 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 121 | "../test:test_support", |
Edward Lemur | af8659a | 2017-09-27 14:46:24 +0200 | [diff] [blame] | 122 | "../test:test_support_test_artifacts", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 123 | "../test:video_test_common", |
Jianjun Zhu | 037f3e4 | 2017-08-15 21:48:37 +0800 | [diff] [blame] | 124 | "../test:video_test_common", |
ilnik | 59cac99 | 2017-07-25 05:45:03 -0700 | [diff] [blame] | 125 | "../test:video_test_support", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 126 | "../voice_engine", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 127 | "//testing/gtest", |
| 128 | ] |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 129 | if (!build_with_chromium && is_clang) { |
| 130 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 131 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 132 | } |
| 133 | } |
| 134 | |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 135 | rtc_source_set("video_full_stack_tests") { |
| 136 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 137 | |
| 138 | # Skip restricting visibility on mobile platforms since the tests on those |
| 139 | # gets additional generated targets which would require many lines here to |
| 140 | # cover (which would be confusing to read and hard to maintain). |
| 141 | if (!is_android && !is_ios) { |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 142 | visibility = [ "..:webrtc_perf_tests" ] |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 143 | } |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 144 | sources = [ |
| 145 | "full_stack_tests.cc", |
| 146 | ] |
| 147 | deps = [ |
| 148 | ":video_quality_test", |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame] | 149 | "../modules/pacing:pacing", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 150 | "../test:field_trial", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 151 | "../test:test_common", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 152 | "../test:test_support", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 153 | "//testing/gtest", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 154 | ] |
| 155 | if (!build_with_chromium && is_clang) { |
| 156 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 157 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 158 | } |
| 159 | if (rtc_use_h264) { |
| 160 | defines = [ "WEBRTC_USE_H264" ] |
| 161 | } |
| 162 | } |
| 163 | |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 164 | rtc_executable("video_loopback") { |
| 165 | testonly = true |
| 166 | sources = [ |
| 167 | "video_loopback.cc", |
| 168 | ] |
| 169 | deps = [ |
| 170 | ":video_quality_test", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 171 | "../rtc_base:rtc_base_approved", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 172 | "../system_wrappers:metrics_default", |
| 173 | "../test:field_trial", |
| 174 | "../test:run_test", |
mbonadei | 9c296b3 | 2017-09-05 05:11:41 -0700 | [diff] [blame] | 175 | "../test:run_test_interface", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 176 | "../test:test_common", |
| 177 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 178 | "../test:test_support", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 179 | "//testing/gmock", |
| 180 | "//testing/gtest", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 181 | ] |
| 182 | if (!build_with_chromium && is_clang) { |
| 183 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 184 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | rtc_executable("screenshare_loopback") { |
| 189 | testonly = true |
| 190 | sources = [ |
| 191 | "screenshare_loopback.cc", |
| 192 | ] |
| 193 | |
| 194 | deps = [ |
| 195 | ":video_quality_test", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 196 | "../rtc_base:rtc_base_approved", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 197 | "../system_wrappers:metrics_default", |
| 198 | "../test:field_trial", |
| 199 | "../test:run_test", |
mbonadei | 9c296b3 | 2017-09-05 05:11:41 -0700 | [diff] [blame] | 200 | "../test:run_test_interface", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 201 | "../test:test_common", |
| 202 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 203 | "../test:test_support", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 204 | ] |
| 205 | if (!build_with_chromium && is_clang) { |
| 206 | # Suppress warnings from Chrome's Clang plugins. |
| 207 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 208 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 209 | } |
| 210 | } |
| 211 | |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 212 | rtc_executable("video_replay") { |
| 213 | testonly = true |
| 214 | sources = [ |
| 215 | "replay.cc", |
| 216 | ] |
| 217 | deps = [ |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 218 | "..:webrtc_common", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 219 | "../api/video_codecs:video_codecs_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 220 | "../call:call_interfaces", |
| 221 | "../common_video", |
| 222 | "../logging:rtc_event_log_api", |
| 223 | "../modules/rtp_rtcp", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 224 | "../rtc_base:rtc_base_approved", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 225 | "../system_wrappers", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 226 | "../system_wrappers:metrics_default", |
| 227 | "../test:field_trial", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 228 | "../test:rtp_test_utils", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 229 | "../test:run_test", |
mbonadei | 9c296b3 | 2017-09-05 05:11:41 -0700 | [diff] [blame] | 230 | "../test:run_test_interface", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 231 | "../test:test_common", |
| 232 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 233 | "../test:test_support", |
| 234 | "../test:video_test_common", |
philipel | 99b6345 | 2017-08-25 07:24:21 -0700 | [diff] [blame] | 235 | "../test:video_test_support", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 236 | ] |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 237 | if (!build_with_chromium && is_clang) { |
| 238 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 239 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 240 | } |
| 241 | } |
| 242 | |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 243 | # TODO(pbos): Rename test suite. |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 244 | rtc_source_set("video_tests") { |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 245 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 246 | |
| 247 | # Skip restricting visibility on mobile platforms since the tests on those |
| 248 | # gets additional generated targets which would require many lines here to |
| 249 | # cover (which would be confusing to read and hard to maintain). |
| 250 | if (!is_android && !is_ios) { |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 251 | visibility = [ "..:video_engine_tests" ] |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 252 | } |
hta | 9aa9688 | 2016-12-06 05:36:03 -0800 | [diff] [blame] | 253 | defines = [] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 254 | sources = [ |
| 255 | "call_stats_unittest.cc", |
mflodman | 15d8357 | 2016-10-06 08:35:11 -0700 | [diff] [blame] | 256 | "encoder_rtcp_feedback_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 257 | "end_to_end_tests.cc", |
| 258 | "overuse_frame_detector_unittest.cc", |
| 259 | "payload_router_unittest.cc", |
Sebastian Jansson | e92f93f | 2017-06-22 14:44:04 +0200 | [diff] [blame] | 260 | "picture_id_tests.cc", |
palmkvist | 349092b | 2016-12-13 02:45:57 -0800 | [diff] [blame] | 261 | "quality_threshold_unittest.cc", |
sakal | e5ba44e | 2016-10-26 07:09:24 -0700 | [diff] [blame] | 262 | "receive_statistics_proxy_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 263 | "report_block_stats_unittest.cc", |
nisse | b1f2ff9 | 2017-06-09 04:01:55 -0700 | [diff] [blame] | 264 | "rtp_video_stream_receiver_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 265 | "send_delay_stats_unittest.cc", |
| 266 | "send_statistics_proxy_unittest.cc", |
| 267 | "stats_counter_unittest.cc", |
| 268 | "stream_synchronization_unittest.cc", |
johan | f2183ff | 2017-02-28 01:33:09 -0800 | [diff] [blame] | 269 | "video_receive_stream_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 270 | "video_send_stream_tests.cc", |
mflodman | cc3d442 | 2017-08-03 08:27:51 -0700 | [diff] [blame] | 271 | "video_stream_encoder_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 272 | ] |
| 273 | deps = [ |
| 274 | ":video", |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 275 | "../api:optional", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 276 | "../api:video_frame_api", |
Patrik Höglund | b5b5bce | 2017-11-13 10:19:58 +0100 | [diff] [blame^] | 277 | "../api:video_frame_api_i420", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 278 | "../api/video_codecs:video_codecs_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 279 | "../call:call_interfaces", |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 280 | "../call:mock_rtp_interfaces", |
nisse | 0f15f92 | 2017-06-21 01:05:22 -0700 | [diff] [blame] | 281 | "../call:rtp_receiver", |
sprang | db2a9fc | 2017-08-09 06:42:32 -0700 | [diff] [blame] | 282 | "../call:rtp_sender", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 283 | "../call:video_stream_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 284 | "../common_video", |
| 285 | "../logging:rtc_event_log_api", |
brandtr | 5e17175 | 2017-05-23 03:32:16 -0700 | [diff] [blame] | 286 | "../media:rtc_media", |
magjed | ceecea4 | 2016-11-28 07:20:21 -0800 | [diff] [blame] | 287 | "../media:rtc_media_base", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 288 | "../media:rtc_media_tests_utils", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 289 | "../modules:module_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 290 | "../modules/pacing", |
| 291 | "../modules/rtp_rtcp", |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 292 | "../modules/rtp_rtcp:mock_rtp_rtcp", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 293 | "../modules/utility", |
| 294 | "../modules/video_coding", |
| 295 | "../modules/video_coding:video_coding_utility", |
| 296 | "../modules/video_coding:webrtc_h264", |
| 297 | "../modules/video_coding:webrtc_vp8", |
| 298 | "../modules/video_coding:webrtc_vp9", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 299 | "../rtc_base:rtc_base_approved", |
| 300 | "../rtc_base:rtc_base_tests_utils", |
Bjorn Terelius | a194e58 | 2017-10-25 13:07:09 +0200 | [diff] [blame] | 301 | "../rtc_base:rtc_numerics", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 302 | "../system_wrappers", |
| 303 | "../system_wrappers:field_trial_default", |
| 304 | "../system_wrappers:metrics_api", |
| 305 | "../system_wrappers:metrics_default", |
| 306 | "../test:direct_transport", |
| 307 | "../test:field_trial", |
| 308 | "../test:rtp_test_utils", |
| 309 | "../test:test_common", |
| 310 | "../test:test_support", |
| 311 | "../test:video_test_common", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 312 | "//testing/gmock", |
| 313 | "//testing/gtest", |
| 314 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 315 | if (!build_with_chromium && is_clang) { |
| 316 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 317 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 318 | } |
brandtr | 445fb8f | 2016-11-14 04:11:23 -0800 | [diff] [blame] | 319 | if (rtc_use_h264) { |
hta | 9aa9688 | 2016-12-06 05:36:03 -0800 | [diff] [blame] | 320 | defines += [ "WEBRTC_USE_H264" ] |
brandtr | 445fb8f | 2016-11-14 04:11:23 -0800 | [diff] [blame] | 321 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 322 | } |
| 323 | } |