blob: 3321999d3914787c2d25400f5f74d523004c6b57 [file] [log] [blame]
hjonaa32c3e2015-12-13 19:58:11 -08001# Copyright (c) 2015 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")
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020010if (is_android) {
11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni")
13}
kjellanderc76dc952016-06-03 03:09:32 -070014
15group("api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000016 visibility = [ "*" ]
Dan Minor9c686132018-01-15 10:20:00 -050017 deps = []
18
19 if (!build_with_mozilla) {
20 deps += [ ":libjingle_peerconnection_api" ]
21 }
kjellanderc76dc952016-06-03 03:09:32 -070022}
23
ehmaldonado38a21322016-09-02 04:10:34 -070024rtc_source_set("call_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000025 visibility = [ "*" ]
kjellandera69d9732016-08-31 07:33:05 -070026 sources = [
kjellandera69d9732016-08-31 07:33:05 -070027 "call/audio_sink.h",
kjellandera69d9732016-08-31 07:33:05 -070028 ]
kjellandera69d9732016-08-31 07:33:05 -070029}
30
Niels Möller8366e172018-02-14 12:20:13 +010031rtc_source_set("callfactory_api") {
32 visibility = [ "*" ]
33 sources = [
Steve Anton10542f22019-01-11 09:11:00 -080034 "call/call_factory_interface.h",
Niels Möller8366e172018-02-14 12:20:13 +010035 ]
Mirko Bonadei35214fc2019-09-23 14:54:28 +020036 deps = [
37 "../rtc_base/system:rtc_export",
38 ]
Niels Möller8366e172018-02-14 12:20:13 +010039}
40
Danil Chapovalov5bf58062019-06-18 16:43:37 +020041if (!build_with_chromium) {
Mirko Bonadei86d053c2019-10-17 21:32:04 +020042 rtc_library("create_peerconnection_factory") {
Danil Chapovalov5bf58062019-06-18 16:43:37 +020043 visibility = [ "*" ]
Danil Chapovalov41300af2019-07-10 12:44:43 +020044 allow_poison = [ "default_task_queue" ]
Danil Chapovalov5bf58062019-06-18 16:43:37 +020045 sources = [
46 "create_peerconnection_factory.cc",
47 "create_peerconnection_factory.h",
48 ]
49 deps = [
50 ":callfactory_api",
51 ":libjingle_peerconnection_api",
52 ":scoped_refptr",
53 "../api/rtc_event_log:rtc_event_log_factory",
54 "../media:rtc_audio_video",
55 "../media:rtc_media_base",
56 "../modules/audio_device:audio_device_api",
57 "../modules/audio_processing:api",
58 "../pc:peerconnection",
59 "../rtc_base",
60 "../rtc_base:rtc_base_approved",
61 "audio:audio_mixer_api",
62 "audio_codecs:audio_codecs_api",
63 "task_queue:default_task_queue_factory",
64 "video_codecs:video_codecs_api",
Danil Chapovalov5bf58062019-06-18 16:43:37 +020065 ]
66 }
Mirko Bonadei3cf8f3e2018-11-19 09:17:51 +010067}
68
Mirko Bonadei86d053c2019-10-17 21:32:04 +020069rtc_library("rtp_headers") {
Niels Möllerb8389522019-03-19 14:27:03 +010070 visibility = [ "*" ]
Niels Mölleref1052a2019-03-20 08:40:23 +010071 sources = [
72 "rtp_headers.cc",
73 "rtp_headers.h",
74 ]
75 deps = [
76 ":array_view",
77 "..:webrtc_common",
Sebastian Jansson3d61ab12019-06-14 13:35:51 +020078 "units:timestamp",
Chen Xing5d24b162019-06-10 12:59:38 +020079 "video:video_rtp_headers",
Niels Mölleref1052a2019-03-20 08:40:23 +010080 "//third_party/abseil-cpp/absl/types:optional",
81 ]
Niels Möllerb8389522019-03-19 14:27:03 +010082}
83
Mirko Bonadei86d053c2019-10-17 21:32:04 +020084rtc_library("rtp_packet_info") {
Chen Xingd2a66862019-06-03 14:53:42 +020085 visibility = [ "*" ]
86 sources = [
87 "rtp_packet_info.cc",
88 "rtp_packet_info.h",
89 "rtp_packet_infos.h",
90 ]
91 deps = [
92 ":array_view",
93 ":refcountedbase",
94 ":rtp_headers",
95 ":scoped_refptr",
96 "..:webrtc_common",
Chen Xinge08648d2019-08-05 16:29:13 +020097 "../rtc_base:deprecation",
Chen Xingd2a66862019-06-03 14:53:42 +020098 "../rtc_base:rtc_base_approved",
99 "//third_party/abseil-cpp/absl/types:optional",
100 ]
101}
102
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200103rtc_library("media_stream_interface") {
Niels Möllerc1c62842019-09-17 10:16:05 +0200104 visibility = [ "*" ]
Niels Möllere942b142019-09-17 14:30:41 +0200105 sources = [
106 "media_stream_interface.cc",
107 "media_stream_interface.h",
108 "notifier.h",
109 ]
110 deps = [
111 ":audio_options_api",
112 ":rtp_parameters",
113 ":scoped_refptr",
114 "../modules/audio_processing:audio_processing_statistics",
115 "../rtc_base:checks",
116 "../rtc_base:refcount",
117 "../rtc_base/system:rtc_export",
118 "video:video_frame",
119 "//third_party/abseil-cpp/absl/types:optional",
120 ]
Niels Möllerc1c62842019-09-17 10:16:05 +0200121}
122
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200123rtc_library("libjingle_peerconnection_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000124 visibility = [ "*" ]
kjellanderc76dc952016-06-03 03:09:32 -0700125 cflags = []
126 sources = [
Steve Anton36b28db2017-10-26 11:27:17 -0700127 "candidate.cc",
Patrik Höglunde2d6a062017-10-05 14:53:33 +0200128 "candidate.h",
Steve Anton10542f22019-01-11 09:11:00 -0800129 "crypto_params.h",
130 "data_channel_interface.cc",
131 "data_channel_interface.h",
Harald Alvestrand7061e512019-04-10 17:20:42 +0200132 "dtls_transport_interface.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800133 "dtls_transport_interface.h",
134 "dtmf_sender_interface.h",
Harald Alvestrand98462622019-01-30 14:57:03 +0100135 "ice_transport_interface.h",
Steve Anton845bb732017-12-05 12:50:26 -0800136 "jsep.cc",
kjellanderc76dc952016-06-03 03:09:32 -0700137 "jsep.h",
Steve Anton10542f22019-01-11 09:11:00 -0800138 "jsep_ice_candidate.cc",
139 "jsep_ice_candidate.h",
140 "jsep_session_description.h",
Steve Anton10542f22019-01-11 09:11:00 -0800141 "media_stream_proxy.h",
142 "media_stream_track_proxy.h",
Steve Anton10542f22019-01-11 09:11:00 -0800143 "peer_connection_factory_proxy.h",
144 "peer_connection_interface.cc",
145 "peer_connection_interface.h",
146 "peer_connection_proxy.h",
Steve Antonf2737d22017-10-31 16:27:34 -0700147 "proxy.cc",
kjellanderc76dc952016-06-03 03:09:32 -0700148 "proxy.h",
Steve Anton10542f22019-01-11 09:11:00 -0800149 "rtp_receiver_interface.cc",
150 "rtp_receiver_interface.h",
151 "rtp_sender_interface.cc",
152 "rtp_sender_interface.h",
153 "rtp_transceiver_interface.cc",
154 "rtp_transceiver_interface.h",
Harald Alvestrandc85328f2019-02-28 07:51:00 +0100155 "sctp_transport_interface.cc",
156 "sctp_transport_interface.h",
Steve Anton10542f22019-01-11 09:11:00 -0800157 "set_remote_description_observer_interface.h",
158 "stats_types.cc",
159 "stats_types.h",
160 "turn_customizer.h",
161 "uma_metrics.h",
162 "video_track_source_proxy.h",
kjellanderc76dc952016-06-03 03:09:32 -0700163 ]
kjellanderc76dc952016-06-03 03:09:32 -0700164 deps = [
Patrik Höglund3e113432017-12-15 14:40:10 +0100165 ":array_view",
Niels Möllera6fe2612018-01-19 11:28:54 +0100166 ":audio_options_api",
Niels Möller8366e172018-02-14 12:20:13 +0100167 ":callfactory_api",
Ying Wang0dd1b0a2018-02-20 12:50:27 +0100168 ":fec_controller_api",
Niels Möller8366e172018-02-14 12:20:13 +0100169 ":libjingle_logging_api",
Niels Möllere942b142019-09-17 14:30:41 +0200170 ":media_stream_interface",
Ying Wang0810a7c2019-04-10 13:48:24 +0200171 ":network_state_predictor_api",
Patrik Höglund662e31f2019-09-05 14:35:04 +0200172 ":packet_socket_factory",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200173 ":rtc_error",
hbos74e1a4f2016-09-15 23:33:01 -0700174 ":rtc_stats_api",
Chen Xingd2a66862019-06-03 14:53:42 +0200175 ":rtp_packet_info",
Niels Möller184b4af2019-08-23 13:33:50 +0200176 ":rtp_parameters",
Mirko Bonadeid9708072019-01-25 20:26:48 +0100177 ":scoped_refptr",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100178 "audio:audio_mixer_api",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100179 "audio_codecs:audio_codecs_api",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200180 "crypto:frame_decryptor_interface",
181 "crypto:frame_encryptor_interface",
182 "crypto:options",
Danil Chapovalovb32f2c72019-05-22 13:39:25 +0200183 "rtc_event_log",
Danil Chapovalov9435c612019-04-01 10:33:16 +0200184 "task_queue",
Niels Möller0c4f7be2018-05-07 14:01:37 +0200185 "transport:bitrate_settings",
Niels Möller65f17ca2019-09-12 13:59:36 +0200186 "transport:datagram_transport_interface",
Honghai Zhangf8998cf2019-10-14 11:27:50 -0700187 "transport:enums",
Sebastian Janssondfce03a2018-05-18 18:05:10 +0200188 "transport:network_control",
Niels Möllerec3b9ff2019-02-08 00:28:39 +0100189 "transport/media:audio_interfaces",
Niels Möller65f17ca2019-09-12 13:59:36 +0200190 "transport/media:media_transport_interface",
Niels Möller7e0e44f2019-02-12 14:04:11 +0100191 "transport/media:video_interfaces",
Niels Möllera8370302019-09-02 15:16:49 +0200192 "transport/rtp:rtp_source",
Piotr (Peter) Slatala48c54932019-01-28 06:50:38 -0800193 "units:data_rate",
Bjorn A Mellem57dc02a2019-05-30 09:15:37 -0700194 "units:timestamp",
Niels Möller3a742392018-10-08 11:13:58 +0200195 "video:encoded_image",
Niels Möllerc6ce9c52018-05-11 11:15:30 +0200196 "video:video_frame",
Chen Xing5d24b162019-06-10 12:59:38 +0200197 "video:video_rtp_headers",
Steve Anton2c9ebef2019-01-28 17:27:58 -0800198 "//third_party/abseil-cpp/absl/algorithm:container",
Steve Anton8e967df2019-07-30 18:07:40 -0700199 "//third_party/abseil-cpp/absl/memory",
Steve Anton6fe1fba2018-12-11 10:15:23 -0800200 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +0200201 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100202
203 # Basically, don't add stuff here. You might break sensitive downstream
204 # targets like pnacl. API should not depend on anything outside of this
205 # file, really. All these should arguably go away in time.
kjellander8a116632017-04-21 05:17:08 -0700206 "..:webrtc_common",
Niels Möllere24557f2019-09-19 11:36:35 +0200207 "../media:rtc_media_base",
Niels Möller6daa2782018-01-23 10:37:42 +0100208 "../media:rtc_media_config",
Patrik Höglundb874a352017-11-27 14:32:41 +0100209 "../modules/audio_processing:audio_processing_statistics",
Artem Titov94b57c02019-03-21 13:35:10 +0100210 "../rtc_base",
Patrik Höglund3e113432017-12-15 14:40:10 +0100211 "../rtc_base:checks",
212 "../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700213 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +0200214 "../rtc_base/system:rtc_export",
kjellanderc76dc952016-06-03 03:09:32 -0700215 ]
ossu7bb87ee2017-01-23 04:56:25 -0800216}
kjellanderc76dc952016-06-03 03:09:32 -0700217
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200218rtc_library("rtc_error") {
Mirko Bonadei9bc98852019-09-10 10:05:26 +0200219 visibility = [ "*" ]
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200220 sources = [
221 "rtc_error.cc",
222 "rtc_error.h",
223 ]
224 deps = [
225 "../rtc_base:checks",
226 "../rtc_base:logging",
227 "../rtc_base:macromagic",
228 "../rtc_base/system:rtc_export",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200229 ]
Mirko Bonadei9bc98852019-09-10 10:05:26 +0200230}
231
Patrik Höglund662e31f2019-09-05 14:35:04 +0200232rtc_source_set("packet_socket_factory") {
233 visibility = [ "*" ]
234 sources = [
Patrik Höglund662e31f2019-09-05 14:35:04 +0200235 "async_resolver_factory.h",
236 "packet_socket_factory.h",
237 ]
238 deps = [
239 "../rtc_base:rtc_base",
240 "../rtc_base/system:rtc_export",
241 ]
242}
243
Mirko Bonadei85340ce2018-11-19 15:51:39 +0100244rtc_source_set("scoped_refptr") {
245 visibility = [ "*" ]
246 sources = [
247 "scoped_refptr.h",
248 ]
249}
250
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200251rtc_source_set("video_quality_test_fixture_api") {
252 visibility = [ "*" ]
253 testonly = true
254 sources = [
255 "test/video_quality_test_fixture.h",
256 ]
257 deps = [
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200258 ":fec_controller_api",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200259 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200260 ":network_state_predictor_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200261 ":rtp_parameters",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200262 ":simulated_network_api",
263 "../call:fake_network",
264 "../call:rtp_interfaces",
265 "../test:test_common",
266 "../test:video_test_common",
Mirko Bonadei738bfa72019-09-17 14:47:38 +0200267 "transport:bitrate_settings",
Sebastian Jansson1391ed22019-04-30 14:23:51 +0200268 "transport:network_control",
Niels Möller65f17ca2019-09-12 13:59:36 +0200269 "transport/media:media_transport_interface",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200270 "video_codecs:video_codecs_api",
271 ]
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200272}
273
Artem Titovd57628f2019-03-22 12:34:25 +0100274rtc_source_set("video_quality_analyzer_api") {
275 visibility = [ "*" ]
276 testonly = true
277 sources = [
278 "test/video_quality_analyzer_interface.h",
279 ]
280
281 deps = [
282 ":stats_observer_interface",
283 "video:encoded_image",
284 "video:video_frame",
Chen Xing5d24b162019-06-10 12:59:38 +0200285 "video:video_rtp_headers",
Artem Titovd57628f2019-03-22 12:34:25 +0100286 "video_codecs:video_codecs_api",
Artem Titovd57628f2019-03-22 12:34:25 +0100287 "//third_party/abseil-cpp/absl/types:optional",
288 ]
289}
290
Mirko Bonadeif948eb62019-04-05 15:13:23 +0200291rtc_source_set("track_id_stream_label_map") {
292 visibility = [ "*" ]
293 sources = [
294 "test/track_id_stream_label_map.h",
295 ]
296}
297
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200298rtc_library("rtp_parameters") {
Niels Möller184b4af2019-08-23 13:33:50 +0200299 visibility = [ "*" ]
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200300 sources = [
301 "media_types.cc",
302 "media_types.h",
303 "rtp_parameters.cc",
304 "rtp_parameters.h",
305 ]
306 deps = [
307 ":array_view",
308 "../rtc_base:checks",
309 "../rtc_base:stringutils",
310 "../rtc_base/system:rtc_export",
311 "//third_party/abseil-cpp/absl/types:optional",
312 ]
Niels Möller184b4af2019-08-23 13:33:50 +0200313}
314
Artem Titovd57628f2019-03-22 12:34:25 +0100315rtc_source_set("audio_quality_analyzer_api") {
316 visibility = [ "*" ]
317 testonly = true
318 sources = [
319 "test/audio_quality_analyzer_interface.h",
320 ]
321
322 deps = [
323 ":stats_observer_interface",
Mirko Bonadeif948eb62019-04-05 15:13:23 +0200324 ":track_id_stream_label_map",
Artem Titovd57628f2019-03-22 12:34:25 +0100325 ]
326}
327
328rtc_source_set("stats_observer_interface") {
329 visibility = [ "*" ]
330 testonly = true
331 sources = [
332 "test/stats_observer_interface.h",
333 ]
334
335 deps = [
Niels Möllerb4a61282019-08-29 12:16:56 +0200336 # For api/stats_types.h
Artem Titovd57628f2019-03-22 12:34:25 +0100337 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200338 ":rtp_parameters",
Artem Titovd57628f2019-03-22 12:34:25 +0100339 ]
340}
341
342rtc_source_set("peer_connection_quality_test_fixture_api") {
343 visibility = [ "*" ]
344 testonly = true
345 sources = [
346 "test/peerconnection_quality_test_fixture.h",
347 ]
348
349 deps = [
350 ":audio_quality_analyzer_api",
351 ":callfactory_api",
352 ":fec_controller_api",
353 ":function_view",
354 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200355 ":network_state_predictor_api",
Patrik Höglund7d003422019-09-17 12:16:35 +0200356 ":packet_socket_factory",
Artem Titovd57628f2019-03-22 12:34:25 +0100357 ":simulated_network_api",
Artem Titova8549212019-08-19 14:38:06 +0200358 ":stats_observer_interface",
Artem Titovd57628f2019-03-22 12:34:25 +0100359 ":video_quality_analyzer_api",
Artem Titovf65a89b2019-05-07 11:56:44 +0200360 "../media:rtc_media_base",
Artem Titovd57628f2019-03-22 12:34:25 +0100361 "../rtc_base:rtc_base",
Danil Chapovalov9305d112019-09-04 13:16:09 +0200362 "rtc_event_log",
Danil Chapovalov1a5fc902019-06-10 12:58:03 +0200363 "task_queue",
Artem Titovd57628f2019-03-22 12:34:25 +0100364 "transport:network_control",
Niels Möller65f17ca2019-09-12 13:59:36 +0200365 "transport/media:media_transport_interface",
Artem Titovd57628f2019-03-22 12:34:25 +0100366 "units:time_delta",
367 "video_codecs:video_codecs_api",
368 "//third_party/abseil-cpp/absl/memory",
369 "//third_party/abseil-cpp/absl/types:optional",
370 ]
371}
372
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200373rtc_library("test_dependency_factory") {
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200374 visibility = [ "*" ]
375 testonly = true
376 sources = [
377 "test/test_dependency_factory.cc",
378 "test/test_dependency_factory.h",
379 ]
380 deps = [
381 ":video_quality_test_fixture_api",
Yves Gerey3e707812018-11-28 16:47:49 +0100382 "../rtc_base:checks",
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200383 "../rtc_base:thread_checker",
384 ]
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200385}
386
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200387if (rtc_include_tests) {
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200388 rtc_library("create_video_quality_test_fixture_api") {
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200389 visibility = [ "*" ]
390 testonly = true
391 sources = [
392 "test/create_video_quality_test_fixture.cc",
393 "test/create_video_quality_test_fixture.h",
394 ]
395 deps = [
396 ":fec_controller_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200397 ":network_state_predictor_api",
Mirko Bonadeid9708072019-01-25 20:26:48 +0100398 ":scoped_refptr",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200399 ":video_quality_test_fixture_api",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200400 "../video:video_quality_test",
401 ]
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200402 }
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100403
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200404 rtc_library("create_network_emulation_manager") {
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100405 visibility = [ "*" ]
406 testonly = true
407 sources = [
408 "test/create_network_emulation_manager.cc",
409 "test/create_network_emulation_manager.h",
410 ]
411 deps = [
412 ":network_emulation_manager_api",
Artem Titov386802e2019-07-05 10:48:17 +0200413 "../test/network:emulated_network",
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100414 ]
415 }
Artem Titovd57628f2019-03-22 12:34:25 +0100416
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200417 rtc_library("create_peerconnection_quality_test_fixture") {
Artem Titovd57628f2019-03-22 12:34:25 +0100418 visibility = [ "*" ]
419 testonly = true
420 sources = [
421 "test/create_peerconnection_quality_test_fixture.cc",
422 "test/create_peerconnection_quality_test_fixture.h",
423 ]
424
425 deps = [
426 ":audio_quality_analyzer_api",
427 ":peer_connection_quality_test_fixture_api",
428 ":video_quality_analyzer_api",
429 "../test/pc/e2e:peerconnection_quality_test",
Artem Titovd57628f2019-03-22 12:34:25 +0100430 ]
431 }
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200432}
433
Elad Alon80810732017-10-06 13:07:32 +0200434rtc_source_set("libjingle_logging_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000435 visibility = [ "*" ]
Elad Alon80810732017-10-06 13:07:32 +0200436 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800437 "rtc_event_log_output.h",
Elad Alon80810732017-10-06 13:07:32 +0200438 ]
439}
440
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200441rtc_library("rtc_event_log_output_file") {
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200442 visibility = [ "*" ]
443 sources = [
444 "rtc_event_log_output_file.cc",
445 "rtc_event_log_output_file.h",
446 ]
447
448 deps = [
449 ":libjingle_logging_api",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200450 "../rtc_base:checks",
451 "../rtc_base:rtc_base_approved",
452 "../rtc_base/system:file_wrapper",
Danil Chapovalovb32f2c72019-05-22 13:39:25 +0200453 "rtc_event_log",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200454 ]
455}
456
hbos74e1a4f2016-09-15 23:33:01 -0700457rtc_source_set("rtc_stats_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000458 visibility = [ "*" ]
hbos74e1a4f2016-09-15 23:33:01 -0700459 cflags = []
460 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800461 "stats/rtc_stats.h",
462 "stats/rtc_stats_collector_callback.h",
463 "stats/rtc_stats_report.h",
hbos74e1a4f2016-09-15 23:33:01 -0700464 "stats/rtcstats_objects.h",
hbos74e1a4f2016-09-15 23:33:01 -0700465 ]
466
467 deps = [
Mirko Bonadeid9708072019-01-25 20:26:48 +0100468 ":scoped_refptr",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100469 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700470 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +0200471 "../rtc_base/system:rtc_export",
hbos74e1a4f2016-09-15 23:33:01 -0700472 ]
473}
474
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200475rtc_library("audio_options_api") {
Niels Möllera6fe2612018-01-19 11:28:54 +0100476 visibility = [ "*" ]
477 sources = [
Paulina Hensman11b34f42018-04-09 14:24:52 +0200478 "audio_options.cc",
Niels Möllera6fe2612018-01-19 11:28:54 +0100479 "audio_options.h",
480 ]
481
482 deps = [
Yves Gerey3e707812018-11-28 16:47:49 +0100483 ":array_view",
Danil Chapovalov21652332018-08-31 10:29:07 +0200484 "../rtc_base:stringutils",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +0200485 "//third_party/abseil-cpp/absl/types:optional",
Niels Möllera6fe2612018-01-19 11:28:54 +0100486 ]
487}
488
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200489rtc_library("transport_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000490 visibility = [ "*" ]
aleloia8eb7562016-11-28 07:02:13 -0800491 sources = [
Dino Radaković1807d572018-02-22 14:18:06 +0100492 "call/transport.cc",
aleloia8eb7562016-11-28 07:02:13 -0800493 "call/transport.h",
494 ]
495}
nisseb2250e52016-12-02 04:01:14 -0800496
Sebastian Jansson6736df12018-11-21 19:18:39 +0100497rtc_source_set("bitrate_allocation") {
498 visibility = [ "*" ]
499 sources = [
500 "call/bitrate_allocation.h",
501 ]
502 deps = [
503 "units:data_rate",
504 "units:time_delta",
505 ]
506}
507
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200508rtc_source_set("simulated_network_api") {
509 visibility = [ "*" ]
510 sources = [
511 "test/simulated_network.h",
512 ]
513 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100514 "../rtc_base",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200515 "../rtc_base:criticalsection",
Danil Chapovalov065a52a2018-07-09 10:58:54 +0200516 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200517 ]
518}
519
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100520rtc_source_set("network_emulation_manager_api") {
521 visibility = [ "*" ]
522 sources = [
523 "test/network_emulation_manager.h",
524 ]
525 deps = [
526 ":simulated_network_api",
Artem Titov94b57c02019-03-21 13:35:10 +0100527 "../rtc_base",
Artem Titov806299e2019-04-12 12:17:19 +0200528 "units:data_rate",
529 "units:data_size",
530 "units:timestamp",
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100531 ]
532}
533
Ying Wang3b790f32018-01-19 17:58:57 +0100534rtc_source_set("fec_controller_api") {
535 visibility = [ "*" ]
536 sources = [
537 "fec_controller.h",
Elad Alon8f01c4e2019-06-28 15:19:43 +0200538 "fec_controller_override.h",
Ying Wang3b790f32018-01-19 17:58:57 +0100539 ]
540
541 deps = [
Ying Wang0dd1b0a2018-02-20 12:50:27 +0100542 "../modules:module_fec_api",
Niels Möller8f7ce222019-03-21 15:43:58 +0100543 "video:video_frame_type",
Ying Wang3b790f32018-01-19 17:58:57 +0100544 ]
545}
546
Ying Wang0810a7c2019-04-10 13:48:24 +0200547rtc_source_set("network_state_predictor_api") {
548 visibility = [ "*" ]
549 sources = [
550 "network_state_predictor.h",
551 ]
552}
553
kwiberg529662a2017-09-04 05:43:17 -0700554rtc_source_set("array_view") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000555 visibility = [ "*" ]
kwiberg529662a2017-09-04 05:43:17 -0700556 sources = [
557 "array_view.h",
558 ]
559 deps = [
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100560 "../rtc_base:checks",
561 "../rtc_base:type_traits",
kwiberg529662a2017-09-04 05:43:17 -0700562 ]
563}
564
Niels Möller9155e492017-10-23 11:22:30 +0200565rtc_source_set("refcountedbase") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000566 visibility = [ "*" ]
Niels Möller9155e492017-10-23 11:22:30 +0200567 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800568 "ref_counted_base.h",
Niels Möller9155e492017-10-23 11:22:30 +0200569 ]
570 deps = [
571 "../rtc_base:rtc_base_approved",
572 ]
573}
574
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200575rtc_library("ice_transport_factory") {
Harald Alvestrand98462622019-01-30 14:57:03 +0100576 visibility = [ "*" ]
577 sources = [
578 "ice_transport_factory.cc",
579 "ice_transport_factory.h",
580 ]
581 deps = [
582 ":libjingle_peerconnection_api",
Patrik Höglund7d003422019-09-17 12:16:35 +0200583 ":packet_socket_factory",
Harald Alvestrand98462622019-01-30 14:57:03 +0100584 ":scoped_refptr",
585 "../p2p:rtc_p2p",
Artem Titov94b57c02019-03-21 13:35:10 +0100586 "../rtc_base",
Mirko Bonadei66e76792019-04-02 11:33:59 +0200587 "../rtc_base/system:rtc_export",
Steve Anton6fdfec12019-07-01 14:07:33 -0700588 "rtc_event_log:rtc_event_log",
Harald Alvestrand98462622019-01-30 14:57:03 +0100589 ]
590}
591
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200592rtc_library("neteq_simulator_api") {
Ivo Creusen55de08e2018-09-03 11:49:27 +0200593 visibility = [ "*" ]
594 sources = [
595 "test/neteq_simulator.cc",
596 "test/neteq_simulator.h",
597 ]
598}
599
Ivo Creusen3ce44a32019-10-31 14:38:11 +0100600rtc_source_set("neteq_factory_with_codecs") {
601 visibility = [ "*" ]
602 testonly = true
603 sources = [
604 "test/neteq_factory_with_codecs.cc",
605 "test/neteq_factory_with_codecs.h",
606 ]
607
608 deps = [
609 ":scoped_refptr",
610 "../modules/audio_coding:neteq",
611 "../system_wrappers:system_wrappers",
612 "audio_codecs:audio_codecs_api",
613 "audio_codecs:builtin_audio_decoder_factory",
614 "neteq:default_neteq_controller_factory",
615 "neteq:neteq_api",
616 "neteq:neteq_controller_api",
617 ]
618}
619
Artem Titov741daaf2019-03-21 14:37:36 +0100620rtc_source_set("function_view") {
621 visibility = [ "*" ]
622 sources = [
623 "function_view.h",
624 ]
625 deps = [
626 "../rtc_base:checks",
627 ]
628}
629
kjellanderfd5b4e92016-06-13 12:08:33 -0700630if (rtc_include_tests) {
Ivo Creusen2cb41052018-03-15 12:22:52 +0100631 if (rtc_enable_protobuf) {
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200632 rtc_library("audioproc_f_api") {
Ivo Creusen2cb41052018-03-15 12:22:52 +0100633 visibility = [ "*" ]
634 testonly = true
635 sources = [
636 "test/audioproc_float.cc",
637 "test/audioproc_float.h",
638 ]
639
640 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100641 "../modules/audio_processing",
Alessio Bazzicab768e882018-11-07 14:29:54 +0000642 "../modules/audio_processing:api",
Ivo Creusen2cb41052018-03-15 12:22:52 +0100643 "../modules/audio_processing:audioproc_f_impl",
644 ]
645 }
Ivo Creusen55de08e2018-09-03 11:49:27 +0200646
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200647 rtc_library("neteq_simulator_factory") {
Ivo Creusen55de08e2018-09-03 11:49:27 +0200648 visibility = [ "*" ]
649 testonly = true
650 sources = [
651 "test/neteq_simulator_factory.cc",
652 "test/neteq_simulator_factory.h",
653 ]
654 deps = [
655 ":neteq_simulator_api",
656 "../modules/audio_coding:neteq_test_factory",
Ivo Creusenf81b0f12018-09-11 10:30:58 +0200657 "../rtc_base:checks",
Mirko Bonadei2ab97f62019-07-18 13:44:12 +0200658 "//third_party/abseil-cpp/absl/flags:flag",
659 "//third_party/abseil-cpp/absl/flags:parse",
Ivo Creusen5ec61562019-03-20 10:52:18 +0100660 "//third_party/abseil-cpp/absl/strings",
Ivo Creusen55de08e2018-09-03 11:49:27 +0200661 ]
662 }
Ivo Creusen2cb41052018-03-15 12:22:52 +0100663 }
664
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200665 rtc_source_set("simulcast_test_fixture_api") {
666 visibility = [ "*" ]
667 testonly = true
668 sources = [
669 "test/simulcast_test_fixture.h",
670 ]
671 }
672
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200673 rtc_library("create_simulcast_test_fixture_api") {
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200674 visibility = [ "*" ]
675 testonly = true
676 sources = [
677 "test/create_simulcast_test_fixture.cc",
678 "test/create_simulcast_test_fixture.h",
679 ]
680 deps = [
681 ":simulcast_test_fixture_api",
682 "../modules/video_coding:simulcast_test_fixture_impl",
683 "../rtc_base:rtc_base_approved",
684 "video_codecs:video_codecs_api",
685 ]
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200686 }
687
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200688 rtc_library("videocodec_test_fixture_api") {
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200689 visibility = [ "*" ]
690 testonly = true
691 sources = [
692 "test/videocodec_test_fixture.h",
Kári Tristan Helgason169005d2018-05-22 13:34:14 +0200693 "test/videocodec_test_stats.cc",
694 "test/videocodec_test_stats.h",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200695 ]
696 deps = [
Kári Tristan Helgason169005d2018-05-22 13:34:14 +0200697 "..:webrtc_common",
698 "../modules/video_coding:video_codec_interface",
Jonas Olsson366a50c2018-09-06 13:41:30 +0200699 "../rtc_base:stringutils",
Niels Möller8f7ce222019-03-21 15:43:58 +0100700 "video:video_frame_type",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200701 "video_codecs:video_codecs_api",
702 ]
703 }
704
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200705 rtc_library("create_videocodec_test_fixture_api") {
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200706 visibility = [ "*" ]
707 testonly = true
708 sources = [
709 "test/create_videocodec_test_fixture.cc",
710 "test/create_videocodec_test_fixture.h",
711 ]
712 deps = [
713 ":videocodec_test_fixture_api",
714 "../modules/video_coding:video_codecs_test_framework",
715 "../modules/video_coding:videocodec_test_impl",
716 "../rtc_base:rtc_base_approved",
717 "video_codecs:video_codecs_api",
718 ]
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200719 }
720
kjellander2f6af9c2017-03-02 22:26:23 -0800721 rtc_source_set("mock_audio_mixer") {
722 testonly = true
723 sources = [
724 "test/mock_audio_mixer.h",
725 ]
726
kjellander2f6af9c2017-03-02 22:26:23 -0800727 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700728 "../test:test_support",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100729 "audio:audio_mixer_api",
kjellander2f6af9c2017-03-02 22:26:23 -0800730 ]
731 }
732
Elad Alon45befc52019-07-02 11:20:09 +0200733 rtc_source_set("mock_fec_controller_override") {
734 testonly = true
735 sources = [
736 "test/mock_fec_controller_override.h",
737 ]
738 deps = [
739 ":fec_controller_api",
740 "../test:test_support",
741 ]
742 }
743
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200744 rtc_library("mock_frame_encryptor") {
Benjamin Wright78410ad2018-10-25 09:52:57 -0700745 testonly = true
746 sources = [
747 "test/mock_frame_encryptor.cc",
748 "test/mock_frame_encryptor.h",
749 ]
750 deps = [
Niels Möllerb4a61282019-08-29 12:16:56 +0200751 # For api/crypto/frame_encryptor_interface.h
Benjamin Wright78410ad2018-10-25 09:52:57 -0700752 ":libjingle_peerconnection_api",
753 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200754 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700755 ]
756 }
757
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200758 rtc_library("mock_frame_decryptor") {
Benjamin Wright78410ad2018-10-25 09:52:57 -0700759 testonly = true
760 sources = [
761 "test/mock_frame_decryptor.cc",
762 "test/mock_frame_decryptor.h",
763 ]
764 deps = [
765 ":libjingle_peerconnection_api",
766 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200767 "crypto:frame_decryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700768 ]
769 }
770
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200771 rtc_library("fake_frame_encryptor") {
Benjamin Wright78410ad2018-10-25 09:52:57 -0700772 testonly = true
773 sources = [
774 "test/fake_frame_encryptor.cc",
775 "test/fake_frame_encryptor.h",
776 ]
777 deps = [
778 ":array_view",
779 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200780 ":rtp_parameters",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700781 "..:webrtc_common",
782 "../rtc_base:checks",
783 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200784 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700785 ]
786 }
787
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200788 rtc_library("fake_frame_decryptor") {
Benjamin Wright84583f62018-10-04 14:22:34 -0700789 testonly = true
790 sources = [
791 "test/fake_frame_decryptor.cc",
792 "test/fake_frame_decryptor.h",
Benjamin Wright84583f62018-10-04 14:22:34 -0700793 ]
794 deps = [
795 ":array_view",
796 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200797 ":rtp_parameters",
Benjamin Wright84583f62018-10-04 14:22:34 -0700798 "..:webrtc_common",
799 "../rtc_base:checks",
800 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200801 "crypto:frame_decryptor_interface",
Benjamin Wright84583f62018-10-04 14:22:34 -0700802 ]
803 }
804
Niels Möllere78fd802019-09-13 14:45:55 +0200805 rtc_source_set("dummy_peer_connection") {
806 visibility = [ "*" ]
807 testonly = true
808 sources = [
809 "test/dummy_peer_connection.h",
810 ]
811
812 deps = [
813 ":libjingle_peerconnection_api",
814 ":rtc_error",
815 "../rtc_base:checks",
816 "../rtc_base:refcount",
817 ]
818 }
819
Jiawei Ou651b92e2018-06-29 15:46:44 -0700820 rtc_source_set("mock_peerconnectioninterface") {
821 testonly = true
822 sources = [
823 "test/mock_peerconnectioninterface.h",
824 ]
825
826 deps = [
827 ":libjingle_peerconnection_api",
828 "../test:test_support",
829 ]
830 }
831
Patrik Höglund4b9e6ba2017-12-19 10:32:11 +0100832 rtc_source_set("mock_rtp") {
833 testonly = true
834 sources = [
835 "test/mock_rtpreceiver.h",
836 "test/mock_rtpsender.h",
837 ]
838
839 deps = [
840 ":libjingle_peerconnection_api",
841 "../test:test_support",
Patrik Höglund4b9e6ba2017-12-19 10:32:11 +0100842 ]
843 }
844
Jiawei Ou4206a0a2018-07-20 15:49:43 -0700845 rtc_source_set("mock_video_bitrate_allocator") {
846 testonly = true
847 sources = [
848 "test/mock_video_bitrate_allocator.h",
849 ]
850
851 deps = [
852 "../api/video:video_bitrate_allocator",
853 "../test:test_support",
854 ]
855 }
856
Jiawei Ouc2ebe212018-11-08 10:02:56 -0800857 rtc_source_set("mock_video_bitrate_allocator_factory") {
858 testonly = true
859 sources = [
860 "test/mock_video_bitrate_allocator_factory.h",
861 ]
862
863 deps = [
864 "../api/video:video_bitrate_allocator_factory",
865 "../test:test_support",
866 ]
867 }
868
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700869 rtc_source_set("mock_video_codec_factory") {
870 testonly = true
871 sources = [
872 "test/mock_video_decoder_factory.h",
873 "test/mock_video_encoder_factory.h",
874 ]
875
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700876 deps = [
Mirko Bonadei34814c72018-01-11 10:13:56 +0100877 "../api/video_codecs:video_codecs_api",
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700878 "../test:test_support",
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700879 ]
880 }
881
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200882 rtc_library("mock_video_decoder") {
Erik Språngc84cd952018-10-15 11:55:13 +0200883 visibility = [ "*" ]
884
885 testonly = true
886 sources = [
887 "test/mock_video_decoder.cc",
888 "test/mock_video_decoder.h",
889 ]
890
891 deps = [
892 "../api/video_codecs:video_codecs_api",
893 "../test:test_support",
894 ]
895 }
896
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200897 rtc_library("mock_video_encoder") {
Erik Språngc84cd952018-10-15 11:55:13 +0200898 visibility = [ "*" ]
899
Erik Språng6af1c922018-10-12 10:01:30 +0200900 testonly = true
901 sources = [
902 "test/mock_video_encoder.cc",
903 "test/mock_video_encoder.h",
904 ]
905
906 deps = [
907 "../api/video_codecs:video_codecs_api",
908 "../test:test_support",
909 ]
910 }
911
Anton Sukhanov7940da02018-10-10 10:34:49 -0700912 rtc_source_set("fake_media_transport") {
913 testonly = true
914
915 sources = [
Bjorn A Mellemc85ebbe2019-06-07 10:28:06 -0700916 "test/fake_datagram_transport.h",
Anton Sukhanov7940da02018-10-10 10:34:49 -0700917 "test/fake_media_transport.h",
918 ]
919
920 deps = [
Anton Sukhanov7940da02018-10-10 10:34:49 -0700921 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 13:59:36 +0200922 "transport:datagram_transport_interface",
923 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 13:53:07 -0700924 "//third_party/abseil-cpp/absl/algorithm:container",
Anton Sukhanov7940da02018-10-10 10:34:49 -0700925 ]
926 }
Niels Möller2e47f7c2018-10-16 10:41:42 +0200927
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200928 rtc_library("loopback_media_transport") {
Niels Möller2e47f7c2018-10-16 10:41:42 +0200929 testonly = true
930
931 sources = [
Niels Möllere0446cb2018-11-30 09:35:52 +0100932 "test/loopback_media_transport.cc",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200933 "test/loopback_media_transport.h",
934 ]
935
936 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100937 "../rtc_base",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200938 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 13:59:36 +0200939 "transport:datagram_transport_interface",
940 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 13:53:07 -0700941 "//third_party/abseil-cpp/absl/algorithm:container",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200942 ]
943 }
944
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200945 rtc_library("rtc_api_unittests") {
Niels Möller2e47f7c2018-10-16 10:41:42 +0200946 testonly = true
947
948 sources = [
949 "array_view_unittest.cc",
Artem Titov741daaf2019-03-21 14:37:36 +0100950 "function_view_unittest.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800951 "rtc_error_unittest.cc",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200952 "rtc_event_log_output_file_unittest.cc",
Chen Xingd2a66862019-06-03 14:53:42 +0200953 "rtp_packet_info_unittest.cc",
954 "rtp_packet_infos_unittest.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800955 "rtp_parameters_unittest.cc",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200956 "test/loopback_media_transport_unittest.cc",
957 ]
958
Niels Möller2e47f7c2018-10-16 10:41:42 +0200959 deps = [
960 ":array_view",
Artem Titov741daaf2019-03-21 14:37:36 +0100961 ":function_view",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200962 ":libjingle_peerconnection_api",
963 ":loopback_media_transport",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200964 ":rtc_error",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200965 ":rtc_event_log_output_file",
Chen Xingd2a66862019-06-03 14:53:42 +0200966 ":rtp_packet_info",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200967 ":rtp_parameters",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200968 "../rtc_base:checks",
Mirko Bonadeie3abb812018-11-23 13:15:08 +0100969 "../rtc_base:gunit_helpers",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200970 "../rtc_base:rtc_base_approved",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200971 "../test:fileutils",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200972 "../test:test_support",
Danil Chapovalov2684ab32019-02-26 10:18:08 +0100973 "task_queue:task_queue_default_factory_unittests",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200974 "units:units_unittests",
Danil Chapovalovb703db92019-04-08 16:59:28 +0200975 "video:video_unittests",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200976 ]
977 }
Harald Alvestrand3cc45d42019-03-14 05:42:04 +0100978
Mirko Bonadei86d053c2019-10-17 21:32:04 +0200979 rtc_library("compile_all_headers") {
Harald Alvestrand3cc45d42019-03-14 05:42:04 +0100980 testonly = true
981
982 sources = [
983 "test/compile_all_headers.cc",
984 ]
985
986 deps = [
987 ":fake_frame_decryptor",
988 ":fake_frame_encryptor",
989 ":fake_media_transport",
990 ":loopback_media_transport",
991 ":mock_audio_mixer",
992 ":mock_frame_decryptor",
993 ":mock_frame_encryptor",
994 ":mock_peerconnectioninterface",
995 ":mock_rtp",
996 ":mock_video_bitrate_allocator",
997 ":mock_video_bitrate_allocator_factory",
998 ":mock_video_codec_factory",
999 ":mock_video_decoder",
1000 ":mock_video_encoder",
1001 ":rtc_api_unittests",
1002 "units:units_unittests",
1003 ]
1004 }
kjellanderfd5b4e92016-06-13 12:08:33 -07001005}