blob: 560cabccc73547a695596fa9e3ff05f7882f3ac6 [file] [log] [blame]
hjonaa32c3e2015-12-14 03:58:111# 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 14:58:229import("../webrtc.gni")
Sami Kalliomaki9c0c75b2016-06-29 12:55:0010if (is_android) {
11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni")
13}
kjellanderc76dc952016-06-03 10:09:3214
15group("api") {
Per Kjellandera7f2d842018-01-10 15:54:5316 visibility = [ "*" ]
Dan Minor9c686132018-01-15 15:20:0017 deps = []
18
19 if (!build_with_mozilla) {
20 deps += [ ":libjingle_peerconnection_api" ]
21 }
kjellanderc76dc952016-06-03 10:09:3222}
23
ehmaldonado38a21322016-09-02 11:10:3424rtc_source_set("call_api") {
Per Kjellandera7f2d842018-01-10 15:54:5325 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:1026 sources = [ "call/audio_sink.h" ]
kjellandera69d9732016-08-31 14:33:0527}
28
Niels Möller8366e172018-02-14 11:20:1329rtc_source_set("callfactory_api") {
30 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:1031 sources = [ "call/call_factory_interface.h" ]
32 deps = [ "../rtc_base/system:rtc_export" ]
Niels Möller8366e172018-02-14 11:20:1333}
34
Danil Chapovalov5bf58062019-06-18 14:43:3735if (!build_with_chromium) {
Mirko Bonadei86d053c2019-10-17 19:32:0436 rtc_library("create_peerconnection_factory") {
Danil Chapovalov5bf58062019-06-18 14:43:3737 visibility = [ "*" ]
Danil Chapovalov41300af2019-07-10 10:44:4338 allow_poison = [ "default_task_queue" ]
Danil Chapovalov5bf58062019-06-18 14:43:3739 sources = [
40 "create_peerconnection_factory.cc",
41 "create_peerconnection_factory.h",
42 ]
43 deps = [
44 ":callfactory_api",
45 ":libjingle_peerconnection_api",
46 ":scoped_refptr",
47 "../api/rtc_event_log:rtc_event_log_factory",
48 "../media:rtc_audio_video",
49 "../media:rtc_media_base",
50 "../modules/audio_device:audio_device_api",
51 "../modules/audio_processing:api",
52 "../pc:peerconnection",
53 "../rtc_base",
54 "../rtc_base:rtc_base_approved",
55 "audio:audio_mixer_api",
56 "audio_codecs:audio_codecs_api",
57 "task_queue:default_task_queue_factory",
58 "video_codecs:video_codecs_api",
Danil Chapovalov5bf58062019-06-18 14:43:3759 ]
60 }
Mirko Bonadei3cf8f3e2018-11-19 08:17:5161}
62
Mirko Bonadei86d053c2019-10-17 19:32:0463rtc_library("rtp_headers") {
Niels Möllerb8389522019-03-19 13:27:0364 visibility = [ "*" ]
Niels Mölleref1052a2019-03-20 07:40:2365 sources = [
66 "rtp_headers.cc",
67 "rtp_headers.h",
68 ]
69 deps = [
70 ":array_view",
71 "..:webrtc_common",
Sebastian Jansson3d61ab12019-06-14 11:35:5172 "units:timestamp",
Chen Xing5d24b162019-06-10 10:59:3873 "video:video_rtp_headers",
Niels Mölleref1052a2019-03-20 07:40:2374 ]
Mirko Bonadei8b7cfa12020-06-03 19:23:4175 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Niels Möllerb8389522019-03-19 13:27:0376}
77
Mirko Bonadei86d053c2019-10-17 19:32:0478rtc_library("rtp_packet_info") {
Chen Xingd2a66862019-06-03 12:53:4279 visibility = [ "*" ]
80 sources = [
81 "rtp_packet_info.cc",
82 "rtp_packet_info.h",
83 "rtp_packet_infos.h",
84 ]
85 deps = [
86 ":array_view",
87 ":refcountedbase",
88 ":rtp_headers",
89 ":scoped_refptr",
90 "..:webrtc_common",
91 "../rtc_base:rtc_base_approved",
Johannes Kron0809e7e2020-01-21 10:54:2192 "../rtc_base/system:rtc_export",
Chen Xingd2a66862019-06-03 12:53:4293 ]
Mirko Bonadei2dcf3482020-06-05 12:30:4194 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Chen Xingd2a66862019-06-03 12:53:4295}
96
Mirko Bonadei86d053c2019-10-17 19:32:0497rtc_library("media_stream_interface") {
Niels Möllerc1c62842019-09-17 08:16:0598 visibility = [ "*" ]
Niels Möllere942b142019-09-17 12:30:4199 sources = [
100 "media_stream_interface.cc",
101 "media_stream_interface.h",
102 "notifier.h",
103 ]
104 deps = [
105 ":audio_options_api",
106 ":rtp_parameters",
107 ":scoped_refptr",
108 "../modules/audio_processing:audio_processing_statistics",
109 "../rtc_base:checks",
110 "../rtc_base:refcount",
111 "../rtc_base/system:rtc_export",
Markus Handell9982efa2019-11-21 10:56:50112 "video:recordable_encoded_frame",
Niels Möllere942b142019-09-17 12:30:41113 "video:video_frame",
Niels Möllere942b142019-09-17 12:30:41114 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41115 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Niels Möllerc1c62842019-09-17 08:16:05116}
117
Mirko Bonadei86d053c2019-10-17 19:32:04118rtc_library("libjingle_peerconnection_api") {
Per Kjellandera7f2d842018-01-10 15:54:53119 visibility = [ "*" ]
kjellanderc76dc952016-06-03 10:09:32120 cflags = []
121 sources = [
Steve Anton36b28db2017-10-26 18:27:17122 "candidate.cc",
Patrik Höglunde2d6a062017-10-05 12:53:33123 "candidate.h",
Steve Anton10542f22019-01-11 17:11:00124 "crypto_params.h",
125 "data_channel_interface.cc",
126 "data_channel_interface.h",
Harald Alvestrand7061e512019-04-10 15:20:42127 "dtls_transport_interface.cc",
Steve Anton10542f22019-01-11 17:11:00128 "dtls_transport_interface.h",
129 "dtmf_sender_interface.h",
Harald Alvestrand98462622019-01-30 13:57:03130 "ice_transport_interface.h",
Steve Anton845bb732017-12-05 20:50:26131 "jsep.cc",
kjellanderc76dc952016-06-03 10:09:32132 "jsep.h",
Steve Anton10542f22019-01-11 17:11:00133 "jsep_ice_candidate.cc",
134 "jsep_ice_candidate.h",
135 "jsep_session_description.h",
Steve Anton10542f22019-01-11 17:11:00136 "media_stream_proxy.h",
137 "media_stream_track_proxy.h",
Steve Anton10542f22019-01-11 17:11:00138 "peer_connection_factory_proxy.h",
139 "peer_connection_interface.cc",
140 "peer_connection_interface.h",
141 "peer_connection_proxy.h",
Guido Urdanetaccab06f2020-01-15 11:30:29142 "proxy.cc",
kjellanderc76dc952016-06-03 10:09:32143 "proxy.h",
Steve Anton10542f22019-01-11 17:11:00144 "rtp_receiver_interface.cc",
145 "rtp_receiver_interface.h",
146 "rtp_sender_interface.cc",
147 "rtp_sender_interface.h",
148 "rtp_transceiver_interface.cc",
149 "rtp_transceiver_interface.h",
Harald Alvestrandc85328f2019-02-28 06:51:00150 "sctp_transport_interface.cc",
151 "sctp_transport_interface.h",
Steve Anton10542f22019-01-11 17:11:00152 "set_remote_description_observer_interface.h",
153 "stats_types.cc",
154 "stats_types.h",
155 "turn_customizer.h",
156 "uma_metrics.h",
157 "video_track_source_proxy.h",
kjellanderc76dc952016-06-03 10:09:32158 ]
kjellanderc76dc952016-06-03 10:09:32159 deps = [
Patrik Höglund3e113432017-12-15 13:40:10160 ":array_view",
Niels Möllera6fe2612018-01-19 10:28:54161 ":audio_options_api",
Niels Möller8366e172018-02-14 11:20:13162 ":callfactory_api",
Ying Wang0dd1b0a2018-02-20 11:50:27163 ":fec_controller_api",
Marina Cioceae3e07bf2020-02-27 15:28:51164 ":frame_transformer_interface",
Niels Möller8366e172018-02-14 11:20:13165 ":libjingle_logging_api",
Niels Möllere942b142019-09-17 12:30:41166 ":media_stream_interface",
Ying Wang0810a7c2019-04-10 11:48:24167 ":network_state_predictor_api",
Patrik Höglund662e31f2019-09-05 12:35:04168 ":packet_socket_factory",
Harald Alvestrandfd5ae7f2020-05-16 06:37:49169 ":priority",
Mirko Bonadeifcfeefe2019-09-10 08:51:23170 ":rtc_error",
hbos74e1a4f2016-09-16 06:33:01171 ":rtc_stats_api",
Chen Xingd2a66862019-06-03 12:53:42172 ":rtp_packet_info",
Niels Möller184b4af2019-08-23 11:33:50173 ":rtp_parameters",
Markus Handell0357b3e2020-03-16 12:40:51174 ":rtp_transceiver_direction",
Mirko Bonadeid9708072019-01-25 19:26:48175 ":scoped_refptr",
Henrik Boström4c1e7cc2020-06-11 10:26:53176 "adaptation:resource_adaptation_api",
Gustaf Ullberg2ae140a2018-02-16 12:43:49177 "audio:audio_mixer_api",
Patrik Höglundb5b5bce2017-11-13 09:19:58178 "audio_codecs:audio_codecs_api",
Mirko Bonadeieaaaf412019-09-13 12:42:15179 "crypto:frame_decryptor_interface",
180 "crypto:frame_encryptor_interface",
181 "crypto:options",
Ivo Creusenc3d1f9b2019-11-01 10:47:51182 "neteq:neteq_api",
Danil Chapovalovb32f2c72019-05-22 11:39:25183 "rtc_event_log",
Danil Chapovalov9435c6102019-04-01 08:33:16184 "task_queue",
Niels Möller0c4f7be2018-05-07 12:01:37185 "transport:bitrate_settings",
Honghai Zhangf8998cf2019-10-14 18:27:50186 "transport:enums",
Sebastian Janssondfce03a2018-05-18 16:05:10187 "transport:network_control",
Erik Språng662678d2019-11-15 16:18:52188 "transport:webrtc_key_value_config",
Niels Möllera8370302019-09-02 13:16:49189 "transport/rtp:rtp_source",
Piotr (Peter) Slatala48c54932019-01-28 14:50:38190 "units:data_rate",
Bjorn A Mellem57dc02a2019-05-30 16:15:37191 "units:timestamp",
Niels Möller3a742392018-10-08 09:13:58192 "video:encoded_image",
Niels Möllerc6ce9c52018-05-11 09:15:30193 "video:video_frame",
Chen Xing5d24b162019-06-10 10:59:38194 "video:video_rtp_headers",
Patrik Höglundb5b5bce2017-11-13 09:19:58195
196 # Basically, don't add stuff here. You might break sensitive downstream
197 # targets like pnacl. API should not depend on anything outside of this
198 # file, really. All these should arguably go away in time.
kjellander8a116632017-04-21 12:17:08199 "..:webrtc_common",
Niels Möllere24557f2019-09-19 09:36:35200 "../media:rtc_media_base",
Niels Möller6daa2782018-01-23 09:37:42201 "../media:rtc_media_config",
Patrik Höglundb874a352017-11-27 13:32:41202 "../modules/audio_processing:audio_processing_statistics",
Artem Titov94b57c02019-03-21 12:35:10203 "../rtc_base",
Patrik Höglund3e113432017-12-15 13:40:10204 "../rtc_base:checks",
205 "../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 17:40:47206 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 15:15:12207 "../rtc_base/system:rtc_export",
kjellanderc76dc952016-06-03 10:09:32208 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41209 absl_deps = [
210 "//third_party/abseil-cpp/absl/algorithm:container",
211 "//third_party/abseil-cpp/absl/memory",
212 "//third_party/abseil-cpp/absl/strings",
213 "//third_party/abseil-cpp/absl/types:optional",
214 ]
ossu7bb87ee2017-01-23 12:56:25215}
kjellanderc76dc952016-06-03 10:09:32216
Marina Cioceae3e07bf2020-02-27 15:28:51217rtc_source_set("frame_transformer_interface") {
218 visibility = [ "*" ]
219 sources = [ "frame_transformer_interface.h" ]
220 deps = [
221 ":scoped_refptr",
222 "../rtc_base:refcount",
223 "video:encoded_frame",
Marina Cioceacdc89b42020-05-14 18:01:02224 "video:video_frame_metadata",
Marina Cioceae3e07bf2020-02-27 15:28:51225 ]
226}
227
Mirko Bonadei86d053c2019-10-17 19:32:04228rtc_library("rtc_error") {
Mirko Bonadei9bc98852019-09-10 08:05:26229 visibility = [ "*" ]
Mirko Bonadeifcfeefe2019-09-10 08:51:23230 sources = [
231 "rtc_error.cc",
232 "rtc_error.h",
233 ]
234 deps = [
235 "../rtc_base:checks",
236 "../rtc_base:logging",
237 "../rtc_base:macromagic",
238 "../rtc_base/system:rtc_export",
Mirko Bonadeifcfeefe2019-09-10 08:51:23239 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41240 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Mirko Bonadei9bc98852019-09-10 08:05:26241}
242
Patrik Höglund662e31f2019-09-05 12:35:04243rtc_source_set("packet_socket_factory") {
244 visibility = [ "*" ]
245 sources = [
Patrik Höglund662e31f2019-09-05 12:35:04246 "async_resolver_factory.h",
247 "packet_socket_factory.h",
248 ]
249 deps = [
250 "../rtc_base:rtc_base",
251 "../rtc_base/system:rtc_export",
252 ]
253}
254
Mirko Bonadei85340ce2018-11-19 14:51:39255rtc_source_set("scoped_refptr") {
256 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10257 sources = [ "scoped_refptr.h" ]
Mirko Bonadei85340ce2018-11-19 14:51:39258}
259
Patrik Höglundb6b29e02018-06-21 14:58:01260rtc_source_set("video_quality_test_fixture_api") {
261 visibility = [ "*" ]
262 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10263 sources = [ "test/video_quality_test_fixture.h" ]
Patrik Höglundb6b29e02018-06-21 14:58:01264 deps = [
Patrik Höglundd8f3c172018-09-26 12:39:17265 ":fec_controller_api",
Patrik Höglundb6b29e02018-06-21 14:58:01266 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 11:48:24267 ":network_state_predictor_api",
Niels Möller6dcd4dc2019-08-26 08:45:28268 ":rtp_parameters",
Patrik Höglundb6b29e02018-06-21 14:58:01269 ":simulated_network_api",
270 "../call:fake_network",
271 "../call:rtp_interfaces",
272 "../test:test_common",
273 "../test:video_test_common",
Mirko Bonadei738bfa72019-09-17 12:47:38274 "transport:bitrate_settings",
Sebastian Jansson1391ed22019-04-30 12:23:51275 "transport:network_control",
Patrik Höglundb6b29e02018-06-21 14:58:01276 "video_codecs:video_codecs_api",
277 ]
Patrik Höglundb6b29e02018-06-21 14:58:01278}
279
Artem Titovd57628f2019-03-22 11:34:25280rtc_source_set("video_quality_analyzer_api") {
281 visibility = [ "*" ]
282 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10283 sources = [ "test/video_quality_analyzer_interface.h" ]
Artem Titovd57628f2019-03-22 11:34:25284
285 deps = [
Artem Titov3b641672020-06-02 15:18:17286 ":array_view",
Artem Titovd57628f2019-03-22 11:34:25287 ":stats_observer_interface",
288 "video:encoded_image",
289 "video:video_frame",
Chen Xing5d24b162019-06-10 10:59:38290 "video:video_rtp_headers",
Artem Titovd57628f2019-03-22 11:34:25291 "video_codecs:video_codecs_api",
Mirko Bonadei2dcf3482020-06-05 12:30:41292 ]
293 absl_deps = [
Artem Titov8a0284e2020-05-29 13:49:44294 "//third_party/abseil-cpp/absl/strings",
Artem Titovd57628f2019-03-22 11:34:25295 "//third_party/abseil-cpp/absl/types:optional",
296 ]
297}
298
Andrey Logvin20f45822020-07-01 08:32:15299rtc_source_set("track_id_stream_info_map") {
Mirko Bonadeif948eb62019-04-05 13:13:23300 visibility = [ "*" ]
Andrey Logvin20f45822020-07-01 08:32:15301 sources = [ "test/track_id_stream_info_map.h" ]
302 absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
Mirko Bonadeif948eb62019-04-05 13:13:23303}
304
Markus Handell0357b3e2020-03-16 12:40:51305rtc_source_set("rtp_transceiver_direction") {
306 visibility = [ "*" ]
307 sources = [ "rtp_transceiver_direction.h" ]
308}
309
Harald Alvestrandfd5ae7f2020-05-16 06:37:49310rtc_source_set("priority") {
311 sources = [ "priority.h" ]
312}
313
Mirko Bonadei86d053c2019-10-17 19:32:04314rtc_library("rtp_parameters") {
Niels Möller184b4af2019-08-23 11:33:50315 visibility = [ "*" ]
Niels Möller6dcd4dc2019-08-26 08:45:28316 sources = [
317 "media_types.cc",
318 "media_types.h",
319 "rtp_parameters.cc",
320 "rtp_parameters.h",
321 ]
322 deps = [
323 ":array_view",
Harald Alvestrandfd5ae7f2020-05-16 06:37:49324 ":priority",
Markus Handell0357b3e2020-03-16 12:40:51325 ":rtp_transceiver_direction",
Niels Möller6dcd4dc2019-08-26 08:45:28326 "../rtc_base:checks",
327 "../rtc_base:stringutils",
328 "../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 12:30:41329 ]
330 absl_deps = [
Markus Handelldfeb0df2020-03-16 21:20:47331 "//third_party/abseil-cpp/absl/strings",
Niels Möller6dcd4dc2019-08-26 08:45:28332 "//third_party/abseil-cpp/absl/types:optional",
333 ]
Niels Möller184b4af2019-08-23 11:33:50334}
335
Taylor Brandstettere3a294c2020-03-23 23:16:58336if (is_android) {
Harald Alvestrandfd5ae7f2020-05-16 06:37:49337 java_cpp_enum("priority_enums") {
338 sources = [ "priority.h" ]
Taylor Brandstettere3a294c2020-03-23 23:16:58339 }
340}
341
Artem Titovd57628f2019-03-22 11:34:25342rtc_source_set("audio_quality_analyzer_api") {
343 visibility = [ "*" ]
344 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10345 sources = [ "test/audio_quality_analyzer_interface.h" ]
Artem Titovd57628f2019-03-22 11:34:25346
347 deps = [
348 ":stats_observer_interface",
Andrey Logvin20f45822020-07-01 08:32:15349 ":track_id_stream_info_map",
Artem Titovd57628f2019-03-22 11:34:25350 ]
351}
352
353rtc_source_set("stats_observer_interface") {
354 visibility = [ "*" ]
355 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10356 sources = [ "test/stats_observer_interface.h" ]
Artem Titovd57628f2019-03-22 11:34:25357
Andrey Logvin9b526182020-06-15 16:14:07358 deps = [ ":rtc_stats_api" ]
359
360 absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
Artem Titovd57628f2019-03-22 11:34:25361}
362
363rtc_source_set("peer_connection_quality_test_fixture_api") {
364 visibility = [ "*" ]
365 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10366 sources = [ "test/peerconnection_quality_test_fixture.h" ]
Artem Titovd57628f2019-03-22 11:34:25367
368 deps = [
369 ":audio_quality_analyzer_api",
370 ":callfactory_api",
371 ":fec_controller_api",
Artem Titov00202262019-12-04 21:34:41372 ":frame_generator_api",
Artem Titovd57628f2019-03-22 11:34:25373 ":function_view",
374 ":libjingle_peerconnection_api",
Andrey Logvin435fb9a2020-05-08 08:02:49375 ":media_stream_interface",
Ying Wang0810a7c2019-04-10 11:48:24376 ":network_state_predictor_api",
Patrik Höglund7d003422019-09-17 10:16:35377 ":packet_socket_factory",
Artem Titovf9ed56b2020-05-11 19:17:25378 ":rtp_parameters",
Artem Titovd57628f2019-03-22 11:34:25379 ":simulated_network_api",
Artem Titova8549212019-08-19 12:38:06380 ":stats_observer_interface",
Andrey Logvin20f45822020-07-01 08:32:15381 ":track_id_stream_info_map",
Artem Titovd57628f2019-03-22 11:34:25382 ":video_quality_analyzer_api",
Artem Titovf65a89b2019-05-07 09:56:44383 "../media:rtc_media_base",
Niels Möller29d59a12020-06-22 12:48:10384 "../rtc_base:deprecation",
Artem Titovd57628f2019-03-22 11:34:25385 "../rtc_base:rtc_base",
Danil Chapovalov9305d112019-09-04 11:16:09386 "rtc_event_log",
Danil Chapovalov1a5fc902019-06-10 10:58:03387 "task_queue",
Artem Titovd57628f2019-03-22 11:34:25388 "transport:network_control",
389 "units:time_delta",
Artem Titovb4463ee2019-11-12 16:27:44390 "video:video_frame",
Artem Titovd57628f2019-03-22 11:34:25391 "video_codecs:video_codecs_api",
Mirko Bonadei2dcf3482020-06-05 12:30:41392 ]
393 absl_deps = [
Artem Titovd57628f2019-03-22 11:34:25394 "//third_party/abseil-cpp/absl/memory",
Artem Titov4a6f8182020-02-27 12:24:19395 "//third_party/abseil-cpp/absl/strings",
Artem Titovd57628f2019-03-22 11:34:25396 "//third_party/abseil-cpp/absl/types:optional",
397 ]
398}
399
Artem Titov503d7232019-12-04 11:37:13400rtc_source_set("frame_generator_api") {
401 visibility = [ "*" ]
402 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10403 sources = [ "test/frame_generator_interface.h" ]
Artem Titov503d7232019-12-04 11:37:13404
405 deps = [
406 ":scoped_refptr",
407 "video:video_frame",
Artem Titov503d7232019-12-04 11:37:13408 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41409 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Artem Titov503d7232019-12-04 11:37:13410}
411
Mirko Bonadei86d053c2019-10-17 19:32:04412rtc_library("test_dependency_factory") {
Patrik Höglundd8f3c172018-09-26 12:39:17413 visibility = [ "*" ]
414 testonly = true
415 sources = [
416 "test/test_dependency_factory.cc",
417 "test/test_dependency_factory.h",
418 ]
419 deps = [
420 ":video_quality_test_fixture_api",
Yves Gerey3e707812018-11-28 15:47:49421 "../rtc_base:checks",
Tommi9b7232a2020-05-15 08:09:27422 "../rtc_base:platform_thread_types",
Patrik Höglundd8f3c172018-09-26 12:39:17423 ]
Patrik Höglundd8f3c172018-09-26 12:39:17424}
425
Patrik Höglundb6b29e02018-06-21 14:58:01426if (rtc_include_tests) {
Mirko Bonadei86d053c2019-10-17 19:32:04427 rtc_library("create_video_quality_test_fixture_api") {
Patrik Höglundb6b29e02018-06-21 14:58:01428 visibility = [ "*" ]
429 testonly = true
430 sources = [
431 "test/create_video_quality_test_fixture.cc",
432 "test/create_video_quality_test_fixture.h",
433 ]
434 deps = [
435 ":fec_controller_api",
Ying Wang0810a7c2019-04-10 11:48:24436 ":network_state_predictor_api",
Mirko Bonadeid9708072019-01-25 19:26:48437 ":scoped_refptr",
Patrik Höglundb6b29e02018-06-21 14:58:01438 ":video_quality_test_fixture_api",
Patrik Höglundb6b29e02018-06-21 14:58:01439 "../video:video_quality_test",
440 ]
Patrik Höglundb6b29e02018-06-21 14:58:01441 }
Artem Titov7bf8c7f2019-03-15 14:00:37442
Sebastian Janssoncec24332019-12-04 13:26:50443 # TODO(srte): Move to network_emulation sub directory.
Mirko Bonadei86d053c2019-10-17 19:32:04444 rtc_library("create_network_emulation_manager") {
Artem Titov7bf8c7f2019-03-15 14:00:37445 visibility = [ "*" ]
446 testonly = true
447 sources = [
448 "test/create_network_emulation_manager.cc",
449 "test/create_network_emulation_manager.h",
450 ]
451 deps = [
452 ":network_emulation_manager_api",
Artem Titov386802e2019-07-05 08:48:17453 "../test/network:emulated_network",
Artem Titov7bf8c7f2019-03-15 14:00:37454 ]
455 }
Artem Titovd57628f2019-03-22 11:34:25456
Mirko Bonadei86d053c2019-10-17 19:32:04457 rtc_library("create_peerconnection_quality_test_fixture") {
Artem Titovd57628f2019-03-22 11:34:25458 visibility = [ "*" ]
459 testonly = true
460 sources = [
461 "test/create_peerconnection_quality_test_fixture.cc",
462 "test/create_peerconnection_quality_test_fixture.h",
463 ]
464
465 deps = [
466 ":audio_quality_analyzer_api",
467 ":peer_connection_quality_test_fixture_api",
Artem Titov1ff3c582020-07-01 13:20:37468 ":time_controller",
Artem Titovd57628f2019-03-22 11:34:25469 ":video_quality_analyzer_api",
470 "../test/pc/e2e:peerconnection_quality_test",
Artem Titovd57628f2019-03-22 11:34:25471 ]
472 }
Artem Titov33f9d2b2019-12-05 14:59:00473}
Artem Titov503d7232019-12-04 11:37:13474
Artem Titov33f9d2b2019-12-05 14:59:00475rtc_library("create_frame_generator") {
476 visibility = [ "*" ]
477 testonly = true
478 sources = [
479 "test/create_frame_generator.cc",
480 "test/create_frame_generator.h",
481 ]
482 deps = [
483 ":frame_generator_api",
484 "../rtc_base:checks",
485 "../system_wrappers",
486 "../test:frame_generator_impl",
Artem Titov33f9d2b2019-12-05 14:59:00487 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41488 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Patrik Höglundb6b29e02018-06-21 14:58:01489}
490
Andrey Logvindad6a942020-05-04 17:27:09491rtc_library("create_peer_connection_quality_test_frame_generator") {
492 visibility = [ "*" ]
493 testonly = true
494 sources = [
495 "test/create_peer_connection_quality_test_frame_generator.cc",
496 "test/create_peer_connection_quality_test_frame_generator.h",
497 ]
498 deps = [
499 ":create_frame_generator",
500 ":frame_generator_api",
501 ":peer_connection_quality_test_fixture_api",
Andrey Logvin1e83d342020-05-07 07:19:15502 "../rtc_base:checks",
Andrey Logvindad6a942020-05-04 17:27:09503 "../test:fileutils",
Andrey Logvindad6a942020-05-04 17:27:09504 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41505 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Andrey Logvindad6a942020-05-04 17:27:09506}
507
Elad Alon80810732017-10-06 11:07:32508rtc_source_set("libjingle_logging_api") {
Per Kjellandera7f2d842018-01-10 15:54:53509 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10510 sources = [ "rtc_event_log_output.h" ]
Elad Alon80810732017-10-06 11:07:32511}
512
Mirko Bonadei86d053c2019-10-17 19:32:04513rtc_library("rtc_event_log_output_file") {
Niels Möllerd8b9ed72019-05-08 11:53:51514 visibility = [ "*" ]
515 sources = [
516 "rtc_event_log_output_file.cc",
517 "rtc_event_log_output_file.h",
518 ]
519
520 deps = [
521 ":libjingle_logging_api",
Niels Möllerd8b9ed72019-05-08 11:53:51522 "../rtc_base:checks",
523 "../rtc_base:rtc_base_approved",
524 "../rtc_base/system:file_wrapper",
Danil Chapovalovb32f2c72019-05-22 11:39:25525 "rtc_event_log",
Niels Möllerd8b9ed72019-05-08 11:53:51526 ]
527}
528
hbos74e1a4f2016-09-16 06:33:01529rtc_source_set("rtc_stats_api") {
Per Kjellandera7f2d842018-01-10 15:54:53530 visibility = [ "*" ]
hbos74e1a4f2016-09-16 06:33:01531 cflags = []
532 sources = [
Steve Anton10542f22019-01-11 17:11:00533 "stats/rtc_stats.h",
534 "stats/rtc_stats_collector_callback.h",
535 "stats/rtc_stats_report.h",
hbos74e1a4f2016-09-16 06:33:01536 "stats/rtcstats_objects.h",
hbos74e1a4f2016-09-16 06:33:01537 ]
538
539 deps = [
Mirko Bonadeid9708072019-01-25 19:26:48540 ":scoped_refptr",
Patrik Höglunda8005cf2017-12-13 15:05:42541 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47542 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 15:15:12543 "../rtc_base/system:rtc_export",
hbos74e1a4f2016-09-16 06:33:01544 ]
545}
546
Mirko Bonadei86d053c2019-10-17 19:32:04547rtc_library("audio_options_api") {
Niels Möllera6fe2612018-01-19 10:28:54548 visibility = [ "*" ]
549 sources = [
Paulina Hensman11b34f42018-04-09 12:24:52550 "audio_options.cc",
Niels Möllera6fe2612018-01-19 10:28:54551 "audio_options.h",
552 ]
553
554 deps = [
Yves Gerey3e707812018-11-28 15:47:49555 ":array_view",
Danil Chapovalov21652332018-08-31 08:29:07556 "../rtc_base:stringutils",
Ken MacKay831ce5f2019-12-02 18:26:34557 "../rtc_base/system:rtc_export",
Niels Möllera6fe2612018-01-19 10:28:54558 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41559 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Niels Möllera6fe2612018-01-19 10:28:54560}
561
Mirko Bonadei86d053c2019-10-17 19:32:04562rtc_library("transport_api") {
Per Kjellandera7f2d842018-01-10 15:54:53563 visibility = [ "*" ]
aleloia8eb7562016-11-28 15:02:13564 sources = [
Dino Radaković1807d572018-02-22 13:18:06565 "call/transport.cc",
aleloia8eb7562016-11-28 15:02:13566 "call/transport.h",
567 ]
568}
nisseb2250e52016-12-02 12:01:14569
Sebastian Jansson6736df12018-11-21 18:18:39570rtc_source_set("bitrate_allocation") {
571 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10572 sources = [ "call/bitrate_allocation.h" ]
Sebastian Jansson6736df12018-11-21 18:18:39573 deps = [
574 "units:data_rate",
575 "units:time_delta",
576 ]
577}
578
Sebastian Janssoncec24332019-12-04 13:26:50579# TODO(srte): Move to network_emulation sub directory.
Patrik Höglundb6b29e02018-06-21 14:58:01580rtc_source_set("simulated_network_api") {
581 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10582 sources = [ "test/simulated_network.h" ]
Patrik Höglundb6b29e02018-06-21 14:58:01583 deps = [
Artem Titov94b57c02019-03-21 12:35:10584 "../rtc_base",
Patrik Höglundb6b29e02018-06-21 14:58:01585 "../rtc_base:criticalsection",
Patrik Höglundb6b29e02018-06-21 14:58:01586 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41587 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Patrik Höglundb6b29e02018-06-21 14:58:01588}
589
Sebastian Janssoncec24332019-12-04 13:26:50590# TODO(srte): Move to network_emulation sub directory.
Artem Titov7bf8c7f2019-03-15 14:00:37591rtc_source_set("network_emulation_manager_api") {
592 visibility = [ "*" ]
593 sources = [
Sebastian Janssoncec24332019-12-04 13:26:50594 "test/network_emulation_manager.cc",
Artem Titov7bf8c7f2019-03-15 14:00:37595 "test/network_emulation_manager.h",
596 ]
597 deps = [
598 ":simulated_network_api",
Sebastian Jansson6ce033a2020-01-22 09:12:56599 ":time_controller",
Sebastian Janssoncec24332019-12-04 13:26:50600 "../call:simulated_network",
Artem Titov94b57c02019-03-21 12:35:10601 "../rtc_base",
Sebastian Janssoncec24332019-12-04 13:26:50602 "test/network_emulation",
Artem Titov806299e2019-04-12 10:17:19603 "units:data_rate",
604 "units:data_size",
605 "units:timestamp",
Artem Titov7bf8c7f2019-03-15 14:00:37606 ]
607}
608
Sebastian Jansson6ce033a2020-01-22 09:12:56609rtc_source_set("time_controller") {
610 visibility = [ "*" ]
611 sources = [
612 "test/time_controller.cc",
613 "test/time_controller.h",
614 ]
615
616 deps = [
617 "../modules/utility",
618 "../rtc_base",
619 "../rtc_base/synchronization:yield_policy",
620 "../system_wrappers",
621 "task_queue",
622 "units:time_delta",
623 "units:timestamp",
624 ]
625}
626
Ying Wang3b790f32018-01-19 16:58:57627rtc_source_set("fec_controller_api") {
628 visibility = [ "*" ]
629 sources = [
630 "fec_controller.h",
Elad Alon8f01c4e2019-06-28 13:19:43631 "fec_controller_override.h",
Ying Wang3b790f32018-01-19 16:58:57632 ]
633
634 deps = [
Ying Wang0dd1b0a2018-02-20 11:50:27635 "../modules:module_fec_api",
Niels Möller8f7ce222019-03-21 14:43:58636 "video:video_frame_type",
Ying Wang3b790f32018-01-19 16:58:57637 ]
638}
639
Ying Wang0810a7c2019-04-10 11:48:24640rtc_source_set("network_state_predictor_api") {
641 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10642 sources = [ "network_state_predictor.h" ]
Ying Wang0810a7c2019-04-10 11:48:24643}
644
kwiberg529662a2017-09-04 12:43:17645rtc_source_set("array_view") {
Per Kjellandera7f2d842018-01-10 15:54:53646 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10647 sources = [ "array_view.h" ]
kwiberg529662a2017-09-04 12:43:17648 deps = [
Patrik Höglunda8005cf2017-12-13 15:05:42649 "../rtc_base:checks",
650 "../rtc_base:type_traits",
kwiberg529662a2017-09-04 12:43:17651 ]
652}
653
Niels Möller9155e492017-10-23 09:22:30654rtc_source_set("refcountedbase") {
Per Kjellandera7f2d842018-01-10 15:54:53655 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10656 sources = [ "ref_counted_base.h" ]
657 deps = [ "../rtc_base:rtc_base_approved" ]
Niels Möller9155e492017-10-23 09:22:30658}
659
Mirko Bonadei86d053c2019-10-17 19:32:04660rtc_library("ice_transport_factory") {
Harald Alvestrand98462622019-01-30 13:57:03661 visibility = [ "*" ]
662 sources = [
663 "ice_transport_factory.cc",
664 "ice_transport_factory.h",
665 ]
666 deps = [
667 ":libjingle_peerconnection_api",
Patrik Höglund7d003422019-09-17 10:16:35668 ":packet_socket_factory",
Harald Alvestrand98462622019-01-30 13:57:03669 ":scoped_refptr",
670 "../p2p:rtc_p2p",
Artem Titov94b57c02019-03-21 12:35:10671 "../rtc_base",
Mirko Bonadei66e76792019-04-02 09:33:59672 "../rtc_base/system:rtc_export",
Steve Anton6fdfec12019-07-01 21:07:33673 "rtc_event_log:rtc_event_log",
Harald Alvestrand98462622019-01-30 13:57:03674 ]
675}
676
Mirko Bonadei86d053c2019-10-17 19:32:04677rtc_library("neteq_simulator_api") {
Ivo Creusen55de08e2018-09-03 09:49:27678 visibility = [ "*" ]
679 sources = [
680 "test/neteq_simulator.cc",
681 "test/neteq_simulator.h",
682 ]
683}
684
Artem Titov741daaf2019-03-21 13:37:36685rtc_source_set("function_view") {
686 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:10687 sources = [ "function_view.h" ]
688 deps = [ "../rtc_base:checks" ]
Artem Titov741daaf2019-03-21 13:37:36689}
690
kjellanderfd5b4e92016-06-13 19:08:33691if (rtc_include_tests) {
Ivo Creusen2cb41052018-03-15 11:22:52692 if (rtc_enable_protobuf) {
Mirko Bonadei86d053c2019-10-17 19:32:04693 rtc_library("audioproc_f_api") {
Ivo Creusen2cb41052018-03-15 11:22:52694 visibility = [ "*" ]
695 testonly = true
696 sources = [
697 "test/audioproc_float.cc",
698 "test/audioproc_float.h",
699 ]
700
701 deps = [
Artem Titov94b57c02019-03-21 12:35:10702 "../modules/audio_processing",
Alessio Bazzicab768e882018-11-07 14:29:54703 "../modules/audio_processing:api",
Ivo Creusen2cb41052018-03-15 11:22:52704 "../modules/audio_processing:audioproc_f_impl",
705 ]
706 }
Ivo Creusen55de08e2018-09-03 09:49:27707
Mirko Bonadei86d053c2019-10-17 19:32:04708 rtc_library("neteq_simulator_factory") {
Ivo Creusen55de08e2018-09-03 09:49:27709 visibility = [ "*" ]
710 testonly = true
711 sources = [
712 "test/neteq_simulator_factory.cc",
713 "test/neteq_simulator_factory.h",
714 ]
715 deps = [
716 ":neteq_simulator_api",
717 "../modules/audio_coding:neteq_test_factory",
Ivo Creusenf81b0f12018-09-11 08:30:58718 "../rtc_base:checks",
Ivo Creusencee751a2020-01-16 16:17:09719 "neteq:neteq_api",
Mirko Bonadei2dcf3482020-06-05 12:30:41720 ]
721 absl_deps = [
Mirko Bonadei2ab97f62019-07-18 11:44:12722 "//third_party/abseil-cpp/absl/flags:flag",
723 "//third_party/abseil-cpp/absl/flags:parse",
Ivo Creusen5ec61562019-03-20 09:52:18724 "//third_party/abseil-cpp/absl/strings",
Ivo Creusen26d52e12020-03-24 14:59:26725 "//third_party/abseil-cpp/absl/types:optional",
Ivo Creusen55de08e2018-09-03 09:49:27726 ]
727 }
Ivo Creusen2cb41052018-03-15 11:22:52728 }
729
Rasmus Brandt0cedc052018-05-31 10:53:00730 rtc_source_set("simulcast_test_fixture_api") {
731 visibility = [ "*" ]
732 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10733 sources = [ "test/simulcast_test_fixture.h" ]
Rasmus Brandt0cedc052018-05-31 10:53:00734 }
735
Mirko Bonadei86d053c2019-10-17 19:32:04736 rtc_library("create_simulcast_test_fixture_api") {
Rasmus Brandt0cedc052018-05-31 10:53:00737 visibility = [ "*" ]
738 testonly = true
739 sources = [
740 "test/create_simulcast_test_fixture.cc",
741 "test/create_simulcast_test_fixture.h",
742 ]
743 deps = [
744 ":simulcast_test_fixture_api",
745 "../modules/video_coding:simulcast_test_fixture_impl",
746 "../rtc_base:rtc_base_approved",
747 "video_codecs:video_codecs_api",
748 ]
Rasmus Brandt0cedc052018-05-31 10:53:00749 }
750
Mirko Bonadei86d053c2019-10-17 19:32:04751 rtc_library("videocodec_test_fixture_api") {
Kári Tristan Helgason9d96e922018-05-04 09:56:55752 visibility = [ "*" ]
753 testonly = true
754 sources = [
755 "test/videocodec_test_fixture.h",
Kári Tristan Helgason169005d2018-05-22 11:34:14756 "test/videocodec_test_stats.cc",
757 "test/videocodec_test_stats.h",
Kári Tristan Helgason9d96e922018-05-04 09:56:55758 ]
759 deps = [
Kári Tristan Helgason169005d2018-05-22 11:34:14760 "..:webrtc_common",
761 "../modules/video_coding:video_codec_interface",
Jonas Olsson366a50c2018-09-06 11:41:30762 "../rtc_base:stringutils",
Niels Möller8f7ce222019-03-21 14:43:58763 "video:video_frame_type",
Kári Tristan Helgason9d96e922018-05-04 09:56:55764 "video_codecs:video_codecs_api",
765 ]
766 }
767
Mirko Bonadei86d053c2019-10-17 19:32:04768 rtc_library("create_videocodec_test_fixture_api") {
Kári Tristan Helgason9d96e922018-05-04 09:56:55769 visibility = [ "*" ]
770 testonly = true
771 sources = [
772 "test/create_videocodec_test_fixture.cc",
773 "test/create_videocodec_test_fixture.h",
774 ]
775 deps = [
776 ":videocodec_test_fixture_api",
777 "../modules/video_coding:video_codecs_test_framework",
778 "../modules/video_coding:videocodec_test_impl",
779 "../rtc_base:rtc_base_approved",
780 "video_codecs:video_codecs_api",
781 ]
Kári Tristan Helgason9d96e922018-05-04 09:56:55782 }
783
kjellander2f6af9c2017-03-03 06:26:23784 rtc_source_set("mock_audio_mixer") {
785 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10786 sources = [ "test/mock_audio_mixer.h" ]
kjellander2f6af9c2017-03-03 06:26:23787
kjellander2f6af9c2017-03-03 06:26:23788 deps = [
jianjun.zhuc0247402017-07-11 13:20:45789 "../test:test_support",
Gustaf Ullberg2ae140a2018-02-16 12:43:49790 "audio:audio_mixer_api",
kjellander2f6af9c2017-03-03 06:26:23791 ]
792 }
793
Elad Alon45befc52019-07-02 09:20:09794 rtc_source_set("mock_fec_controller_override") {
795 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10796 sources = [ "test/mock_fec_controller_override.h" ]
Elad Alon45befc52019-07-02 09:20:09797 deps = [
798 ":fec_controller_api",
799 "../test:test_support",
800 ]
801 }
802
Mirko Bonadei86d053c2019-10-17 19:32:04803 rtc_library("mock_frame_encryptor") {
Benjamin Wright78410ad2018-10-25 16:52:57804 testonly = true
Danil Chapovalovfc115192020-05-08 13:03:03805 sources = [ "test/mock_frame_encryptor.h" ]
Benjamin Wright78410ad2018-10-25 16:52:57806 deps = [
Niels Möllerb4a61282019-08-29 10:16:56807 # For api/crypto/frame_encryptor_interface.h
Benjamin Wright78410ad2018-10-25 16:52:57808 ":libjingle_peerconnection_api",
809 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 12:42:15810 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 16:52:57811 ]
812 }
813
Mirko Bonadei86d053c2019-10-17 19:32:04814 rtc_library("mock_frame_decryptor") {
Benjamin Wright78410ad2018-10-25 16:52:57815 testonly = true
Danil Chapovalovfc115192020-05-08 13:03:03816 sources = [ "test/mock_frame_decryptor.h" ]
Benjamin Wright78410ad2018-10-25 16:52:57817 deps = [
818 ":libjingle_peerconnection_api",
819 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 12:42:15820 "crypto:frame_decryptor_interface",
Benjamin Wright78410ad2018-10-25 16:52:57821 ]
822 }
823
Mirko Bonadei86d053c2019-10-17 19:32:04824 rtc_library("fake_frame_encryptor") {
Benjamin Wright78410ad2018-10-25 16:52:57825 testonly = true
826 sources = [
827 "test/fake_frame_encryptor.cc",
828 "test/fake_frame_encryptor.h",
829 ]
830 deps = [
831 ":array_view",
832 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 08:45:28833 ":rtp_parameters",
Benjamin Wright78410ad2018-10-25 16:52:57834 "..:webrtc_common",
835 "../rtc_base:checks",
836 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 12:42:15837 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 16:52:57838 ]
839 }
840
Mirko Bonadei86d053c2019-10-17 19:32:04841 rtc_library("fake_frame_decryptor") {
Benjamin Wright84583f62018-10-04 21:22:34842 testonly = true
843 sources = [
844 "test/fake_frame_decryptor.cc",
845 "test/fake_frame_decryptor.h",
Benjamin Wright84583f62018-10-04 21:22:34846 ]
847 deps = [
848 ":array_view",
849 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 08:45:28850 ":rtp_parameters",
Benjamin Wright84583f62018-10-04 21:22:34851 "..:webrtc_common",
852 "../rtc_base:checks",
853 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 12:42:15854 "crypto:frame_decryptor_interface",
Benjamin Wright84583f62018-10-04 21:22:34855 ]
856 }
857
Niels Möllere78fd802019-09-13 12:45:55858 rtc_source_set("dummy_peer_connection") {
859 visibility = [ "*" ]
860 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10861 sources = [ "test/dummy_peer_connection.h" ]
Niels Möllere78fd802019-09-13 12:45:55862
863 deps = [
864 ":libjingle_peerconnection_api",
865 ":rtc_error",
866 "../rtc_base:checks",
867 "../rtc_base:refcount",
868 ]
869 }
870
Jiawei Ou651b92e2018-06-29 22:46:44871 rtc_source_set("mock_peerconnectioninterface") {
Steve Antonaddf6162020-06-02 21:34:17872 visibility = [ "*" ]
Jiawei Ou651b92e2018-06-29 22:46:44873 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10874 sources = [ "test/mock_peerconnectioninterface.h" ]
Jiawei Ou651b92e2018-06-29 22:46:44875
876 deps = [
877 ":libjingle_peerconnection_api",
878 "../test:test_support",
879 ]
880 }
881
Steve Antonf84ab8e2020-06-03 16:18:24882 rtc_source_set("mock_peer_connection_factory_interface") {
883 visibility = [ "*" ]
884 testonly = true
885 sources = [ "test/mock_peer_connection_factory_interface.h" ]
886
887 deps = [
888 ":libjingle_peerconnection_api",
889 "../test:test_support",
890 ]
891 }
892
Patrik Höglund4b9e6ba2017-12-19 09:32:11893 rtc_source_set("mock_rtp") {
894 testonly = true
895 sources = [
896 "test/mock_rtpreceiver.h",
897 "test/mock_rtpsender.h",
898 ]
899
900 deps = [
901 ":libjingle_peerconnection_api",
902 "../test:test_support",
Patrik Höglund4b9e6ba2017-12-19 09:32:11903 ]
904 }
905
Marina Cioceabb13f382020-05-15 06:24:17906 rtc_source_set("mock_transformable_video_frame") {
907 testonly = true
908 sources = [ "test/mock_transformable_video_frame.h" ]
909
910 deps = [
911 ":frame_transformer_interface",
912 "../test:test_support",
913 ]
914 }
915
Jiawei Ou4206a0a2018-07-20 22:49:43916 rtc_source_set("mock_video_bitrate_allocator") {
917 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10918 sources = [ "test/mock_video_bitrate_allocator.h" ]
Jiawei Ou4206a0a2018-07-20 22:49:43919
920 deps = [
921 "../api/video:video_bitrate_allocator",
922 "../test:test_support",
923 ]
924 }
925
Jiawei Ouc2ebe212018-11-08 18:02:56926 rtc_source_set("mock_video_bitrate_allocator_factory") {
927 testonly = true
Mirko Bonadeiccbe95f2020-01-21 11:10:10928 sources = [ "test/mock_video_bitrate_allocator_factory.h" ]
Jiawei Ouc2ebe212018-11-08 18:02:56929
930 deps = [
931 "../api/video:video_bitrate_allocator_factory",
932 "../test:test_support",
933 ]
934 }
935
Emircan Uysalerdbcac7f2017-10-31 06:10:12936 rtc_source_set("mock_video_codec_factory") {
937 testonly = true
938 sources = [
939 "test/mock_video_decoder_factory.h",
940 "test/mock_video_encoder_factory.h",
941 ]
942
Emircan Uysalerdbcac7f2017-10-31 06:10:12943 deps = [
Mirko Bonadei34814c72018-01-11 09:13:56944 "../api/video_codecs:video_codecs_api",
Emircan Uysalerdbcac7f2017-10-31 06:10:12945 "../test:test_support",
Emircan Uysalerdbcac7f2017-10-31 06:10:12946 ]
947 }
948
Mirko Bonadei86d053c2019-10-17 19:32:04949 rtc_library("mock_video_decoder") {
Erik Språngc84cd952018-10-15 09:55:13950 visibility = [ "*" ]
951
952 testonly = true
Danil Chapovalovfc115192020-05-08 13:03:03953 sources = [ "test/mock_video_decoder.h" ]
Erik Språngc84cd952018-10-15 09:55:13954
955 deps = [
956 "../api/video_codecs:video_codecs_api",
957 "../test:test_support",
958 ]
959 }
960
Mirko Bonadei86d053c2019-10-17 19:32:04961 rtc_library("mock_video_encoder") {
Erik Språngc84cd952018-10-15 09:55:13962 visibility = [ "*" ]
963
Erik Språng6af1c922018-10-12 08:01:30964 testonly = true
Danil Chapovalovfc115192020-05-08 13:03:03965 sources = [ "test/mock_video_encoder.h" ]
Erik Språng6af1c922018-10-12 08:01:30966
967 deps = [
968 "../api/video_codecs:video_codecs_api",
969 "../test:test_support",
970 ]
971 }
972
Bjorn A Mellemc4f86542019-11-21 18:37:18973 rtc_library("create_time_controller") {
974 visibility = [ "*" ]
975 testonly = true
976 sources = [
977 "test/create_time_controller.cc",
978 "test/create_time_controller.h",
979 ]
980
981 deps = [
Sebastian Jansson7aa2edf2020-01-23 09:00:33982 ":callfactory_api",
Bjorn A Mellemc4f86542019-11-21 18:37:18983 ":time_controller",
Sebastian Jansson09a9f1b2020-02-03 08:30:07984 "../call",
Sebastian Jansson7aa2edf2020-01-23 09:00:33985 "../call:call_interfaces",
Bjorn A Mellemc4f86542019-11-21 18:37:18986 "../test/time_controller",
987 ]
988 }
989
Mirko Bonadei86d053c2019-10-17 19:32:04990 rtc_library("rtc_api_unittests") {
Niels Möller2e47f7c2018-10-16 08:41:42991 testonly = true
992
993 sources = [
994 "array_view_unittest.cc",
Artem Titov741daaf2019-03-21 13:37:36995 "function_view_unittest.cc",
Steve Anton10542f22019-01-11 17:11:00996 "rtc_error_unittest.cc",
Niels Möllerd8b9ed72019-05-08 11:53:51997 "rtc_event_log_output_file_unittest.cc",
Chen Xingd2a66862019-06-03 12:53:42998 "rtp_packet_info_unittest.cc",
999 "rtp_packet_infos_unittest.cc",
Steve Anton10542f22019-01-11 17:11:001000 "rtp_parameters_unittest.cc",
Danil Chapovalovba916b72019-11-12 09:24:431001 "scoped_refptr_unittest.cc",
Bjorn A Mellemc4f86542019-11-21 18:37:181002 "test/create_time_controller_unittest.cc",
Niels Möller2e47f7c2018-10-16 08:41:421003 ]
1004
Niels Möller2e47f7c2018-10-16 08:41:421005 deps = [
1006 ":array_view",
Bjorn A Mellemc4f86542019-11-21 18:37:181007 ":create_time_controller",
Artem Titov741daaf2019-03-21 13:37:361008 ":function_view",
Niels Möller2e47f7c2018-10-16 08:41:421009 ":libjingle_peerconnection_api",
Mirko Bonadeifcfeefe2019-09-10 08:51:231010 ":rtc_error",
Niels Möllerd8b9ed72019-05-08 11:53:511011 ":rtc_event_log_output_file",
Chen Xingd2a66862019-06-03 12:53:421012 ":rtp_packet_info",
Niels Möller6dcd4dc2019-08-26 08:45:281013 ":rtp_parameters",
Danil Chapovalovba916b72019-11-12 09:24:431014 ":scoped_refptr",
Bjorn A Mellemc4f86542019-11-21 18:37:181015 ":time_controller",
Niels Möller2e47f7c2018-10-16 08:41:421016 "../rtc_base:checks",
Mirko Bonadeie3abb812018-11-23 12:15:081017 "../rtc_base:gunit_helpers",
Niels Möller2e47f7c2018-10-16 08:41:421018 "../rtc_base:rtc_base_approved",
Bjorn A Mellemc4f86542019-11-21 18:37:181019 "../rtc_base:rtc_task_queue",
1020 "../rtc_base/task_utils:repeating_task",
Niels Möllerd8b9ed72019-05-08 11:53:511021 "../test:fileutils",
Niels Möller2e47f7c2018-10-16 08:41:421022 "../test:test_support",
Danil Chapovalov2684ab32019-02-26 09:18:081023 "task_queue:task_queue_default_factory_unittests",
Bjorn A Mellemc4f86542019-11-21 18:37:181024 "units:time_delta",
1025 "units:timestamp",
Niels Möller2e47f7c2018-10-16 08:41:421026 "units:units_unittests",
Danil Chapovalovb703db92019-04-08 14:59:281027 "video:video_unittests",
Niels Möller2e47f7c2018-10-16 08:41:421028 ]
1029 }
Harald Alvestrand3cc45d42019-03-14 04:42:041030
Mirko Bonadei86d053c2019-10-17 19:32:041031 rtc_library("compile_all_headers") {
Harald Alvestrand3cc45d42019-03-14 04:42:041032 testonly = true
1033
Mirko Bonadeiccbe95f2020-01-21 11:10:101034 sources = [ "test/compile_all_headers.cc" ]
Harald Alvestrand3cc45d42019-03-14 04:42:041035
1036 deps = [
Harald Alvestrand61f74d92020-03-02 10:20:001037 ":dummy_peer_connection",
Harald Alvestrand3cc45d42019-03-14 04:42:041038 ":fake_frame_decryptor",
1039 ":fake_frame_encryptor",
Harald Alvestrand3cc45d42019-03-14 04:42:041040 ":mock_audio_mixer",
1041 ":mock_frame_decryptor",
1042 ":mock_frame_encryptor",
Steve Antonf84ab8e2020-06-03 16:18:241043 ":mock_peer_connection_factory_interface",
Harald Alvestrand3cc45d42019-03-14 04:42:041044 ":mock_peerconnectioninterface",
1045 ":mock_rtp",
Marina Cioceabb13f382020-05-15 06:24:171046 ":mock_transformable_video_frame",
Harald Alvestrand3cc45d42019-03-14 04:42:041047 ":mock_video_bitrate_allocator",
1048 ":mock_video_bitrate_allocator_factory",
1049 ":mock_video_codec_factory",
1050 ":mock_video_decoder",
1051 ":mock_video_encoder",
1052 ":rtc_api_unittests",
1053 "units:units_unittests",
1054 ]
1055 }
kjellanderfd5b4e92016-06-13 19:08:331056}