blob: 56b228321dade24df30c53ae2f230452133f547a [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 ]
36}
37
Danil Chapovalov5bf58062019-06-18 16:43:37 +020038if (!build_with_chromium) {
39 rtc_static_library("create_peerconnection_factory") {
40 visibility = [ "*" ]
Danil Chapovalov41300af2019-07-10 12:44:43 +020041 allow_poison = [ "default_task_queue" ]
Danil Chapovalov5bf58062019-06-18 16:43:37 +020042 sources = [
43 "create_peerconnection_factory.cc",
44 "create_peerconnection_factory.h",
45 ]
46 deps = [
47 ":callfactory_api",
48 ":libjingle_peerconnection_api",
49 ":scoped_refptr",
50 "../api/rtc_event_log:rtc_event_log_factory",
51 "../media:rtc_audio_video",
52 "../media:rtc_media_base",
53 "../modules/audio_device:audio_device_api",
54 "../modules/audio_processing:api",
55 "../pc:peerconnection",
56 "../rtc_base",
57 "../rtc_base:rtc_base_approved",
58 "audio:audio_mixer_api",
59 "audio_codecs:audio_codecs_api",
60 "task_queue:default_task_queue_factory",
61 "video_codecs:video_codecs_api",
62 "//third_party/abseil-cpp/absl/memory",
63 ]
64 }
Mirko Bonadei3cf8f3e2018-11-19 09:17:51 +010065}
66
Niels Möllerb8389522019-03-19 14:27:03 +010067rtc_source_set("rtp_headers") {
68 visibility = [ "*" ]
Niels Mölleref1052a2019-03-20 08:40:23 +010069 sources = [
70 "rtp_headers.cc",
71 "rtp_headers.h",
72 ]
73 deps = [
74 ":array_view",
75 "..:webrtc_common",
Sebastian Jansson3d61ab12019-06-14 13:35:51 +020076 "units:timestamp",
Chen Xing5d24b162019-06-10 12:59:38 +020077 "video:video_rtp_headers",
Niels Mölleref1052a2019-03-20 08:40:23 +010078 "//third_party/abseil-cpp/absl/types:optional",
79 ]
Niels Möllerb8389522019-03-19 14:27:03 +010080}
81
Chen Xingd2a66862019-06-03 14:53:42 +020082rtc_source_set("rtp_packet_info") {
83 visibility = [ "*" ]
84 sources = [
85 "rtp_packet_info.cc",
86 "rtp_packet_info.h",
87 "rtp_packet_infos.h",
88 ]
89 deps = [
90 ":array_view",
91 ":refcountedbase",
92 ":rtp_headers",
93 ":scoped_refptr",
94 "..:webrtc_common",
Chen Xinge08648d2019-08-05 16:29:13 +020095 "../rtc_base:deprecation",
Chen Xingd2a66862019-06-03 14:53:42 +020096 "../rtc_base:rtc_base_approved",
97 "//third_party/abseil-cpp/absl/types:optional",
98 ]
99}
100
Niels Möllerc1c62842019-09-17 10:16:05 +0200101rtc_source_set("media_stream_interface") {
102 visibility = [ "*" ]
103 # TODO(bugs.webrtc.org/8733): The files "media_stream_interface.cc",
104 # "media_stream_interface.h", and "notifier.h" should be moved into
105 # this target.
106}
107
ossu7bb87ee2017-01-23 04:56:25 -0800108rtc_static_library("libjingle_peerconnection_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000109 visibility = [ "*" ]
kjellanderc76dc952016-06-03 03:09:32 -0700110 cflags = []
111 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800112 "async_resolver_factory.h",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200113 "bitrate_constraints.h",
Steve Anton36b28db2017-10-26 11:27:17 -0700114 "candidate.cc",
Patrik Höglunde2d6a062017-10-05 14:53:33 +0200115 "candidate.h",
Anton Sukhanovc136b062019-05-14 14:53:42 -0700116 "congestion_control_interface.h",
Steve Anton10542f22019-01-11 09:11:00 -0800117 "crypto_params.h",
118 "data_channel_interface.cc",
119 "data_channel_interface.h",
Bjorn A Mellem05497f22019-08-01 10:48:20 -0700120 "data_channel_transport_interface.h",
Anton Sukhanovc136b062019-05-14 14:53:42 -0700121 "datagram_transport_interface.h",
Harald Alvestrand7061e512019-04-10 17:20:42 +0200122 "dtls_transport_interface.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800123 "dtls_transport_interface.h",
124 "dtmf_sender_interface.h",
Harald Alvestrand98462622019-01-30 14:57:03 +0100125 "ice_transport_interface.h",
Steve Anton845bb732017-12-05 12:50:26 -0800126 "jsep.cc",
kjellanderc76dc952016-06-03 03:09:32 -0700127 "jsep.h",
Steve Anton10542f22019-01-11 09:11:00 -0800128 "jsep_ice_candidate.cc",
129 "jsep_ice_candidate.h",
130 "jsep_session_description.h",
Steve Anton10542f22019-01-11 09:11:00 -0800131 "media_stream_interface.cc",
132 "media_stream_interface.h",
133 "media_stream_proxy.h",
134 "media_stream_track_proxy.h",
Anton Sukhanov4f08faa2019-05-21 11:12:57 -0700135 "media_transport_config.h",
Anton Sukhanovf60bd4b2018-09-05 13:41:46 -0400136 "media_transport_interface.h",
kjellanderc76dc952016-06-03 03:09:32 -0700137 "notifier.h",
Patrik Höglund662e31f2019-09-05 14:35:04 +0200138 "packet_socket_factory.h",
Steve Anton10542f22019-01-11 09:11:00 -0800139 "peer_connection_factory_proxy.h",
140 "peer_connection_interface.cc",
141 "peer_connection_interface.h",
142 "peer_connection_proxy.h",
Steve Antonf2737d22017-10-31 16:27:34 -0700143 "proxy.cc",
kjellanderc76dc952016-06-03 03:09:32 -0700144 "proxy.h",
Steve Anton10542f22019-01-11 09:11:00 -0800145 "rtp_receiver_interface.cc",
146 "rtp_receiver_interface.h",
147 "rtp_sender_interface.cc",
148 "rtp_sender_interface.h",
149 "rtp_transceiver_interface.cc",
150 "rtp_transceiver_interface.h",
Harald Alvestrandc85328f2019-02-28 07:51:00 +0100151 "sctp_transport_interface.cc",
152 "sctp_transport_interface.h",
Steve Anton10542f22019-01-11 09:11:00 -0800153 "set_remote_description_observer_interface.h",
154 "stats_types.cc",
155 "stats_types.h",
156 "turn_customizer.h",
157 "uma_metrics.h",
158 "video_track_source_proxy.h",
kjellanderc76dc952016-06-03 03:09:32 -0700159 ]
kjellanderc76dc952016-06-03 03:09:32 -0700160 deps = [
Patrik Höglund3e113432017-12-15 14:40:10 +0100161 ":array_view",
Niels Möllera6fe2612018-01-19 11:28:54 +0100162 ":audio_options_api",
Niels Möller8366e172018-02-14 12:20:13 +0100163 ":callfactory_api",
Ying Wang0dd1b0a2018-02-20 12:50:27 +0100164 ":fec_controller_api",
Niels Möller8366e172018-02-14 12:20:13 +0100165 ":libjingle_logging_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200166 ":network_state_predictor_api",
Patrik Höglund662e31f2019-09-05 14:35:04 +0200167 ":packet_socket_factory",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200168 ":rtc_error",
hbos74e1a4f2016-09-15 23:33:01 -0700169 ":rtc_stats_api",
Chen Xingd2a66862019-06-03 14:53:42 +0200170 ":rtp_packet_info",
Niels Möller184b4af2019-08-23 13:33:50 +0200171 ":rtp_parameters",
Mirko Bonadeid9708072019-01-25 20:26:48 +0100172 ":scoped_refptr",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100173 "audio:audio_mixer_api",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100174 "audio_codecs:audio_codecs_api",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200175 "crypto:frame_decryptor_interface",
176 "crypto:frame_encryptor_interface",
177 "crypto:options",
Danil Chapovalovb32f2c72019-05-22 13:39:25 +0200178 "rtc_event_log",
Danil Chapovalov9435c612019-04-01 10:33:16 +0200179 "task_queue",
Niels Möller0c4f7be2018-05-07 14:01:37 +0200180 "transport:bitrate_settings",
Niels Möller65f17ca2019-09-12 13:59:36 +0200181 "transport:datagram_transport_interface",
Sebastian Janssondfce03a2018-05-18 18:05:10 +0200182 "transport:network_control",
Niels Möllerec3b9ff2019-02-08 00:28:39 +0100183 "transport/media:audio_interfaces",
Niels Möller65f17ca2019-09-12 13:59:36 +0200184 "transport/media:media_transport_interface",
Niels Möller7e0e44f2019-02-12 14:04:11 +0100185 "transport/media:video_interfaces",
Niels Möllera8370302019-09-02 15:16:49 +0200186 "transport/rtp:rtp_source",
Piotr (Peter) Slatala48c54932019-01-28 06:50:38 -0800187 "units:data_rate",
Bjorn A Mellem57dc02a2019-05-30 09:15:37 -0700188 "units:timestamp",
Niels Möller3a742392018-10-08 11:13:58 +0200189 "video:encoded_image",
Niels Möllerc6ce9c52018-05-11 11:15:30 +0200190 "video:video_frame",
Chen Xing5d24b162019-06-10 12:59:38 +0200191 "video:video_rtp_headers",
Steve Anton2c9ebef2019-01-28 17:27:58 -0800192 "//third_party/abseil-cpp/absl/algorithm:container",
Steve Anton8e967df2019-07-30 18:07:40 -0700193 "//third_party/abseil-cpp/absl/memory",
Steve Anton6fe1fba2018-12-11 10:15:23 -0800194 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +0200195 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100196
197 # Basically, don't add stuff here. You might break sensitive downstream
198 # targets like pnacl. API should not depend on anything outside of this
199 # file, really. All these should arguably go away in time.
kjellander8a116632017-04-21 05:17:08 -0700200 "..:webrtc_common",
Niels Möller6daa2782018-01-23 10:37:42 +0100201 "../media:rtc_media_config",
Patrik Höglundb874a352017-11-27 14:32:41 +0100202 "../modules/audio_processing:audio_processing_statistics",
Artem Titov94b57c02019-03-21 13:35:10 +0100203 "../rtc_base",
Patrik Höglund3e113432017-12-15 14:40:10 +0100204 "../rtc_base:checks",
205 "../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700206 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +0200207 "../rtc_base/system:rtc_export",
kjellanderc76dc952016-06-03 03:09:32 -0700208 ]
ossu7bb87ee2017-01-23 04:56:25 -0800209}
kjellanderc76dc952016-06-03 03:09:32 -0700210
Mirko Bonadei9bc98852019-09-10 10:05:26 +0200211rtc_source_set("rtc_error") {
212 visibility = [ "*" ]
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200213 sources = [
214 "rtc_error.cc",
215 "rtc_error.h",
216 ]
217 deps = [
218 "../rtc_base:checks",
219 "../rtc_base:logging",
220 "../rtc_base:macromagic",
221 "../rtc_base/system:rtc_export",
222 "//third_party/abseil-cpp/absl/strings",
223 ]
Mirko Bonadei9bc98852019-09-10 10:05:26 +0200224}
225
Patrik Höglund662e31f2019-09-05 14:35:04 +0200226rtc_source_set("packet_socket_factory") {
227 visibility = [ "*" ]
228 sources = [
229 # TODO(bugs.webrtc.org/7447: remove .h files from the api target once
230 # downstream is updated to use the new target.
231 "async_resolver_factory.h",
232 "packet_socket_factory.h",
233 ]
234 deps = [
235 "../rtc_base:rtc_base",
236 "../rtc_base/system:rtc_export",
237 ]
238}
239
Mirko Bonadei85340ce2018-11-19 15:51:39 +0100240rtc_source_set("scoped_refptr") {
241 visibility = [ "*" ]
242 sources = [
243 "scoped_refptr.h",
244 ]
245}
246
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200247rtc_source_set("video_quality_test_fixture_api") {
248 visibility = [ "*" ]
249 testonly = true
250 sources = [
251 "test/video_quality_test_fixture.h",
252 ]
253 deps = [
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200254 ":fec_controller_api",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200255 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200256 ":network_state_predictor_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200257 ":rtp_parameters",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200258 ":simulated_network_api",
259 "../call:fake_network",
260 "../call:rtp_interfaces",
261 "../test:test_common",
262 "../test:video_test_common",
Sebastian Jansson1391ed22019-04-30 14:23:51 +0200263 "transport:network_control",
Niels Möller65f17ca2019-09-12 13:59:36 +0200264 "transport/media:media_transport_interface",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200265 "video_codecs:video_codecs_api",
266 ]
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200267}
268
Artem Titovd57628f2019-03-22 12:34:25 +0100269rtc_source_set("video_quality_analyzer_api") {
270 visibility = [ "*" ]
271 testonly = true
272 sources = [
273 "test/video_quality_analyzer_interface.h",
274 ]
275
276 deps = [
277 ":stats_observer_interface",
278 "video:encoded_image",
279 "video:video_frame",
Chen Xing5d24b162019-06-10 12:59:38 +0200280 "video:video_rtp_headers",
Artem Titovd57628f2019-03-22 12:34:25 +0100281 "video_codecs:video_codecs_api",
Artem Titovd57628f2019-03-22 12:34:25 +0100282 "//third_party/abseil-cpp/absl/types:optional",
283 ]
284}
285
Mirko Bonadeif948eb62019-04-05 15:13:23 +0200286rtc_source_set("track_id_stream_label_map") {
287 visibility = [ "*" ]
288 sources = [
289 "test/track_id_stream_label_map.h",
290 ]
291}
292
Niels Möller184b4af2019-08-23 13:33:50 +0200293rtc_source_set("rtp_parameters") {
294 visibility = [ "*" ]
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200295 sources = [
296 "media_types.cc",
297 "media_types.h",
298 "rtp_parameters.cc",
299 "rtp_parameters.h",
300 ]
301 deps = [
302 ":array_view",
303 "../rtc_base:checks",
304 "../rtc_base:stringutils",
305 "../rtc_base/system:rtc_export",
306 "//third_party/abseil-cpp/absl/types:optional",
307 ]
Niels Möller184b4af2019-08-23 13:33:50 +0200308}
309
Artem Titovd57628f2019-03-22 12:34:25 +0100310rtc_source_set("audio_quality_analyzer_api") {
311 visibility = [ "*" ]
312 testonly = true
313 sources = [
314 "test/audio_quality_analyzer_interface.h",
315 ]
316
317 deps = [
318 ":stats_observer_interface",
Mirko Bonadeif948eb62019-04-05 15:13:23 +0200319 ":track_id_stream_label_map",
Artem Titovd57628f2019-03-22 12:34:25 +0100320 ]
321}
322
323rtc_source_set("stats_observer_interface") {
324 visibility = [ "*" ]
325 testonly = true
326 sources = [
327 "test/stats_observer_interface.h",
328 ]
329
330 deps = [
Niels Möllerb4a61282019-08-29 12:16:56 +0200331 # For api/stats_types.h
Artem Titovd57628f2019-03-22 12:34:25 +0100332 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200333 ":rtp_parameters",
Artem Titovd57628f2019-03-22 12:34:25 +0100334 ]
335}
336
337rtc_source_set("peer_connection_quality_test_fixture_api") {
338 visibility = [ "*" ]
339 testonly = true
340 sources = [
341 "test/peerconnection_quality_test_fixture.h",
342 ]
343
344 deps = [
345 ":audio_quality_analyzer_api",
346 ":callfactory_api",
347 ":fec_controller_api",
348 ":function_view",
349 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200350 ":network_state_predictor_api",
Artem Titovd57628f2019-03-22 12:34:25 +0100351 ":simulated_network_api",
Artem Titova8549212019-08-19 14:38:06 +0200352 ":stats_observer_interface",
Artem Titovd57628f2019-03-22 12:34:25 +0100353 ":video_quality_analyzer_api",
Artem Titovf65a89b2019-05-07 11:56:44 +0200354 "../media:rtc_media_base",
Artem Titovd57628f2019-03-22 12:34:25 +0100355 "../rtc_base:rtc_base",
Danil Chapovalov9305d112019-09-04 13:16:09 +0200356 "rtc_event_log",
Danil Chapovalov1a5fc902019-06-10 12:58:03 +0200357 "task_queue",
Artem Titovd57628f2019-03-22 12:34:25 +0100358 "transport:network_control",
Niels Möller65f17ca2019-09-12 13:59:36 +0200359 "transport/media:media_transport_interface",
Artem Titovd57628f2019-03-22 12:34:25 +0100360 "units:time_delta",
361 "video_codecs:video_codecs_api",
362 "//third_party/abseil-cpp/absl/memory",
363 "//third_party/abseil-cpp/absl/types:optional",
364 ]
365}
366
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200367rtc_source_set("test_dependency_factory") {
368 visibility = [ "*" ]
369 testonly = true
370 sources = [
371 "test/test_dependency_factory.cc",
372 "test/test_dependency_factory.h",
373 ]
374 deps = [
375 ":video_quality_test_fixture_api",
Yves Gerey3e707812018-11-28 16:47:49 +0100376 "../rtc_base:checks",
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200377 "../rtc_base:thread_checker",
tzikf0e926f2018-10-15 13:52:10 +0900378 "//third_party/abseil-cpp/absl/memory",
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200379 ]
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200380}
381
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200382if (rtc_include_tests) {
383 rtc_source_set("create_video_quality_test_fixture_api") {
384 visibility = [ "*" ]
385 testonly = true
386 sources = [
387 "test/create_video_quality_test_fixture.cc",
388 "test/create_video_quality_test_fixture.h",
389 ]
390 deps = [
391 ":fec_controller_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200392 ":network_state_predictor_api",
Mirko Bonadeid9708072019-01-25 20:26:48 +0100393 ":scoped_refptr",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200394 ":video_quality_test_fixture_api",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200395 "../video:video_quality_test",
Karl Wiberg918f50c2018-07-05 11:40:33 +0200396 "//third_party/abseil-cpp/absl/memory",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200397 ]
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200398 }
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100399
Artem Titov8ea8dcb2019-03-26 13:38:02 +0100400 rtc_source_set("create_network_emulation_manager") {
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100401 visibility = [ "*" ]
402 testonly = true
403 sources = [
404 "test/create_network_emulation_manager.cc",
405 "test/create_network_emulation_manager.h",
406 ]
407 deps = [
408 ":network_emulation_manager_api",
Artem Titov386802e2019-07-05 10:48:17 +0200409 "../test/network:emulated_network",
Artem Titov533a9fe2019-03-21 12:18:05 +0100410 "//third_party/abseil-cpp/absl/memory",
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100411 ]
412 }
Artem Titovd57628f2019-03-22 12:34:25 +0100413
414 rtc_source_set("create_peerconnection_quality_test_fixture") {
415 visibility = [ "*" ]
416 testonly = true
417 sources = [
418 "test/create_peerconnection_quality_test_fixture.cc",
419 "test/create_peerconnection_quality_test_fixture.h",
420 ]
421
422 deps = [
423 ":audio_quality_analyzer_api",
424 ":peer_connection_quality_test_fixture_api",
425 ":video_quality_analyzer_api",
426 "../test/pc/e2e:peerconnection_quality_test",
427 "//third_party/abseil-cpp/absl/memory",
428 ]
429 }
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200430}
431
Elad Alon80810732017-10-06 13:07:32 +0200432rtc_source_set("libjingle_logging_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000433 visibility = [ "*" ]
Elad Alon80810732017-10-06 13:07:32 +0200434 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800435 "rtc_event_log_output.h",
Elad Alon80810732017-10-06 13:07:32 +0200436 ]
437}
438
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200439rtc_source_set("rtc_event_log_output_file") {
440 visibility = [ "*" ]
441 sources = [
442 "rtc_event_log_output_file.cc",
443 "rtc_event_log_output_file.h",
444 ]
445
446 deps = [
447 ":libjingle_logging_api",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200448 "../rtc_base:checks",
449 "../rtc_base:rtc_base_approved",
450 "../rtc_base/system:file_wrapper",
Danil Chapovalovb32f2c72019-05-22 13:39:25 +0200451 "rtc_event_log",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200452 ]
453}
454
hbos74e1a4f2016-09-15 23:33:01 -0700455rtc_source_set("rtc_stats_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000456 visibility = [ "*" ]
hbos74e1a4f2016-09-15 23:33:01 -0700457 cflags = []
458 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800459 "stats/rtc_stats.h",
460 "stats/rtc_stats_collector_callback.h",
461 "stats/rtc_stats_report.h",
hbos74e1a4f2016-09-15 23:33:01 -0700462 "stats/rtcstats_objects.h",
hbos74e1a4f2016-09-15 23:33:01 -0700463 ]
464
465 deps = [
Mirko Bonadeid9708072019-01-25 20:26:48 +0100466 ":scoped_refptr",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100467 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700468 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +0200469 "../rtc_base/system:rtc_export",
hbos74e1a4f2016-09-15 23:33:01 -0700470 ]
471}
472
Niels Möllera6fe2612018-01-19 11:28:54 +0100473rtc_source_set("audio_options_api") {
474 visibility = [ "*" ]
475 sources = [
Paulina Hensman11b34f42018-04-09 14:24:52 +0200476 "audio_options.cc",
Niels Möllera6fe2612018-01-19 11:28:54 +0100477 "audio_options.h",
478 ]
479
480 deps = [
Yves Gerey3e707812018-11-28 16:47:49 +0100481 ":array_view",
Danil Chapovalov21652332018-08-31 10:29:07 +0200482 "../rtc_base:stringutils",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +0200483 "//third_party/abseil-cpp/absl/types:optional",
Niels Möllera6fe2612018-01-19 11:28:54 +0100484 ]
485}
486
aleloia8eb7562016-11-28 07:02:13 -0800487rtc_source_set("transport_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000488 visibility = [ "*" ]
aleloia8eb7562016-11-28 07:02:13 -0800489 sources = [
Dino Radaković1807d572018-02-22 14:18:06 +0100490 "call/transport.cc",
aleloia8eb7562016-11-28 07:02:13 -0800491 "call/transport.h",
492 ]
493}
nisseb2250e52016-12-02 04:01:14 -0800494
Sebastian Jansson6736df12018-11-21 19:18:39 +0100495rtc_source_set("bitrate_allocation") {
496 visibility = [ "*" ]
497 sources = [
498 "call/bitrate_allocation.h",
499 ]
500 deps = [
501 "units:data_rate",
502 "units:time_delta",
503 ]
504}
505
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200506rtc_source_set("simulated_network_api") {
507 visibility = [ "*" ]
508 sources = [
509 "test/simulated_network.h",
510 ]
511 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100512 "../rtc_base",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200513 "../rtc_base:criticalsection",
Danil Chapovalov065a52a2018-07-09 10:58:54 +0200514 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200515 ]
516}
517
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100518rtc_source_set("network_emulation_manager_api") {
519 visibility = [ "*" ]
520 sources = [
521 "test/network_emulation_manager.h",
522 ]
523 deps = [
524 ":simulated_network_api",
Artem Titov94b57c02019-03-21 13:35:10 +0100525 "../rtc_base",
Artem Titov806299e2019-04-12 12:17:19 +0200526 "units:data_rate",
527 "units:data_size",
528 "units:timestamp",
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100529 ]
530}
531
Ying Wang3b790f32018-01-19 17:58:57 +0100532rtc_source_set("fec_controller_api") {
533 visibility = [ "*" ]
534 sources = [
535 "fec_controller.h",
Elad Alon8f01c4e2019-06-28 15:19:43 +0200536 "fec_controller_override.h",
Ying Wang3b790f32018-01-19 17:58:57 +0100537 ]
538
539 deps = [
Ying Wang0dd1b0a2018-02-20 12:50:27 +0100540 "../modules:module_fec_api",
Niels Möller8f7ce222019-03-21 15:43:58 +0100541 "video:video_frame_type",
Ying Wang3b790f32018-01-19 17:58:57 +0100542 ]
543}
544
Ying Wang0810a7c2019-04-10 13:48:24 +0200545rtc_source_set("network_state_predictor_api") {
546 visibility = [ "*" ]
547 sources = [
548 "network_state_predictor.h",
549 ]
550}
551
kwiberg529662a2017-09-04 05:43:17 -0700552rtc_source_set("array_view") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000553 visibility = [ "*" ]
kwiberg529662a2017-09-04 05:43:17 -0700554 sources = [
555 "array_view.h",
556 ]
557 deps = [
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100558 "../rtc_base:checks",
559 "../rtc_base:type_traits",
kwiberg529662a2017-09-04 05:43:17 -0700560 ]
561}
562
Niels Möller9155e492017-10-23 11:22:30 +0200563rtc_source_set("refcountedbase") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000564 visibility = [ "*" ]
Niels Möller9155e492017-10-23 11:22:30 +0200565 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800566 "ref_counted_base.h",
Niels Möller9155e492017-10-23 11:22:30 +0200567 ]
568 deps = [
569 "../rtc_base:rtc_base_approved",
570 ]
571}
572
Harald Alvestrand98462622019-01-30 14:57:03 +0100573rtc_source_set("ice_transport_factory") {
574 visibility = [ "*" ]
575 sources = [
576 "ice_transport_factory.cc",
577 "ice_transport_factory.h",
578 ]
579 deps = [
580 ":libjingle_peerconnection_api",
581 ":scoped_refptr",
582 "../p2p:rtc_p2p",
Artem Titov94b57c02019-03-21 13:35:10 +0100583 "../rtc_base",
Mirko Bonadei66e76792019-04-02 11:33:59 +0200584 "../rtc_base/system:rtc_export",
Steve Anton6fdfec12019-07-01 14:07:33 -0700585 "rtc_event_log:rtc_event_log",
Artem Titov533a9fe2019-03-21 12:18:05 +0100586 "//third_party/abseil-cpp/absl/memory",
Harald Alvestrand98462622019-01-30 14:57:03 +0100587 ]
588}
589
Ivo Creusen55de08e2018-09-03 11:49:27 +0200590rtc_source_set("neteq_simulator_api") {
591 visibility = [ "*" ]
592 sources = [
593 "test/neteq_simulator.cc",
594 "test/neteq_simulator.h",
595 ]
596}
597
Artem Titov741daaf2019-03-21 14:37:36 +0100598rtc_source_set("function_view") {
599 visibility = [ "*" ]
600 sources = [
601 "function_view.h",
602 ]
603 deps = [
604 "../rtc_base:checks",
605 ]
606}
607
kjellanderfd5b4e92016-06-13 12:08:33 -0700608if (rtc_include_tests) {
Ivo Creusen2cb41052018-03-15 12:22:52 +0100609 if (rtc_enable_protobuf) {
610 rtc_source_set("audioproc_f_api") {
611 visibility = [ "*" ]
612 testonly = true
613 sources = [
614 "test/audioproc_float.cc",
615 "test/audioproc_float.h",
616 ]
617
618 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100619 "../modules/audio_processing",
Alessio Bazzicab768e882018-11-07 14:29:54 +0000620 "../modules/audio_processing:api",
Ivo Creusen2cb41052018-03-15 12:22:52 +0100621 "../modules/audio_processing:audioproc_f_impl",
622 ]
623 }
Ivo Creusen55de08e2018-09-03 11:49:27 +0200624
625 rtc_source_set("neteq_simulator_factory") {
626 visibility = [ "*" ]
627 testonly = true
628 sources = [
629 "test/neteq_simulator_factory.cc",
630 "test/neteq_simulator_factory.h",
631 ]
632 deps = [
633 ":neteq_simulator_api",
634 "../modules/audio_coding:neteq_test_factory",
Ivo Creusenf81b0f12018-09-11 10:30:58 +0200635 "../rtc_base:checks",
Mirko Bonadei2ab97f62019-07-18 13:44:12 +0200636 "//third_party/abseil-cpp/absl/flags:flag",
637 "//third_party/abseil-cpp/absl/flags:parse",
Ivo Creusen55de08e2018-09-03 11:49:27 +0200638 "//third_party/abseil-cpp/absl/memory",
Ivo Creusen5ec61562019-03-20 10:52:18 +0100639 "//third_party/abseil-cpp/absl/strings",
Ivo Creusen55de08e2018-09-03 11:49:27 +0200640 ]
641 }
Ivo Creusen2cb41052018-03-15 12:22:52 +0100642 }
643
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200644 rtc_source_set("simulcast_test_fixture_api") {
645 visibility = [ "*" ]
646 testonly = true
647 sources = [
648 "test/simulcast_test_fixture.h",
649 ]
650 }
651
652 rtc_source_set("create_simulcast_test_fixture_api") {
653 visibility = [ "*" ]
654 testonly = true
655 sources = [
656 "test/create_simulcast_test_fixture.cc",
657 "test/create_simulcast_test_fixture.h",
658 ]
659 deps = [
660 ":simulcast_test_fixture_api",
661 "../modules/video_coding:simulcast_test_fixture_impl",
662 "../rtc_base:rtc_base_approved",
663 "video_codecs:video_codecs_api",
Karl Wiberg918f50c2018-07-05 11:40:33 +0200664 "//third_party/abseil-cpp/absl/memory",
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200665 ]
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200666 }
667
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200668 rtc_source_set("videocodec_test_fixture_api") {
669 visibility = [ "*" ]
670 testonly = true
671 sources = [
672 "test/videocodec_test_fixture.h",
Kári Tristan Helgason169005d2018-05-22 13:34:14 +0200673 "test/videocodec_test_stats.cc",
674 "test/videocodec_test_stats.h",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200675 ]
676 deps = [
Kári Tristan Helgason169005d2018-05-22 13:34:14 +0200677 "..:webrtc_common",
678 "../modules/video_coding:video_codec_interface",
Jonas Olsson366a50c2018-09-06 13:41:30 +0200679 "../rtc_base:stringutils",
Niels Möller8f7ce222019-03-21 15:43:58 +0100680 "video:video_frame_type",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200681 "video_codecs:video_codecs_api",
682 ]
683 }
684
685 rtc_source_set("create_videocodec_test_fixture_api") {
686 visibility = [ "*" ]
687 testonly = true
688 sources = [
689 "test/create_videocodec_test_fixture.cc",
690 "test/create_videocodec_test_fixture.h",
691 ]
692 deps = [
693 ":videocodec_test_fixture_api",
694 "../modules/video_coding:video_codecs_test_framework",
695 "../modules/video_coding:videocodec_test_impl",
696 "../rtc_base:rtc_base_approved",
697 "video_codecs:video_codecs_api",
Karl Wiberg918f50c2018-07-05 11:40:33 +0200698 "//third_party/abseil-cpp/absl/memory",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200699 ]
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200700 }
701
kjellander2f6af9c2017-03-02 22:26:23 -0800702 rtc_source_set("mock_audio_mixer") {
703 testonly = true
704 sources = [
705 "test/mock_audio_mixer.h",
706 ]
707
kjellander2f6af9c2017-03-02 22:26:23 -0800708 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700709 "../test:test_support",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100710 "audio:audio_mixer_api",
kjellander2f6af9c2017-03-02 22:26:23 -0800711 ]
712 }
713
Elad Alon45befc52019-07-02 11:20:09 +0200714 rtc_source_set("mock_fec_controller_override") {
715 testonly = true
716 sources = [
717 "test/mock_fec_controller_override.h",
718 ]
719 deps = [
720 ":fec_controller_api",
721 "../test:test_support",
722 ]
723 }
724
Benjamin Wright78410ad2018-10-25 09:52:57 -0700725 rtc_source_set("mock_frame_encryptor") {
726 testonly = true
727 sources = [
728 "test/mock_frame_encryptor.cc",
729 "test/mock_frame_encryptor.h",
730 ]
731 deps = [
Niels Möllerb4a61282019-08-29 12:16:56 +0200732 # For api/crypto/frame_encryptor_interface.h
Benjamin Wright78410ad2018-10-25 09:52:57 -0700733 ":libjingle_peerconnection_api",
734 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200735 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700736 ]
737 }
738
739 rtc_source_set("mock_frame_decryptor") {
740 testonly = true
741 sources = [
742 "test/mock_frame_decryptor.cc",
743 "test/mock_frame_decryptor.h",
744 ]
745 deps = [
746 ":libjingle_peerconnection_api",
747 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200748 "crypto:frame_decryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700749 ]
750 }
751
752 rtc_source_set("fake_frame_encryptor") {
753 testonly = true
754 sources = [
755 "test/fake_frame_encryptor.cc",
756 "test/fake_frame_encryptor.h",
757 ]
758 deps = [
759 ":array_view",
760 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200761 ":rtp_parameters",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700762 "..:webrtc_common",
763 "../rtc_base:checks",
764 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200765 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700766 ]
767 }
768
769 rtc_source_set("fake_frame_decryptor") {
Benjamin Wright84583f62018-10-04 14:22:34 -0700770 testonly = true
771 sources = [
772 "test/fake_frame_decryptor.cc",
773 "test/fake_frame_decryptor.h",
Benjamin Wright84583f62018-10-04 14:22:34 -0700774 ]
775 deps = [
776 ":array_view",
777 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200778 ":rtp_parameters",
Benjamin Wright84583f62018-10-04 14:22:34 -0700779 "..:webrtc_common",
780 "../rtc_base:checks",
781 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200782 "crypto:frame_decryptor_interface",
Benjamin Wright84583f62018-10-04 14:22:34 -0700783 ]
784 }
785
Niels Möllere78fd802019-09-13 14:45:55 +0200786 rtc_source_set("dummy_peer_connection") {
787 visibility = [ "*" ]
788 testonly = true
789 sources = [
790 "test/dummy_peer_connection.h",
791 ]
792
793 deps = [
794 ":libjingle_peerconnection_api",
795 ":rtc_error",
796 "../rtc_base:checks",
797 "../rtc_base:refcount",
798 ]
799 }
800
Jiawei Ou651b92e2018-06-29 15:46:44 -0700801 rtc_source_set("mock_peerconnectioninterface") {
802 testonly = true
803 sources = [
804 "test/mock_peerconnectioninterface.h",
805 ]
806
807 deps = [
808 ":libjingle_peerconnection_api",
809 "../test:test_support",
810 ]
811 }
812
Patrik Höglund4b9e6ba2017-12-19 10:32:11 +0100813 rtc_source_set("mock_rtp") {
814 testonly = true
815 sources = [
816 "test/mock_rtpreceiver.h",
817 "test/mock_rtpsender.h",
818 ]
819
820 deps = [
821 ":libjingle_peerconnection_api",
822 "../test:test_support",
Patrik Höglund4b9e6ba2017-12-19 10:32:11 +0100823 ]
824 }
825
Jiawei Ou4206a0a2018-07-20 15:49:43 -0700826 rtc_source_set("mock_video_bitrate_allocator") {
827 testonly = true
828 sources = [
829 "test/mock_video_bitrate_allocator.h",
830 ]
831
832 deps = [
833 "../api/video:video_bitrate_allocator",
834 "../test:test_support",
835 ]
836 }
837
Jiawei Ouc2ebe212018-11-08 10:02:56 -0800838 rtc_source_set("mock_video_bitrate_allocator_factory") {
839 testonly = true
840 sources = [
841 "test/mock_video_bitrate_allocator_factory.h",
842 ]
843
844 deps = [
845 "../api/video:video_bitrate_allocator_factory",
846 "../test:test_support",
847 ]
848 }
849
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700850 rtc_source_set("mock_video_codec_factory") {
851 testonly = true
852 sources = [
853 "test/mock_video_decoder_factory.h",
854 "test/mock_video_encoder_factory.h",
855 ]
856
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700857 deps = [
Mirko Bonadei34814c72018-01-11 10:13:56 +0100858 "../api/video_codecs:video_codecs_api",
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700859 "../test:test_support",
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700860 ]
861 }
862
Erik Språngc84cd952018-10-15 11:55:13 +0200863 rtc_source_set("mock_video_decoder") {
864 visibility = [ "*" ]
865
866 testonly = true
867 sources = [
868 "test/mock_video_decoder.cc",
869 "test/mock_video_decoder.h",
870 ]
871
872 deps = [
873 "../api/video_codecs:video_codecs_api",
874 "../test:test_support",
875 ]
876 }
877
Erik Språng6af1c922018-10-12 10:01:30 +0200878 rtc_source_set("mock_video_encoder") {
Erik Språngc84cd952018-10-15 11:55:13 +0200879 visibility = [ "*" ]
880
Erik Språng6af1c922018-10-12 10:01:30 +0200881 testonly = true
882 sources = [
883 "test/mock_video_encoder.cc",
884 "test/mock_video_encoder.h",
885 ]
886
887 deps = [
888 "../api/video_codecs:video_codecs_api",
889 "../test:test_support",
890 ]
891 }
892
Anton Sukhanov7940da02018-10-10 10:34:49 -0700893 rtc_source_set("fake_media_transport") {
894 testonly = true
895
896 sources = [
Bjorn A Mellemc85ebbe2019-06-07 10:28:06 -0700897 "test/fake_datagram_transport.h",
Anton Sukhanov7940da02018-10-10 10:34:49 -0700898 "test/fake_media_transport.h",
899 ]
900
901 deps = [
Anton Sukhanov7940da02018-10-10 10:34:49 -0700902 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 13:59:36 +0200903 "transport:datagram_transport_interface",
904 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 13:53:07 -0700905 "//third_party/abseil-cpp/absl/algorithm:container",
Yves Gerey3e707812018-11-28 16:47:49 +0100906 "//third_party/abseil-cpp/absl/memory",
Anton Sukhanov7940da02018-10-10 10:34:49 -0700907 ]
908 }
Niels Möller2e47f7c2018-10-16 10:41:42 +0200909
910 rtc_source_set("loopback_media_transport") {
911 testonly = true
912
913 sources = [
Niels Möllere0446cb2018-11-30 09:35:52 +0100914 "test/loopback_media_transport.cc",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200915 "test/loopback_media_transport.h",
916 ]
917
918 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100919 "../rtc_base",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200920 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 13:59:36 +0200921 "transport:datagram_transport_interface",
922 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 13:53:07 -0700923 "//third_party/abseil-cpp/absl/algorithm:container",
Niels Möllere0446cb2018-11-30 09:35:52 +0100924 "//third_party/abseil-cpp/absl/memory",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200925 ]
926 }
927
928 rtc_source_set("rtc_api_unittests") {
929 testonly = true
930
931 sources = [
932 "array_view_unittest.cc",
Artem Titov741daaf2019-03-21 14:37:36 +0100933 "function_view_unittest.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800934 "rtc_error_unittest.cc",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200935 "rtc_event_log_output_file_unittest.cc",
Chen Xingd2a66862019-06-03 14:53:42 +0200936 "rtp_packet_info_unittest.cc",
937 "rtp_packet_infos_unittest.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800938 "rtp_parameters_unittest.cc",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200939 "test/loopback_media_transport_unittest.cc",
940 ]
941
Niels Möller2e47f7c2018-10-16 10:41:42 +0200942 deps = [
943 ":array_view",
Artem Titov741daaf2019-03-21 14:37:36 +0100944 ":function_view",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200945 ":libjingle_peerconnection_api",
946 ":loopback_media_transport",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200947 ":rtc_error",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200948 ":rtc_event_log_output_file",
Chen Xingd2a66862019-06-03 14:53:42 +0200949 ":rtp_packet_info",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200950 ":rtp_parameters",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200951 "../rtc_base:checks",
Mirko Bonadeie3abb812018-11-23 13:15:08 +0100952 "../rtc_base:gunit_helpers",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200953 "../rtc_base:rtc_base_approved",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200954 "../test:fileutils",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200955 "../test:test_support",
Danil Chapovalov2684ab32019-02-26 10:18:08 +0100956 "task_queue:task_queue_default_factory_unittests",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200957 "units:units_unittests",
Danil Chapovalovb703db92019-04-08 16:59:28 +0200958 "video:video_unittests",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200959 "//third_party/abseil-cpp/absl/memory",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200960 ]
961 }
Harald Alvestrand3cc45d42019-03-14 05:42:04 +0100962
963 rtc_source_set("compile_all_headers") {
964 testonly = true
965
966 sources = [
967 "test/compile_all_headers.cc",
968 ]
969
970 deps = [
971 ":fake_frame_decryptor",
972 ":fake_frame_encryptor",
973 ":fake_media_transport",
974 ":loopback_media_transport",
975 ":mock_audio_mixer",
976 ":mock_frame_decryptor",
977 ":mock_frame_encryptor",
978 ":mock_peerconnectioninterface",
979 ":mock_rtp",
980 ":mock_video_bitrate_allocator",
981 ":mock_video_bitrate_allocator_factory",
982 ":mock_video_codec_factory",
983 ":mock_video_decoder",
984 ":mock_video_encoder",
985 ":rtc_api_unittests",
986 "units:units_unittests",
987 ]
988 }
kjellanderfd5b4e92016-06-13 12:08:33 -0700989}