blob: 71226e94ce0fe9f3d4f93c21095ae10e581b4809 [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
ossu7bb87ee2017-01-23 04:56:25 -0800101rtc_static_library("libjingle_peerconnection_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000102 visibility = [ "*" ]
kjellanderc76dc952016-06-03 03:09:32 -0700103 cflags = []
104 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800105 "async_resolver_factory.h",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200106 "bitrate_constraints.h",
Steve Anton36b28db2017-10-26 11:27:17 -0700107 "candidate.cc",
Patrik Höglunde2d6a062017-10-05 14:53:33 +0200108 "candidate.h",
Anton Sukhanovc136b062019-05-14 14:53:42 -0700109 "congestion_control_interface.h",
Steve Anton10542f22019-01-11 09:11:00 -0800110 "crypto_params.h",
111 "data_channel_interface.cc",
112 "data_channel_interface.h",
Bjorn A Mellem05497f22019-08-01 10:48:20 -0700113 "data_channel_transport_interface.h",
Anton Sukhanovc136b062019-05-14 14:53:42 -0700114 "datagram_transport_interface.h",
Harald Alvestrand7061e512019-04-10 17:20:42 +0200115 "dtls_transport_interface.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800116 "dtls_transport_interface.h",
117 "dtmf_sender_interface.h",
Harald Alvestrand98462622019-01-30 14:57:03 +0100118 "ice_transport_interface.h",
Steve Anton845bb732017-12-05 12:50:26 -0800119 "jsep.cc",
kjellanderc76dc952016-06-03 03:09:32 -0700120 "jsep.h",
Steve Anton10542f22019-01-11 09:11:00 -0800121 "jsep_ice_candidate.cc",
122 "jsep_ice_candidate.h",
123 "jsep_session_description.h",
Steve Anton10542f22019-01-11 09:11:00 -0800124 "media_stream_interface.cc",
125 "media_stream_interface.h",
126 "media_stream_proxy.h",
127 "media_stream_track_proxy.h",
Anton Sukhanov4f08faa2019-05-21 11:12:57 -0700128 "media_transport_config.h",
Anton Sukhanovf60bd4b2018-09-05 13:41:46 -0400129 "media_transport_interface.h",
kjellanderc76dc952016-06-03 03:09:32 -0700130 "notifier.h",
Patrik Höglund662e31f2019-09-05 14:35:04 +0200131 "packet_socket_factory.h",
Steve Anton10542f22019-01-11 09:11:00 -0800132 "peer_connection_factory_proxy.h",
133 "peer_connection_interface.cc",
134 "peer_connection_interface.h",
135 "peer_connection_proxy.h",
Steve Antonf2737d22017-10-31 16:27:34 -0700136 "proxy.cc",
kjellanderc76dc952016-06-03 03:09:32 -0700137 "proxy.h",
Steve Anton10542f22019-01-11 09:11:00 -0800138 "rtp_receiver_interface.cc",
139 "rtp_receiver_interface.h",
140 "rtp_sender_interface.cc",
141 "rtp_sender_interface.h",
142 "rtp_transceiver_interface.cc",
143 "rtp_transceiver_interface.h",
Harald Alvestrandc85328f2019-02-28 07:51:00 +0100144 "sctp_transport_interface.cc",
145 "sctp_transport_interface.h",
Steve Anton10542f22019-01-11 09:11:00 -0800146 "set_remote_description_observer_interface.h",
147 "stats_types.cc",
148 "stats_types.h",
149 "turn_customizer.h",
150 "uma_metrics.h",
151 "video_track_source_proxy.h",
kjellanderc76dc952016-06-03 03:09:32 -0700152 ]
kjellanderc76dc952016-06-03 03:09:32 -0700153 deps = [
Patrik Höglund3e113432017-12-15 14:40:10 +0100154 ":array_view",
Niels Möllera6fe2612018-01-19 11:28:54 +0100155 ":audio_options_api",
Niels Möller8366e172018-02-14 12:20:13 +0100156 ":callfactory_api",
Ying Wang0dd1b0a2018-02-20 12:50:27 +0100157 ":fec_controller_api",
Niels Möller8366e172018-02-14 12:20:13 +0100158 ":libjingle_logging_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200159 ":network_state_predictor_api",
Patrik Höglund662e31f2019-09-05 14:35:04 +0200160 ":packet_socket_factory",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200161 ":rtc_error",
hbos74e1a4f2016-09-15 23:33:01 -0700162 ":rtc_stats_api",
Chen Xingd2a66862019-06-03 14:53:42 +0200163 ":rtp_packet_info",
Niels Möller184b4af2019-08-23 13:33:50 +0200164 ":rtp_parameters",
Mirko Bonadeid9708072019-01-25 20:26:48 +0100165 ":scoped_refptr",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100166 "audio:audio_mixer_api",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100167 "audio_codecs:audio_codecs_api",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200168 "crypto:frame_decryptor_interface",
169 "crypto:frame_encryptor_interface",
170 "crypto:options",
Danil Chapovalovb32f2c72019-05-22 13:39:25 +0200171 "rtc_event_log",
Danil Chapovalov9435c612019-04-01 10:33:16 +0200172 "task_queue",
Niels Möller0c4f7be2018-05-07 14:01:37 +0200173 "transport:bitrate_settings",
Niels Möller65f17ca2019-09-12 13:59:36 +0200174 "transport:datagram_transport_interface",
Sebastian Janssondfce03a2018-05-18 18:05:10 +0200175 "transport:network_control",
Niels Möllerec3b9ff2019-02-08 00:28:39 +0100176 "transport/media:audio_interfaces",
Niels Möller65f17ca2019-09-12 13:59:36 +0200177 "transport/media:media_transport_interface",
Niels Möller7e0e44f2019-02-12 14:04:11 +0100178 "transport/media:video_interfaces",
Niels Möllera8370302019-09-02 15:16:49 +0200179 "transport/rtp:rtp_source",
Piotr (Peter) Slatala48c54932019-01-28 06:50:38 -0800180 "units:data_rate",
Bjorn A Mellem57dc02a2019-05-30 09:15:37 -0700181 "units:timestamp",
Niels Möller3a742392018-10-08 11:13:58 +0200182 "video:encoded_image",
Niels Möllerc6ce9c52018-05-11 11:15:30 +0200183 "video:video_frame",
Chen Xing5d24b162019-06-10 12:59:38 +0200184 "video:video_rtp_headers",
Steve Anton2c9ebef2019-01-28 17:27:58 -0800185 "//third_party/abseil-cpp/absl/algorithm:container",
Steve Anton8e967df2019-07-30 18:07:40 -0700186 "//third_party/abseil-cpp/absl/memory",
Steve Anton6fe1fba2018-12-11 10:15:23 -0800187 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +0200188 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb5b5bce2017-11-13 10:19:58 +0100189
190 # Basically, don't add stuff here. You might break sensitive downstream
191 # targets like pnacl. API should not depend on anything outside of this
192 # file, really. All these should arguably go away in time.
kjellander8a116632017-04-21 05:17:08 -0700193 "..:webrtc_common",
Niels Möller6daa2782018-01-23 10:37:42 +0100194 "../media:rtc_media_config",
Patrik Höglundb874a352017-11-27 14:32:41 +0100195 "../modules/audio_processing:audio_processing_statistics",
Artem Titov94b57c02019-03-21 13:35:10 +0100196 "../rtc_base",
Patrik Höglund3e113432017-12-15 14:40:10 +0100197 "../rtc_base:checks",
198 "../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700199 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +0200200 "../rtc_base/system:rtc_export",
kjellanderc76dc952016-06-03 03:09:32 -0700201 ]
ossu7bb87ee2017-01-23 04:56:25 -0800202}
kjellanderc76dc952016-06-03 03:09:32 -0700203
Mirko Bonadei9bc98852019-09-10 10:05:26 +0200204rtc_source_set("rtc_error") {
205 visibility = [ "*" ]
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200206 sources = [
207 "rtc_error.cc",
208 "rtc_error.h",
209 ]
210 deps = [
211 "../rtc_base:checks",
212 "../rtc_base:logging",
213 "../rtc_base:macromagic",
214 "../rtc_base/system:rtc_export",
215 "//third_party/abseil-cpp/absl/strings",
216 ]
Mirko Bonadei9bc98852019-09-10 10:05:26 +0200217}
218
Patrik Höglund662e31f2019-09-05 14:35:04 +0200219rtc_source_set("packet_socket_factory") {
220 visibility = [ "*" ]
221 sources = [
222 # TODO(bugs.webrtc.org/7447: remove .h files from the api target once
223 # downstream is updated to use the new target.
224 "async_resolver_factory.h",
225 "packet_socket_factory.h",
226 ]
227 deps = [
228 "../rtc_base:rtc_base",
229 "../rtc_base/system:rtc_export",
230 ]
231}
232
Mirko Bonadei85340ce2018-11-19 15:51:39 +0100233rtc_source_set("scoped_refptr") {
234 visibility = [ "*" ]
235 sources = [
236 "scoped_refptr.h",
237 ]
238}
239
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200240rtc_source_set("video_quality_test_fixture_api") {
241 visibility = [ "*" ]
242 testonly = true
243 sources = [
244 "test/video_quality_test_fixture.h",
245 ]
246 deps = [
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200247 ":fec_controller_api",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200248 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200249 ":network_state_predictor_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200250 ":rtp_parameters",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200251 ":simulated_network_api",
252 "../call:fake_network",
253 "../call:rtp_interfaces",
254 "../test:test_common",
255 "../test:video_test_common",
Sebastian Jansson1391ed22019-04-30 14:23:51 +0200256 "transport:network_control",
Niels Möller65f17ca2019-09-12 13:59:36 +0200257 "transport/media:media_transport_interface",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200258 "video_codecs:video_codecs_api",
259 ]
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200260}
261
Artem Titovd57628f2019-03-22 12:34:25 +0100262rtc_source_set("video_quality_analyzer_api") {
263 visibility = [ "*" ]
264 testonly = true
265 sources = [
266 "test/video_quality_analyzer_interface.h",
267 ]
268
269 deps = [
270 ":stats_observer_interface",
271 "video:encoded_image",
272 "video:video_frame",
Chen Xing5d24b162019-06-10 12:59:38 +0200273 "video:video_rtp_headers",
Artem Titovd57628f2019-03-22 12:34:25 +0100274 "video_codecs:video_codecs_api",
Artem Titovd57628f2019-03-22 12:34:25 +0100275 "//third_party/abseil-cpp/absl/types:optional",
276 ]
277}
278
Mirko Bonadeif948eb62019-04-05 15:13:23 +0200279rtc_source_set("track_id_stream_label_map") {
280 visibility = [ "*" ]
281 sources = [
282 "test/track_id_stream_label_map.h",
283 ]
284}
285
Niels Möller184b4af2019-08-23 13:33:50 +0200286rtc_source_set("rtp_parameters") {
287 visibility = [ "*" ]
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200288 sources = [
289 "media_types.cc",
290 "media_types.h",
291 "rtp_parameters.cc",
292 "rtp_parameters.h",
293 ]
294 deps = [
295 ":array_view",
296 "../rtc_base:checks",
297 "../rtc_base:stringutils",
298 "../rtc_base/system:rtc_export",
299 "//third_party/abseil-cpp/absl/types:optional",
300 ]
Niels Möller184b4af2019-08-23 13:33:50 +0200301}
302
Artem Titovd57628f2019-03-22 12:34:25 +0100303rtc_source_set("audio_quality_analyzer_api") {
304 visibility = [ "*" ]
305 testonly = true
306 sources = [
307 "test/audio_quality_analyzer_interface.h",
308 ]
309
310 deps = [
311 ":stats_observer_interface",
Mirko Bonadeif948eb62019-04-05 15:13:23 +0200312 ":track_id_stream_label_map",
Artem Titovd57628f2019-03-22 12:34:25 +0100313 ]
314}
315
316rtc_source_set("stats_observer_interface") {
317 visibility = [ "*" ]
318 testonly = true
319 sources = [
320 "test/stats_observer_interface.h",
321 ]
322
323 deps = [
Niels Möllerb4a61282019-08-29 12:16:56 +0200324 # For api/stats_types.h
Artem Titovd57628f2019-03-22 12:34:25 +0100325 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200326 ":rtp_parameters",
Artem Titovd57628f2019-03-22 12:34:25 +0100327 ]
328}
329
330rtc_source_set("peer_connection_quality_test_fixture_api") {
331 visibility = [ "*" ]
332 testonly = true
333 sources = [
334 "test/peerconnection_quality_test_fixture.h",
335 ]
336
337 deps = [
338 ":audio_quality_analyzer_api",
339 ":callfactory_api",
340 ":fec_controller_api",
341 ":function_view",
342 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200343 ":network_state_predictor_api",
Artem Titovd57628f2019-03-22 12:34:25 +0100344 ":simulated_network_api",
Artem Titova8549212019-08-19 14:38:06 +0200345 ":stats_observer_interface",
Artem Titovd57628f2019-03-22 12:34:25 +0100346 ":video_quality_analyzer_api",
Artem Titovf65a89b2019-05-07 11:56:44 +0200347 "../media:rtc_media_base",
Artem Titovd57628f2019-03-22 12:34:25 +0100348 "../rtc_base:rtc_base",
Danil Chapovalov9305d112019-09-04 13:16:09 +0200349 "rtc_event_log",
Danil Chapovalov1a5fc902019-06-10 12:58:03 +0200350 "task_queue",
Artem Titovd57628f2019-03-22 12:34:25 +0100351 "transport:network_control",
Niels Möller65f17ca2019-09-12 13:59:36 +0200352 "transport/media:media_transport_interface",
Artem Titovd57628f2019-03-22 12:34:25 +0100353 "units:time_delta",
354 "video_codecs:video_codecs_api",
355 "//third_party/abseil-cpp/absl/memory",
356 "//third_party/abseil-cpp/absl/types:optional",
357 ]
358}
359
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200360rtc_source_set("test_dependency_factory") {
361 visibility = [ "*" ]
362 testonly = true
363 sources = [
364 "test/test_dependency_factory.cc",
365 "test/test_dependency_factory.h",
366 ]
367 deps = [
368 ":video_quality_test_fixture_api",
Yves Gerey3e707812018-11-28 16:47:49 +0100369 "../rtc_base:checks",
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200370 "../rtc_base:thread_checker",
tzikf0e926f2018-10-15 13:52:10 +0900371 "//third_party/abseil-cpp/absl/memory",
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200372 ]
Patrik Höglundd8f3c172018-09-26 14:39:17 +0200373}
374
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200375if (rtc_include_tests) {
376 rtc_source_set("create_video_quality_test_fixture_api") {
377 visibility = [ "*" ]
378 testonly = true
379 sources = [
380 "test/create_video_quality_test_fixture.cc",
381 "test/create_video_quality_test_fixture.h",
382 ]
383 deps = [
384 ":fec_controller_api",
Ying Wang0810a7c2019-04-10 13:48:24 +0200385 ":network_state_predictor_api",
Mirko Bonadeid9708072019-01-25 20:26:48 +0100386 ":scoped_refptr",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200387 ":video_quality_test_fixture_api",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200388 "../video:video_quality_test",
Karl Wiberg918f50c2018-07-05 11:40:33 +0200389 "//third_party/abseil-cpp/absl/memory",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200390 ]
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200391 }
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100392
Artem Titov8ea8dcb2019-03-26 13:38:02 +0100393 rtc_source_set("create_network_emulation_manager") {
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100394 visibility = [ "*" ]
395 testonly = true
396 sources = [
397 "test/create_network_emulation_manager.cc",
398 "test/create_network_emulation_manager.h",
399 ]
400 deps = [
401 ":network_emulation_manager_api",
Artem Titov386802e2019-07-05 10:48:17 +0200402 "../test/network:emulated_network",
Artem Titov533a9fe2019-03-21 12:18:05 +0100403 "//third_party/abseil-cpp/absl/memory",
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100404 ]
405 }
Artem Titovd57628f2019-03-22 12:34:25 +0100406
407 rtc_source_set("create_peerconnection_quality_test_fixture") {
408 visibility = [ "*" ]
409 testonly = true
410 sources = [
411 "test/create_peerconnection_quality_test_fixture.cc",
412 "test/create_peerconnection_quality_test_fixture.h",
413 ]
414
415 deps = [
416 ":audio_quality_analyzer_api",
417 ":peer_connection_quality_test_fixture_api",
418 ":video_quality_analyzer_api",
419 "../test/pc/e2e:peerconnection_quality_test",
420 "//third_party/abseil-cpp/absl/memory",
421 ]
422 }
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200423}
424
Elad Alon80810732017-10-06 13:07:32 +0200425rtc_source_set("libjingle_logging_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000426 visibility = [ "*" ]
Elad Alon80810732017-10-06 13:07:32 +0200427 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800428 "rtc_event_log_output.h",
Elad Alon80810732017-10-06 13:07:32 +0200429 ]
430}
431
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200432rtc_source_set("rtc_event_log_output_file") {
433 visibility = [ "*" ]
434 sources = [
435 "rtc_event_log_output_file.cc",
436 "rtc_event_log_output_file.h",
437 ]
438
439 deps = [
440 ":libjingle_logging_api",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200441 "../rtc_base:checks",
442 "../rtc_base:rtc_base_approved",
443 "../rtc_base/system:file_wrapper",
Danil Chapovalovb32f2c72019-05-22 13:39:25 +0200444 "rtc_event_log",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200445 ]
446}
447
hbos74e1a4f2016-09-15 23:33:01 -0700448rtc_source_set("rtc_stats_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000449 visibility = [ "*" ]
hbos74e1a4f2016-09-15 23:33:01 -0700450 cflags = []
451 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800452 "stats/rtc_stats.h",
453 "stats/rtc_stats_collector_callback.h",
454 "stats/rtc_stats_report.h",
hbos74e1a4f2016-09-15 23:33:01 -0700455 "stats/rtcstats_objects.h",
hbos74e1a4f2016-09-15 23:33:01 -0700456 ]
457
458 deps = [
Mirko Bonadeid9708072019-01-25 20:26:48 +0100459 ":scoped_refptr",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100460 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700461 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +0200462 "../rtc_base/system:rtc_export",
hbos74e1a4f2016-09-15 23:33:01 -0700463 ]
464}
465
Niels Möllera6fe2612018-01-19 11:28:54 +0100466rtc_source_set("audio_options_api") {
467 visibility = [ "*" ]
468 sources = [
Paulina Hensman11b34f42018-04-09 14:24:52 +0200469 "audio_options.cc",
Niels Möllera6fe2612018-01-19 11:28:54 +0100470 "audio_options.h",
471 ]
472
473 deps = [
Yves Gerey3e707812018-11-28 16:47:49 +0100474 ":array_view",
Danil Chapovalov21652332018-08-31 10:29:07 +0200475 "../rtc_base:stringutils",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +0200476 "//third_party/abseil-cpp/absl/types:optional",
Niels Möllera6fe2612018-01-19 11:28:54 +0100477 ]
478}
479
aleloia8eb7562016-11-28 07:02:13 -0800480rtc_source_set("transport_api") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000481 visibility = [ "*" ]
aleloia8eb7562016-11-28 07:02:13 -0800482 sources = [
Dino Radaković1807d572018-02-22 14:18:06 +0100483 "call/transport.cc",
aleloia8eb7562016-11-28 07:02:13 -0800484 "call/transport.h",
485 ]
486}
nisseb2250e52016-12-02 04:01:14 -0800487
Sebastian Jansson6736df12018-11-21 19:18:39 +0100488rtc_source_set("bitrate_allocation") {
489 visibility = [ "*" ]
490 sources = [
491 "call/bitrate_allocation.h",
492 ]
493 deps = [
494 "units:data_rate",
495 "units:time_delta",
496 ]
497}
498
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200499rtc_source_set("simulated_network_api") {
500 visibility = [ "*" ]
501 sources = [
502 "test/simulated_network.h",
503 ]
504 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100505 "../rtc_base",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200506 "../rtc_base:criticalsection",
Danil Chapovalov065a52a2018-07-09 10:58:54 +0200507 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb6b29e02018-06-21 16:58:01 +0200508 ]
509}
510
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100511rtc_source_set("network_emulation_manager_api") {
512 visibility = [ "*" ]
513 sources = [
514 "test/network_emulation_manager.h",
515 ]
516 deps = [
517 ":simulated_network_api",
Artem Titov94b57c02019-03-21 13:35:10 +0100518 "../rtc_base",
Artem Titov806299e2019-04-12 12:17:19 +0200519 "units:data_rate",
520 "units:data_size",
521 "units:timestamp",
Artem Titov7bf8c7f2019-03-15 15:00:37 +0100522 ]
523}
524
Ying Wang3b790f32018-01-19 17:58:57 +0100525rtc_source_set("fec_controller_api") {
526 visibility = [ "*" ]
527 sources = [
528 "fec_controller.h",
Elad Alon8f01c4e2019-06-28 15:19:43 +0200529 "fec_controller_override.h",
Ying Wang3b790f32018-01-19 17:58:57 +0100530 ]
531
532 deps = [
Ying Wang0dd1b0a2018-02-20 12:50:27 +0100533 "../modules:module_fec_api",
Niels Möller8f7ce222019-03-21 15:43:58 +0100534 "video:video_frame_type",
Ying Wang3b790f32018-01-19 17:58:57 +0100535 ]
536}
537
Ying Wang0810a7c2019-04-10 13:48:24 +0200538rtc_source_set("network_state_predictor_api") {
539 visibility = [ "*" ]
540 sources = [
541 "network_state_predictor.h",
542 ]
543}
544
kwiberg529662a2017-09-04 05:43:17 -0700545rtc_source_set("array_view") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000546 visibility = [ "*" ]
kwiberg529662a2017-09-04 05:43:17 -0700547 sources = [
548 "array_view.h",
549 ]
550 deps = [
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100551 "../rtc_base:checks",
552 "../rtc_base:type_traits",
kwiberg529662a2017-09-04 05:43:17 -0700553 ]
554}
555
Niels Möller9155e492017-10-23 11:22:30 +0200556rtc_source_set("refcountedbase") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000557 visibility = [ "*" ]
Niels Möller9155e492017-10-23 11:22:30 +0200558 sources = [
Steve Anton10542f22019-01-11 09:11:00 -0800559 "ref_counted_base.h",
Niels Möller9155e492017-10-23 11:22:30 +0200560 ]
561 deps = [
562 "../rtc_base:rtc_base_approved",
563 ]
564}
565
Harald Alvestrand98462622019-01-30 14:57:03 +0100566rtc_source_set("ice_transport_factory") {
567 visibility = [ "*" ]
568 sources = [
569 "ice_transport_factory.cc",
570 "ice_transport_factory.h",
571 ]
572 deps = [
573 ":libjingle_peerconnection_api",
574 ":scoped_refptr",
575 "../p2p:rtc_p2p",
Artem Titov94b57c02019-03-21 13:35:10 +0100576 "../rtc_base",
Mirko Bonadei66e76792019-04-02 11:33:59 +0200577 "../rtc_base/system:rtc_export",
Steve Anton6fdfec12019-07-01 14:07:33 -0700578 "rtc_event_log:rtc_event_log",
Artem Titov533a9fe2019-03-21 12:18:05 +0100579 "//third_party/abseil-cpp/absl/memory",
Harald Alvestrand98462622019-01-30 14:57:03 +0100580 ]
581}
582
Ivo Creusen55de08e2018-09-03 11:49:27 +0200583rtc_source_set("neteq_simulator_api") {
584 visibility = [ "*" ]
585 sources = [
586 "test/neteq_simulator.cc",
587 "test/neteq_simulator.h",
588 ]
589}
590
Artem Titov741daaf2019-03-21 14:37:36 +0100591rtc_source_set("function_view") {
592 visibility = [ "*" ]
593 sources = [
594 "function_view.h",
595 ]
596 deps = [
597 "../rtc_base:checks",
598 ]
599}
600
kjellanderfd5b4e92016-06-13 12:08:33 -0700601if (rtc_include_tests) {
Ivo Creusen2cb41052018-03-15 12:22:52 +0100602 if (rtc_enable_protobuf) {
603 rtc_source_set("audioproc_f_api") {
604 visibility = [ "*" ]
605 testonly = true
606 sources = [
607 "test/audioproc_float.cc",
608 "test/audioproc_float.h",
609 ]
610
611 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100612 "../modules/audio_processing",
Alessio Bazzicab768e882018-11-07 14:29:54 +0000613 "../modules/audio_processing:api",
Ivo Creusen2cb41052018-03-15 12:22:52 +0100614 "../modules/audio_processing:audioproc_f_impl",
615 ]
616 }
Ivo Creusen55de08e2018-09-03 11:49:27 +0200617
618 rtc_source_set("neteq_simulator_factory") {
619 visibility = [ "*" ]
620 testonly = true
621 sources = [
622 "test/neteq_simulator_factory.cc",
623 "test/neteq_simulator_factory.h",
624 ]
625 deps = [
626 ":neteq_simulator_api",
627 "../modules/audio_coding:neteq_test_factory",
Ivo Creusenf81b0f12018-09-11 10:30:58 +0200628 "../rtc_base:checks",
Mirko Bonadei2ab97f62019-07-18 13:44:12 +0200629 "//third_party/abseil-cpp/absl/flags:flag",
630 "//third_party/abseil-cpp/absl/flags:parse",
Ivo Creusen55de08e2018-09-03 11:49:27 +0200631 "//third_party/abseil-cpp/absl/memory",
Ivo Creusen5ec61562019-03-20 10:52:18 +0100632 "//third_party/abseil-cpp/absl/strings",
Ivo Creusen55de08e2018-09-03 11:49:27 +0200633 ]
634 }
Ivo Creusen2cb41052018-03-15 12:22:52 +0100635 }
636
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200637 rtc_source_set("simulcast_test_fixture_api") {
638 visibility = [ "*" ]
639 testonly = true
640 sources = [
641 "test/simulcast_test_fixture.h",
642 ]
643 }
644
645 rtc_source_set("create_simulcast_test_fixture_api") {
646 visibility = [ "*" ]
647 testonly = true
648 sources = [
649 "test/create_simulcast_test_fixture.cc",
650 "test/create_simulcast_test_fixture.h",
651 ]
652 deps = [
653 ":simulcast_test_fixture_api",
654 "../modules/video_coding:simulcast_test_fixture_impl",
655 "../rtc_base:rtc_base_approved",
656 "video_codecs:video_codecs_api",
Karl Wiberg918f50c2018-07-05 11:40:33 +0200657 "//third_party/abseil-cpp/absl/memory",
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200658 ]
Rasmus Brandt0cedc052018-05-31 12:53:00 +0200659 }
660
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200661 rtc_source_set("videocodec_test_fixture_api") {
662 visibility = [ "*" ]
663 testonly = true
664 sources = [
665 "test/videocodec_test_fixture.h",
Kári Tristan Helgason169005d2018-05-22 13:34:14 +0200666 "test/videocodec_test_stats.cc",
667 "test/videocodec_test_stats.h",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200668 ]
669 deps = [
Kári Tristan Helgason169005d2018-05-22 13:34:14 +0200670 "..:webrtc_common",
671 "../modules/video_coding:video_codec_interface",
Jonas Olsson366a50c2018-09-06 13:41:30 +0200672 "../rtc_base:stringutils",
Niels Möller8f7ce222019-03-21 15:43:58 +0100673 "video:video_frame_type",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200674 "video_codecs:video_codecs_api",
675 ]
676 }
677
678 rtc_source_set("create_videocodec_test_fixture_api") {
679 visibility = [ "*" ]
680 testonly = true
681 sources = [
682 "test/create_videocodec_test_fixture.cc",
683 "test/create_videocodec_test_fixture.h",
684 ]
685 deps = [
686 ":videocodec_test_fixture_api",
687 "../modules/video_coding:video_codecs_test_framework",
688 "../modules/video_coding:videocodec_test_impl",
689 "../rtc_base:rtc_base_approved",
690 "video_codecs:video_codecs_api",
Karl Wiberg918f50c2018-07-05 11:40:33 +0200691 "//third_party/abseil-cpp/absl/memory",
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200692 ]
Kári Tristan Helgason9d96e922018-05-04 11:56:55 +0200693 }
694
kjellander2f6af9c2017-03-02 22:26:23 -0800695 rtc_source_set("mock_audio_mixer") {
696 testonly = true
697 sources = [
698 "test/mock_audio_mixer.h",
699 ]
700
kjellander2f6af9c2017-03-02 22:26:23 -0800701 deps = [
jianjun.zhuc0247402017-07-11 06:20:45 -0700702 "../test:test_support",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +0100703 "audio:audio_mixer_api",
kjellander2f6af9c2017-03-02 22:26:23 -0800704 ]
705 }
706
Elad Alon45befc52019-07-02 11:20:09 +0200707 rtc_source_set("mock_fec_controller_override") {
708 testonly = true
709 sources = [
710 "test/mock_fec_controller_override.h",
711 ]
712 deps = [
713 ":fec_controller_api",
714 "../test:test_support",
715 ]
716 }
717
Benjamin Wright78410ad2018-10-25 09:52:57 -0700718 rtc_source_set("mock_frame_encryptor") {
719 testonly = true
720 sources = [
721 "test/mock_frame_encryptor.cc",
722 "test/mock_frame_encryptor.h",
723 ]
724 deps = [
Niels Möllerb4a61282019-08-29 12:16:56 +0200725 # For api/crypto/frame_encryptor_interface.h
Benjamin Wright78410ad2018-10-25 09:52:57 -0700726 ":libjingle_peerconnection_api",
727 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200728 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700729 ]
730 }
731
732 rtc_source_set("mock_frame_decryptor") {
733 testonly = true
734 sources = [
735 "test/mock_frame_decryptor.cc",
736 "test/mock_frame_decryptor.h",
737 ]
738 deps = [
739 ":libjingle_peerconnection_api",
740 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200741 "crypto:frame_decryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700742 ]
743 }
744
745 rtc_source_set("fake_frame_encryptor") {
746 testonly = true
747 sources = [
748 "test/fake_frame_encryptor.cc",
749 "test/fake_frame_encryptor.h",
750 ]
751 deps = [
752 ":array_view",
753 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200754 ":rtp_parameters",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700755 "..:webrtc_common",
756 "../rtc_base:checks",
757 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200758 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 09:52:57 -0700759 ]
760 }
761
762 rtc_source_set("fake_frame_decryptor") {
Benjamin Wright84583f62018-10-04 14:22:34 -0700763 testonly = true
764 sources = [
765 "test/fake_frame_decryptor.cc",
766 "test/fake_frame_decryptor.h",
Benjamin Wright84583f62018-10-04 14:22:34 -0700767 ]
768 deps = [
769 ":array_view",
770 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200771 ":rtp_parameters",
Benjamin Wright84583f62018-10-04 14:22:34 -0700772 "..:webrtc_common",
773 "../rtc_base:checks",
774 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +0200775 "crypto:frame_decryptor_interface",
Benjamin Wright84583f62018-10-04 14:22:34 -0700776 ]
777 }
778
Niels Möllere78fd802019-09-13 14:45:55 +0200779 rtc_source_set("dummy_peer_connection") {
780 visibility = [ "*" ]
781 testonly = true
782 sources = [
783 "test/dummy_peer_connection.h",
784 ]
785
786 deps = [
787 ":libjingle_peerconnection_api",
788 ":rtc_error",
789 "../rtc_base:checks",
790 "../rtc_base:refcount",
791 ]
792 }
793
Jiawei Ou651b92e2018-06-29 15:46:44 -0700794 rtc_source_set("mock_peerconnectioninterface") {
795 testonly = true
796 sources = [
797 "test/mock_peerconnectioninterface.h",
798 ]
799
800 deps = [
801 ":libjingle_peerconnection_api",
802 "../test:test_support",
803 ]
804 }
805
Patrik Höglund4b9e6ba2017-12-19 10:32:11 +0100806 rtc_source_set("mock_rtp") {
807 testonly = true
808 sources = [
809 "test/mock_rtpreceiver.h",
810 "test/mock_rtpsender.h",
811 ]
812
813 deps = [
814 ":libjingle_peerconnection_api",
815 "../test:test_support",
Patrik Höglund4b9e6ba2017-12-19 10:32:11 +0100816 ]
817 }
818
Jiawei Ou4206a0a2018-07-20 15:49:43 -0700819 rtc_source_set("mock_video_bitrate_allocator") {
820 testonly = true
821 sources = [
822 "test/mock_video_bitrate_allocator.h",
823 ]
824
825 deps = [
826 "../api/video:video_bitrate_allocator",
827 "../test:test_support",
828 ]
829 }
830
Jiawei Ouc2ebe212018-11-08 10:02:56 -0800831 rtc_source_set("mock_video_bitrate_allocator_factory") {
832 testonly = true
833 sources = [
834 "test/mock_video_bitrate_allocator_factory.h",
835 ]
836
837 deps = [
838 "../api/video:video_bitrate_allocator_factory",
839 "../test:test_support",
840 ]
841 }
842
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700843 rtc_source_set("mock_video_codec_factory") {
844 testonly = true
845 sources = [
846 "test/mock_video_decoder_factory.h",
847 "test/mock_video_encoder_factory.h",
848 ]
849
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700850 deps = [
Mirko Bonadei34814c72018-01-11 10:13:56 +0100851 "../api/video_codecs:video_codecs_api",
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700852 "../test:test_support",
Emircan Uysalerdbcac7f2017-10-30 23:10:12 -0700853 ]
854 }
855
Erik Språngc84cd952018-10-15 11:55:13 +0200856 rtc_source_set("mock_video_decoder") {
857 visibility = [ "*" ]
858
859 testonly = true
860 sources = [
861 "test/mock_video_decoder.cc",
862 "test/mock_video_decoder.h",
863 ]
864
865 deps = [
866 "../api/video_codecs:video_codecs_api",
867 "../test:test_support",
868 ]
869 }
870
Erik Språng6af1c922018-10-12 10:01:30 +0200871 rtc_source_set("mock_video_encoder") {
Erik Språngc84cd952018-10-15 11:55:13 +0200872 visibility = [ "*" ]
873
Erik Språng6af1c922018-10-12 10:01:30 +0200874 testonly = true
875 sources = [
876 "test/mock_video_encoder.cc",
877 "test/mock_video_encoder.h",
878 ]
879
880 deps = [
881 "../api/video_codecs:video_codecs_api",
882 "../test:test_support",
883 ]
884 }
885
Anton Sukhanov7940da02018-10-10 10:34:49 -0700886 rtc_source_set("fake_media_transport") {
887 testonly = true
888
889 sources = [
Bjorn A Mellemc85ebbe2019-06-07 10:28:06 -0700890 "test/fake_datagram_transport.h",
Anton Sukhanov7940da02018-10-10 10:34:49 -0700891 "test/fake_media_transport.h",
892 ]
893
894 deps = [
Anton Sukhanov7940da02018-10-10 10:34:49 -0700895 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 13:59:36 +0200896 "transport:datagram_transport_interface",
897 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 13:53:07 -0700898 "//third_party/abseil-cpp/absl/algorithm:container",
Yves Gerey3e707812018-11-28 16:47:49 +0100899 "//third_party/abseil-cpp/absl/memory",
Anton Sukhanov7940da02018-10-10 10:34:49 -0700900 ]
901 }
Niels Möller2e47f7c2018-10-16 10:41:42 +0200902
903 rtc_source_set("loopback_media_transport") {
904 testonly = true
905
906 sources = [
Niels Möllere0446cb2018-11-30 09:35:52 +0100907 "test/loopback_media_transport.cc",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200908 "test/loopback_media_transport.h",
909 ]
910
911 deps = [
Artem Titov94b57c02019-03-21 13:35:10 +0100912 "../rtc_base",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200913 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 13:59:36 +0200914 "transport:datagram_transport_interface",
915 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 13:53:07 -0700916 "//third_party/abseil-cpp/absl/algorithm:container",
Niels Möllere0446cb2018-11-30 09:35:52 +0100917 "//third_party/abseil-cpp/absl/memory",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200918 ]
919 }
920
921 rtc_source_set("rtc_api_unittests") {
922 testonly = true
923
924 sources = [
925 "array_view_unittest.cc",
Artem Titov741daaf2019-03-21 14:37:36 +0100926 "function_view_unittest.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800927 "rtc_error_unittest.cc",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200928 "rtc_event_log_output_file_unittest.cc",
Chen Xingd2a66862019-06-03 14:53:42 +0200929 "rtp_packet_info_unittest.cc",
930 "rtp_packet_infos_unittest.cc",
Steve Anton10542f22019-01-11 09:11:00 -0800931 "rtp_parameters_unittest.cc",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200932 "test/loopback_media_transport_unittest.cc",
933 ]
934
Niels Möller2e47f7c2018-10-16 10:41:42 +0200935 deps = [
936 ":array_view",
Artem Titov741daaf2019-03-21 14:37:36 +0100937 ":function_view",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200938 ":libjingle_peerconnection_api",
939 ":loopback_media_transport",
Mirko Bonadeifcfeefe2019-09-10 10:51:23 +0200940 ":rtc_error",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200941 ":rtc_event_log_output_file",
Chen Xingd2a66862019-06-03 14:53:42 +0200942 ":rtp_packet_info",
Niels Möller6dcd4dc2019-08-26 10:45:28 +0200943 ":rtp_parameters",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200944 "../rtc_base:checks",
Mirko Bonadeie3abb812018-11-23 13:15:08 +0100945 "../rtc_base:gunit_helpers",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200946 "../rtc_base:rtc_base_approved",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200947 "../test:fileutils",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200948 "../test:test_support",
Danil Chapovalov2684ab32019-02-26 10:18:08 +0100949 "task_queue:task_queue_default_factory_unittests",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200950 "units:units_unittests",
Danil Chapovalovb703db92019-04-08 16:59:28 +0200951 "video:video_unittests",
Niels Möllerd8b9ed72019-05-08 13:53:51 +0200952 "//third_party/abseil-cpp/absl/memory",
Niels Möller2e47f7c2018-10-16 10:41:42 +0200953 ]
954 }
Harald Alvestrand3cc45d42019-03-14 05:42:04 +0100955
956 rtc_source_set("compile_all_headers") {
957 testonly = true
958
959 sources = [
960 "test/compile_all_headers.cc",
961 ]
962
963 deps = [
964 ":fake_frame_decryptor",
965 ":fake_frame_encryptor",
966 ":fake_media_transport",
967 ":loopback_media_transport",
968 ":mock_audio_mixer",
969 ":mock_frame_decryptor",
970 ":mock_frame_encryptor",
971 ":mock_peerconnectioninterface",
972 ":mock_rtp",
973 ":mock_video_bitrate_allocator",
974 ":mock_video_bitrate_allocator_factory",
975 ":mock_video_codec_factory",
976 ":mock_video_decoder",
977 ":mock_video_encoder",
978 ":rtc_api_unittests",
979 "units:units_unittests",
980 ]
981 }
kjellanderfd5b4e92016-06-13 12:08:33 -0700982}