blob: c64697f80f7b66935a420d9d70c8c9c10693f395 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# 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
mbonadei9aa3f0a2017-01-24 06:58:22 -08009import("../webrtc.gni")
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000010
kjellanderb62dbbe2016-09-23 00:38:52 -070011rtc_static_library("video") {
kjellander@webrtc.org788f0582014-08-28 13:51:08 +000012 sources = [
Peter Boström7623ce42015-12-09 12:13:30 +010013 "call_stats.cc",
14 "call_stats.h",
mflodman15d83572016-10-06 08:35:11 -070015 "encoder_rtcp_feedback.cc",
16 "encoder_rtcp_feedback.h",
Peter Boström7623ce42015-12-09 12:13:30 +010017 "overuse_frame_detector.cc",
18 "overuse_frame_detector.h",
19 "payload_router.cc",
20 "payload_router.h",
palmkvist349092b2016-12-13 02:45:57 -080021 "quality_threshold.cc",
22 "quality_threshold.h",
kjellander@webrtc.org788f0582014-08-28 13:51:08 +000023 "receive_statistics_proxy.cc",
24 "receive_statistics_proxy.h",
Peter Boström7623ce42015-12-09 12:13:30 +010025 "report_block_stats.cc",
26 "report_block_stats.h",
mflodman4cd27902016-08-05 06:28:45 -070027 "rtp_streams_synchronizer.cc",
28 "rtp_streams_synchronizer.h",
nisseb1f2ff92017-06-09 04:01:55 -070029 "rtp_video_stream_receiver.cc",
30 "rtp_video_stream_receiver.h",
asapersson35151f32016-05-02 23:44:01 -070031 "send_delay_stats.cc",
32 "send_delay_stats.h",
kjellander@webrtc.org788f0582014-08-28 13:51:08 +000033 "send_statistics_proxy.cc",
34 "send_statistics_proxy.h",
asapersson0e9d6d92016-05-23 06:07:55 -070035 "stats_counter.cc",
36 "stats_counter.h",
Peter Boström7623ce42015-12-09 12:13:30 +010037 "stream_synchronization.cc",
38 "stream_synchronization.h",
charujainbf6a45b2016-11-03 04:21:42 -070039 "transport_adapter.cc",
40 "transport_adapter.h",
Ilya Nikolaevskiy94150ee2018-05-23 11:53:19 +020041 "video_quality_observer.cc",
42 "video_quality_observer.h",
kjellander@webrtc.org788f0582014-08-28 13:51:08 +000043 "video_receive_stream.cc",
44 "video_receive_stream.h",
45 "video_send_stream.cc",
46 "video_send_stream.h",
Sebastian Jansson8e0b15b2018-04-18 19:19:22 +020047 "video_send_stream_impl.cc",
48 "video_send_stream_impl.h",
mflodmancfc8e3b2016-05-03 21:22:04 -070049 "video_stream_decoder.cc",
50 "video_stream_decoder.h",
mflodmancc3d4422017-08-03 08:27:51 -070051 "video_stream_encoder.cc",
52 "video_stream_encoder.h",
kjellander@webrtc.org788f0582014-08-28 13:51:08 +000053 ]
54
kjellandere40a7ee2016-10-16 23:56:12 -070055 if (!build_with_chromium && is_clang) {
56 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -070057 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org788f0582014-08-28 13:51:08 +000058 }
59
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000060 deps = [
61 "..:webrtc_common",
Patrik Höglund3e113432017-12-15 14:40:10 +010062 "../:typedefs",
Ying Wang3b790f32018-01-19 17:58:57 +010063 "../api:fec_controller_api",
Patrik Höglundbe214a22018-01-04 12:14:35 +010064 "../api:libjingle_peerconnection_api",
aleloia8eb7562016-11-28 07:02:13 -080065 "../api:transport_api",
Niels Möllerc6ce9c52018-05-11 11:15:30 +020066 "../api/video:video_frame",
67 "../api/video:video_frame_i420",
Niels Möller0327c2d2018-05-21 14:09:31 +020068 "../api/video:video_stream_encoder",
ilnikd60d06a2017-04-05 03:02:20 -070069 "../api/video_codecs:video_codecs_api",
Mirko Bonadei245660a2017-10-10 14:38:11 +020070 "../call:bitrate_allocator",
mbonadei9087d492017-04-25 00:35:35 -070071 "../call:call_interfaces",
nissed76b7b22017-06-01 04:02:35 -070072 "../call:rtp_interfaces",
aleloi440b6d92017-08-22 05:43:23 -070073 "../call:video_stream_api",
Mirko Bonadeib5728d92017-12-06 07:51:33 +010074 "../modules/rtp_rtcp:rtp_rtcp_format",
Sergey Silkin86684962018-03-28 19:32:37 +020075 "../modules/video_coding:codec_globals_headers",
Ilya Nikolaevskiy8643b782018-06-07 16:15:40 +020076 "../modules/video_coding:nack_module",
77 "../modules/video_coding:packet",
Patrik Höglund99175c62018-01-08 11:05:10 +010078 "../modules/video_coding:video_codec_interface",
Patrik Höglunda8005cf2017-12-13 16:05:42 +010079 "../rtc_base:checks",
Tommifef05002018-02-27 13:51:08 +010080 "../rtc_base:stringutils",
Sebastian Janssoncabe3832018-01-12 10:54:18 +010081 "../rtc_base/experiments:alr_experiment",
Åsa Perssona945aee2018-04-24 16:53:25 +020082 "../rtc_base/experiments:quality_scaling_experiment",
Karl Wiberg80ba3332018-02-05 10:33:35 +010083 "../rtc_base/system:fallthrough",
Mirko Bonadeia498ae82017-12-06 09:17:14 +010084 "../system_wrappers:field_trial_api",
85 "../system_wrappers:metrics_api",
Danil Chapovalovb9b146c2018-06-15 12:28:07 +020086 "//third_party/abseil-cpp/absl/types:optional",
nisseca5706d2017-09-11 02:32:16 -070087
88 # For RtxReceiveStream.
89 "../call:rtp_receiver",
Peter Boström2ee24392015-06-22 07:57:16 +020090 "../common_video",
skvladcc91d282016-10-03 18:31:22 -070091 "../logging:rtc_event_log_api",
mbonadei1140f972017-04-26 03:38:35 -070092 "../modules:module_api",
Peter Boström2ee24392015-06-22 07:57:16 +020093 "../modules/bitrate_controller",
sprangebbf8a82015-09-21 15:11:14 -070094 "../modules/pacing",
kjellander@webrtc.org7ffeab52016-02-26 22:46:09 +010095 "../modules/remote_bitrate_estimator",
Peter Boström2ee24392015-06-22 07:57:16 +020096 "../modules/rtp_rtcp",
97 "../modules/utility",
Peter Boström2ee24392015-06-22 07:57:16 +020098 "../modules/video_coding",
mbonadei9087d492017-04-25 00:35:35 -070099 "../modules/video_coding:video_coding_utility",
Peter Boström2ee24392015-06-22 07:57:16 +0200100 "../modules/video_processing",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700101 "../rtc_base:rtc_base_approved",
102 "../rtc_base:rtc_numerics",
103 "../rtc_base:rtc_task_queue",
104 "../rtc_base:sequenced_task_checker",
105 "../rtc_base:weak_ptr",
Karl Wiberg76b7f512018-03-22 15:29:03 +0100106 "../rtc_base/time:timestamp_extrapolator",
kjellander8237abf2015-12-08 07:12:06 -0800107 "../system_wrappers",
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000108 ]
Dan Minor9c686132018-01-15 10:20:00 -0500109
110 if (!build_with_mozilla) {
111 deps += [ "../media:rtc_media_base" ]
112 }
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +0000113}
Peter Boström02083222016-06-14 12:52:54 +0200114
philipel2fee4d62018-03-21 16:52:13 +0100115rtc_source_set("video_stream_decoder_impl") {
116 visibility = [ "*" ]
Anders Carlsson51e23ae2018-05-24 13:31:30 +0200117
philipel2fee4d62018-03-21 16:52:13 +0100118 sources = [
119 "video_stream_decoder_impl.cc",
120 "video_stream_decoder_impl.h",
121 ]
122
123 deps = [
Niels Möllerc6ce9c52018-05-11 11:15:30 +0200124 "../api/video:encoded_frame",
125 "../api/video:video_frame",
126 "../api/video:video_stream_decoder",
philipel2fee4d62018-03-21 16:52:13 +0100127 "../api/video_codecs:video_codecs_api",
philipel97187112018-03-23 10:43:21 +0100128 "../modules/video_coding:video_coding",
philipel2fee4d62018-03-21 16:52:13 +0100129 "../rtc_base:rtc_base_approved",
philipel97187112018-03-23 10:43:21 +0100130 "../rtc_base:rtc_task_queue_api",
131 "../system_wrappers:system_wrappers",
Danil Chapovalovb9b146c2018-06-15 12:28:07 +0200132 "//third_party/abseil-cpp/absl/types:optional",
philipel2fee4d62018-03-21 16:52:13 +0100133 ]
philipel2fee4d62018-03-21 16:52:13 +0100134}
135
Peter Boström02083222016-06-14 12:52:54 +0200136if (rtc_include_tests) {
Sebastian Jansson652dc912018-04-19 17:09:15 +0200137 rtc_source_set("video_mocks") {
138 testonly = true
139 sources = [
140 "test/mock_video_stream_encoder.h",
141 ]
142 deps = [
143 ":video",
144 "../test:test_support",
145 ]
146 }
kjellandera3cac052016-10-24 01:52:39 -0700147 rtc_source_set("video_quality_test") {
148 testonly = true
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200149
150 # Only targets in this file and api/ can depend on this.
151 visibility = [
152 ":*",
153 "../api:create_video_quality_test_fixture_api",
154 ]
kjellandera3cac052016-10-24 01:52:39 -0700155 sources = [
156 "video_quality_test.cc",
157 "video_quality_test.h",
158 ]
159 deps = [
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200160 "../api:fec_controller_api",
161 "../api:video_quality_test_fixture_api",
162 "../call:fake_network",
mbonadei9087d492017-04-25 00:35:35 -0700163 "../logging:rtc_event_log_api",
Qingsi Wang970b0882018-02-01 11:04:46 -0800164 "../logging:rtc_event_log_impl_output",
Mirko Bonadei5f99e652017-12-19 13:40:40 +0100165 "../media:rtc_audio_video",
Anders Carlssona114c882018-01-04 15:10:22 +0100166 "../media:rtc_internal_video_codecs",
mbonadei9087d492017-04-25 00:35:35 -0700167 "../modules/audio_mixer:audio_mixer_impl",
168 "../modules/rtp_rtcp",
Sergio Garcia Murillo43800f92018-06-21 16:16:38 +0200169 "../modules/video_coding:video_coding",
mbonadei9087d492017-04-25 00:35:35 -0700170 "../modules/video_coding:webrtc_h264",
Emircan Uysaler03e6ec92018-03-09 15:03:26 -0800171 "../modules/video_coding:webrtc_multiplex",
mbonadei9087d492017-04-25 00:35:35 -0700172 "../modules/video_coding:webrtc_vp8",
173 "../modules/video_coding:webrtc_vp9",
mbonadei95c8f652017-08-27 23:40:10 -0700174 "../rtc_base:rtc_base_approved",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700175 "../rtc_base:rtc_base_tests_utils",
kjellandera3cac052016-10-24 01:52:39 -0700176 "../system_wrappers",
Patrik Höglund7696bef2018-03-15 15:05:39 +0100177 "../test:fileutils",
Edward Lemure66572b2018-01-05 15:34:09 +0100178 "../test:perf_test",
Jianjun Zhu037f3e42017-08-15 21:48:37 +0800179 "../test:rtp_test_utils",
mbonadei9087d492017-04-25 00:35:35 -0700180 "../test:test_common",
jianjun.zhuc0247402017-07-11 06:20:45 -0700181 "../test:test_renderer",
mbonadei9087d492017-04-25 00:35:35 -0700182 "../test:test_support",
Edward Lemuraf8659a2017-09-27 14:46:24 +0200183 "../test:test_support_test_artifacts",
jianjun.zhuc0247402017-07-11 06:20:45 -0700184 "../test:video_test_common",
ilnik59cac992017-07-25 05:45:03 -0700185 "../test:video_test_support",
kjellandera3cac052016-10-24 01:52:39 -0700186 ]
kjellandera3cac052016-10-24 01:52:39 -0700187 if (!build_with_chromium && is_clang) {
188 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
189 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
190 }
191 }
192
ehmaldonado021eef32017-01-05 07:09:50 -0800193 rtc_source_set("video_full_stack_tests") {
194 testonly = true
kjellandere0629c02017-04-25 04:04:50 -0700195
ehmaldonado021eef32017-01-05 07:09:50 -0800196 sources = [
197 "full_stack_tests.cc",
198 ]
199 deps = [
200 ":video_quality_test",
sprang89c4a7e2017-06-30 13:27:40 -0700201 "../modules/pacing:pacing",
Sebastian Janssonf8518882018-05-31 14:52:59 +0200202 "../rtc_base:rtc_base_approved",
Sebastian Janssoncabe3832018-01-12 10:54:18 +0100203 "../rtc_base/experiments:alr_experiment",
mbonadei9087d492017-04-25 00:35:35 -0700204 "../test:field_trial",
jianjun.zhuc0247402017-07-11 06:20:45 -0700205 "../test:test_common",
mbonadei9087d492017-04-25 00:35:35 -0700206 "../test:test_support",
ehmaldonado021eef32017-01-05 07:09:50 -0800207 "//testing/gtest",
ehmaldonado021eef32017-01-05 07:09:50 -0800208 ]
209 if (!build_with_chromium && is_clang) {
210 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
211 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
212 }
213 if (rtc_use_h264) {
214 defines = [ "WEBRTC_USE_H264" ]
215 }
216 }
217
kjellandera3cac052016-10-24 01:52:39 -0700218 rtc_executable("video_loopback") {
219 testonly = true
220 sources = [
221 "video_loopback.cc",
222 ]
223 deps = [
224 ":video_quality_test",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700225 "../rtc_base:rtc_base_approved",
Bjorn Tereliusedab3012018-01-31 17:23:40 +0100226 "../system_wrappers:field_trial_default",
kjellandera3cac052016-10-24 01:52:39 -0700227 "../system_wrappers:metrics_default",
Ilya Nikolaevskiy2ffe3e82018-01-17 19:57:24 +0000228 "../system_wrappers:runtime_enabled_features_default",
kjellandera3cac052016-10-24 01:52:39 -0700229 "../test:field_trial",
230 "../test:run_test",
mbonadei9c296b32017-09-05 05:11:41 -0700231 "../test:run_test_interface",
kjellandera3cac052016-10-24 01:52:39 -0700232 "../test:test_common",
233 "../test:test_renderer",
mbonadei9087d492017-04-25 00:35:35 -0700234 "../test:test_support",
kjellandera3cac052016-10-24 01:52:39 -0700235 "//testing/gtest",
kjellandera3cac052016-10-24 01:52:39 -0700236 ]
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
243 rtc_executable("screenshare_loopback") {
244 testonly = true
245 sources = [
246 "screenshare_loopback.cc",
247 ]
248
249 deps = [
250 ":video_quality_test",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700251 "../rtc_base:rtc_base_approved",
Bjorn Tereliusedab3012018-01-31 17:23:40 +0100252 "../system_wrappers:field_trial_default",
kjellandera3cac052016-10-24 01:52:39 -0700253 "../system_wrappers:metrics_default",
Ilya Nikolaevskiy2ffe3e82018-01-17 19:57:24 +0000254 "../system_wrappers:runtime_enabled_features_default",
kjellandera3cac052016-10-24 01:52:39 -0700255 "../test:field_trial",
256 "../test:run_test",
mbonadei9c296b32017-09-05 05:11:41 -0700257 "../test:run_test_interface",
kjellandera3cac052016-10-24 01:52:39 -0700258 "../test:test_common",
259 "../test:test_renderer",
mbonadei9087d492017-04-25 00:35:35 -0700260 "../test:test_support",
kjellandera3cac052016-10-24 01:52:39 -0700261 ]
262 if (!build_with_chromium && is_clang) {
263 # Suppress warnings from Chrome's Clang plugins.
264 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
265 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
266 }
267 }
268
Ilya Nikolaevskiy255d1cd2017-12-21 18:02:59 +0100269 rtc_executable("sv_loopback") {
270 testonly = true
271 sources = [
272 "sv_loopback.cc",
273 ]
274 deps = [
275 ":video_quality_test",
276 "../rtc_base:rtc_base_approved",
Bjorn Tereliusedab3012018-01-31 17:23:40 +0100277 "../system_wrappers:field_trial_default",
Ilya Nikolaevskiy255d1cd2017-12-21 18:02:59 +0100278 "../system_wrappers:metrics_default",
Ilya Nikolaevskiy2ffe3e82018-01-17 19:57:24 +0000279 "../system_wrappers:runtime_enabled_features_default",
Ilya Nikolaevskiy255d1cd2017-12-21 18:02:59 +0100280 "../test:field_trial",
281 "../test:run_test",
282 "../test:run_test_interface",
283 "../test:test_common",
284 "../test:test_renderer",
285 "../test:test_support",
Ilya Nikolaevskiy255d1cd2017-12-21 18:02:59 +0100286 "//testing/gtest",
287 ]
288 if (!build_with_chromium && is_clang) {
289 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
290 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
291 }
292 }
293
stefan64427e52016-12-20 07:26:58 -0800294 rtc_executable("video_replay") {
295 testonly = true
296 sources = [
297 "replay.cc",
298 ]
299 deps = [
mbonadei9087d492017-04-25 00:35:35 -0700300 "..:webrtc_common",
Patrik Höglund3e113432017-12-15 14:40:10 +0100301 "../:typedefs",
ilnikd60d06a2017-04-05 03:02:20 -0700302 "../api/video_codecs:video_codecs_api",
mbonadei9087d492017-04-25 00:35:35 -0700303 "../call:call_interfaces",
304 "../common_video",
305 "../logging:rtc_event_log_api",
306 "../modules/rtp_rtcp",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100307 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700308 "../rtc_base:rtc_base_approved",
mbonadei9087d492017-04-25 00:35:35 -0700309 "../system_wrappers",
stefan64427e52016-12-20 07:26:58 -0800310 "../system_wrappers:metrics_default",
Ilya Nikolaevskiy2ffe3e82018-01-17 19:57:24 +0000311 "../system_wrappers:runtime_enabled_features_default",
stefan64427e52016-12-20 07:26:58 -0800312 "../test:field_trial",
mbonadei9087d492017-04-25 00:35:35 -0700313 "../test:rtp_test_utils",
stefan64427e52016-12-20 07:26:58 -0800314 "../test:run_test",
mbonadei9c296b32017-09-05 05:11:41 -0700315 "../test:run_test_interface",
stefan64427e52016-12-20 07:26:58 -0800316 "../test:test_common",
317 "../test:test_renderer",
mbonadei9087d492017-04-25 00:35:35 -0700318 "../test:test_support",
319 "../test:video_test_common",
philipel99b63452017-08-25 07:24:21 -0700320 "../test:video_test_support",
stefan64427e52016-12-20 07:26:58 -0800321 ]
stefan64427e52016-12-20 07:26:58 -0800322 if (!build_with_chromium && is_clang) {
323 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
324 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
325 }
326 }
327
Peter Boström02083222016-06-14 12:52:54 +0200328 # TODO(pbos): Rename test suite.
ehmaldonado38a21322016-09-02 04:10:34 -0700329 rtc_source_set("video_tests") {
Peter Boström02083222016-06-14 12:52:54 +0200330 testonly = true
kjellandere0629c02017-04-25 04:04:50 -0700331
hta9aa96882016-12-06 05:36:03 -0800332 defines = []
Peter Boström02083222016-06-14 12:52:54 +0200333 sources = [
334 "call_stats_unittest.cc",
mflodman15d83572016-10-06 08:35:11 -0700335 "encoder_rtcp_feedback_unittest.cc",
Sebastian Janssonc5017132018-02-02 16:24:16 +0100336 "end_to_end_tests/bandwidth_tests.cc",
337 "end_to_end_tests/call_operation_tests.cc",
338 "end_to_end_tests/codec_tests.cc",
339 "end_to_end_tests/config_tests.cc",
340 "end_to_end_tests/extended_reports_tests.cc",
341 "end_to_end_tests/fec_tests.cc",
342 "end_to_end_tests/histogram_tests.cc",
343 "end_to_end_tests/log_tests.cc",
Åsa Persson96c9fc42018-05-23 12:47:20 +0200344 "end_to_end_tests/multi_codec_receive_tests.cc",
Sebastian Janssonc5017132018-02-02 16:24:16 +0100345 "end_to_end_tests/multi_stream_tester.cc",
346 "end_to_end_tests/multi_stream_tester.h",
347 "end_to_end_tests/multi_stream_tests.cc",
348 "end_to_end_tests/network_state_tests.cc",
349 "end_to_end_tests/probing_tests.cc",
Sebastian Janssond78f7052018-04-23 13:35:37 +0200350 "end_to_end_tests/receive_time_tests.cc",
Sebastian Janssonc5017132018-02-02 16:24:16 +0100351 "end_to_end_tests/retransmission_tests.cc",
352 "end_to_end_tests/rtp_rtcp_tests.cc",
353 "end_to_end_tests/ssrc_tests.cc",
354 "end_to_end_tests/stats_tests.cc",
355 "end_to_end_tests/transport_feedback_tests.cc",
Peter Boström02083222016-06-14 12:52:54 +0200356 "overuse_frame_detector_unittest.cc",
357 "payload_router_unittest.cc",
Sebastian Janssone92f93f2017-06-22 14:44:04 +0200358 "picture_id_tests.cc",
Åsa Persson2027b662018-05-02 18:08:06 +0200359 "quality_scaling_tests.cc",
palmkvist349092b2016-12-13 02:45:57 -0800360 "quality_threshold_unittest.cc",
sakale5ba44e2016-10-26 07:09:24 -0700361 "receive_statistics_proxy_unittest.cc",
Peter Boström02083222016-06-14 12:52:54 +0200362 "report_block_stats_unittest.cc",
nisseb1f2ff92017-06-09 04:01:55 -0700363 "rtp_video_stream_receiver_unittest.cc",
Peter Boström02083222016-06-14 12:52:54 +0200364 "send_delay_stats_unittest.cc",
365 "send_statistics_proxy_unittest.cc",
366 "stats_counter_unittest.cc",
367 "stream_synchronization_unittest.cc",
johanf2183ff2017-02-28 01:33:09 -0800368 "video_receive_stream_unittest.cc",
Sebastian Jansson652dc912018-04-19 17:09:15 +0200369 "video_send_stream_impl_unittest.cc",
Peter Boström02083222016-06-14 12:52:54 +0200370 "video_send_stream_tests.cc",
mflodmancc3d4422017-08-03 08:27:51 -0700371 "video_stream_encoder_unittest.cc",
Peter Boström02083222016-06-14 12:52:54 +0200372 ]
373 deps = [
374 ":video",
Sebastian Jansson652dc912018-04-19 17:09:15 +0200375 ":video_mocks",
Niels Möllerc6ce9c52018-05-11 11:15:30 +0200376 "../api/video:video_frame",
377 "../api/video:video_frame_i420",
mbonadei9087d492017-04-25 00:35:35 -0700378 "../api/video_codecs:video_codecs_api",
mbonadei9087d492017-04-25 00:35:35 -0700379 "../call:call_interfaces",
Sebastian Jansson652dc912018-04-19 17:09:15 +0200380 "../call:mock_bitrate_allocator",
eladalone2173d92017-07-28 10:05:45 -0700381 "../call:mock_rtp_interfaces",
nisse0f15f922017-06-21 01:05:22 -0700382 "../call:rtp_receiver",
sprangdb2a9fc2017-08-09 06:42:32 -0700383 "../call:rtp_sender",
aleloi440b6d92017-08-22 05:43:23 -0700384 "../call:video_stream_api",
mbonadei9087d492017-04-25 00:35:35 -0700385 "../common_video",
386 "../logging:rtc_event_log_api",
Mirko Bonadei75baa492018-01-11 17:07:30 +0100387 "../media:rtc_audio_video",
Anders Carlssona114c882018-01-04 15:10:22 +0100388 "../media:rtc_internal_video_codecs",
brandtr5e171752017-05-23 03:32:16 -0700389 "../media:rtc_media",
magjedceecea42016-11-28 07:20:21 -0800390 "../media:rtc_media_base",
mbonadei9087d492017-04-25 00:35:35 -0700391 "../media:rtc_media_tests_utils",
mbonadei1140f972017-04-26 03:38:35 -0700392 "../modules:module_api",
mbonadei9087d492017-04-25 00:35:35 -0700393 "../modules/pacing",
394 "../modules/rtp_rtcp",
kjellandere0629c02017-04-25 04:04:50 -0700395 "../modules/rtp_rtcp:mock_rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100396 "../modules/rtp_rtcp:rtp_rtcp_format",
mbonadei9087d492017-04-25 00:35:35 -0700397 "../modules/utility",
398 "../modules/video_coding",
Sergey Silkin86684962018-03-28 19:32:37 +0200399 "../modules/video_coding:codec_globals_headers",
Ilya Nikolaevskiy8643b782018-06-07 16:15:40 +0200400 "../modules/video_coding:packet",
Patrik Höglund99175c62018-01-08 11:05:10 +0100401 "../modules/video_coding:video_codec_interface",
mbonadei9087d492017-04-25 00:35:35 -0700402 "../modules/video_coding:video_coding_utility",
403 "../modules/video_coding:webrtc_h264",
Emircan Uysaleref76e5a2018-02-12 13:36:41 -0800404 "../modules/video_coding:webrtc_multiplex",
Sergio Garcia Murillo43800f92018-06-21 16:16:38 +0200405 "../modules/video_coding:webrtc_vp8",
mbonadei9087d492017-04-25 00:35:35 -0700406 "../modules/video_coding:webrtc_vp9",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100407 "../rtc_base:checks",
408 "../rtc_base:rate_limiter",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700409 "../rtc_base:rtc_base_approved",
410 "../rtc_base:rtc_base_tests_utils",
Bjorn Tereliusa194e582017-10-25 13:07:09 +0200411 "../rtc_base:rtc_numerics",
Tommi38c5d932018-03-27 23:11:09 +0200412 "../rtc_base:rtc_task_queue",
Sebastian Jansson652dc912018-04-19 17:09:15 +0200413 "../rtc_base:rtc_task_queue_for_test",
Sebastian Janssoncabe3832018-01-12 10:54:18 +0100414 "../rtc_base/experiments:alr_experiment",
mbonadei9087d492017-04-25 00:35:35 -0700415 "../system_wrappers",
416 "../system_wrappers:field_trial_default",
417 "../system_wrappers:metrics_api",
418 "../system_wrappers:metrics_default",
419 "../test:direct_transport",
420 "../test:field_trial",
Patrik Höglund7696bef2018-03-15 15:05:39 +0100421 "../test:fileutils",
Edward Lemure66572b2018-01-05 15:34:09 +0100422 "../test:perf_test",
mbonadei9087d492017-04-25 00:35:35 -0700423 "../test:rtp_test_utils",
424 "../test:test_common",
425 "../test:test_support",
426 "../test:video_test_common",
Peter Boström02083222016-06-14 12:52:54 +0200427 "//testing/gtest",
Danil Chapovalovb9b146c2018-06-15 12:28:07 +0200428 "//third_party/abseil-cpp/absl/types:optional",
Peter Boström02083222016-06-14 12:52:54 +0200429 ]
kjellandere40a7ee2016-10-16 23:56:12 -0700430 if (!build_with_chromium && is_clang) {
431 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -0700432 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
Peter Boström02083222016-06-14 12:52:54 +0200433 }
brandtr445fb8f2016-11-14 04:11:23 -0800434 if (rtc_use_h264) {
hta9aa96882016-12-06 05:36:03 -0800435 defines += [ "WEBRTC_USE_H264" ]
brandtr445fb8f2016-11-14 04:11:23 -0800436 }
Dan Minor9c686132018-01-15 10:20:00 -0500437 if (!build_with_mozilla) {
438 deps += [ "../media:rtc_media_base" ]
439 }
Peter Boström02083222016-06-14 12:52:54 +0200440 }
441}