blob: 2ebf6e6c6360303166ecbe48deef045351d53efb [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 = [ "*" ]
kjellandera69d9732016-08-31 14:33:0526 sources = [
kjellandera69d9732016-08-31 14:33:0527 "call/audio_sink.h",
kjellandera69d9732016-08-31 14:33:0528 ]
kjellandera69d9732016-08-31 14:33:0529}
30
Niels Möller8366e172018-02-14 11:20:1331rtc_source_set("callfactory_api") {
32 visibility = [ "*" ]
33 sources = [
Steve Anton10542f22019-01-11 17:11:0034 "call/call_factory_interface.h",
Niels Möller8366e172018-02-14 11:20:1335 ]
Mirko Bonadei35214fc2019-09-23 12:54:2836 deps = [
37 "../rtc_base/system:rtc_export",
38 ]
Niels Möller8366e172018-02-14 11:20:1339}
40
Danil Chapovalov5bf58062019-06-18 14:43:3741if (!build_with_chromium) {
Mirko Bonadei86d053c2019-10-17 19:32:0442 rtc_library("create_peerconnection_factory") {
Danil Chapovalov5bf58062019-06-18 14:43:3743 visibility = [ "*" ]
Danil Chapovalov41300af2019-07-10 10:44:4344 allow_poison = [ "default_task_queue" ]
Danil Chapovalov5bf58062019-06-18 14:43:3745 sources = [
46 "create_peerconnection_factory.cc",
47 "create_peerconnection_factory.h",
48 ]
49 deps = [
50 ":callfactory_api",
51 ":libjingle_peerconnection_api",
52 ":scoped_refptr",
53 "../api/rtc_event_log:rtc_event_log_factory",
54 "../media:rtc_audio_video",
55 "../media:rtc_media_base",
56 "../modules/audio_device:audio_device_api",
57 "../modules/audio_processing:api",
58 "../pc:peerconnection",
59 "../rtc_base",
60 "../rtc_base:rtc_base_approved",
61 "audio:audio_mixer_api",
62 "audio_codecs:audio_codecs_api",
63 "task_queue:default_task_queue_factory",
64 "video_codecs:video_codecs_api",
Danil Chapovalov5bf58062019-06-18 14:43:3765 ]
66 }
Mirko Bonadei3cf8f3e2018-11-19 08:17:5167}
68
Mirko Bonadei86d053c2019-10-17 19:32:0469rtc_library("rtp_headers") {
Niels Möllerb8389522019-03-19 13:27:0370 visibility = [ "*" ]
Niels Mölleref1052a2019-03-20 07:40:2371 sources = [
72 "rtp_headers.cc",
73 "rtp_headers.h",
74 ]
75 deps = [
76 ":array_view",
77 "..:webrtc_common",
Sebastian Jansson3d61ab12019-06-14 11:35:5178 "units:timestamp",
Chen Xing5d24b162019-06-10 10:59:3879 "video:video_rtp_headers",
Niels Mölleref1052a2019-03-20 07:40:2380 "//third_party/abseil-cpp/absl/types:optional",
81 ]
Niels Möllerb8389522019-03-19 13:27:0382}
83
Mirko Bonadei86d053c2019-10-17 19:32:0484rtc_library("rtp_packet_info") {
Chen Xingd2a66862019-06-03 12:53:4285 visibility = [ "*" ]
86 sources = [
87 "rtp_packet_info.cc",
88 "rtp_packet_info.h",
89 "rtp_packet_infos.h",
90 ]
91 deps = [
92 ":array_view",
93 ":refcountedbase",
94 ":rtp_headers",
95 ":scoped_refptr",
96 "..:webrtc_common",
Chen Xinge08648d2019-08-05 14:29:1397 "../rtc_base:deprecation",
Chen Xingd2a66862019-06-03 12:53:4298 "../rtc_base:rtc_base_approved",
99 "//third_party/abseil-cpp/absl/types:optional",
100 ]
101}
102
Mirko Bonadei86d053c2019-10-17 19:32:04103rtc_library("media_stream_interface") {
Niels Möllerc1c62842019-09-17 08:16:05104 visibility = [ "*" ]
Niels Möllere942b142019-09-17 12:30:41105 sources = [
106 "media_stream_interface.cc",
107 "media_stream_interface.h",
108 "notifier.h",
109 ]
110 deps = [
111 ":audio_options_api",
112 ":rtp_parameters",
113 ":scoped_refptr",
114 "../modules/audio_processing:audio_processing_statistics",
115 "../rtc_base:checks",
116 "../rtc_base:refcount",
117 "../rtc_base/system:rtc_export",
118 "video:video_frame",
119 "//third_party/abseil-cpp/absl/types:optional",
120 ]
Niels Möllerc1c62842019-09-17 08:16:05121}
122
Mirko Bonadei86d053c2019-10-17 19:32:04123rtc_library("libjingle_peerconnection_api") {
Per Kjellandera7f2d842018-01-10 15:54:53124 visibility = [ "*" ]
kjellanderc76dc952016-06-03 10:09:32125 cflags = []
126 sources = [
Steve Anton36b28db2017-10-26 18:27:17127 "candidate.cc",
Patrik Höglunde2d6a062017-10-05 12:53:33128 "candidate.h",
Steve Anton10542f22019-01-11 17:11:00129 "crypto_params.h",
130 "data_channel_interface.cc",
131 "data_channel_interface.h",
Harald Alvestrand7061e512019-04-10 15:20:42132 "dtls_transport_interface.cc",
Steve Anton10542f22019-01-11 17:11:00133 "dtls_transport_interface.h",
134 "dtmf_sender_interface.h",
Harald Alvestrand98462622019-01-30 13:57:03135 "ice_transport_interface.h",
Steve Anton845bb732017-12-05 20:50:26136 "jsep.cc",
kjellanderc76dc952016-06-03 10:09:32137 "jsep.h",
Steve Anton10542f22019-01-11 17:11:00138 "jsep_ice_candidate.cc",
139 "jsep_ice_candidate.h",
140 "jsep_session_description.h",
Steve Anton10542f22019-01-11 17:11:00141 "media_stream_proxy.h",
142 "media_stream_track_proxy.h",
Steve Anton10542f22019-01-11 17:11:00143 "peer_connection_factory_proxy.h",
144 "peer_connection_interface.cc",
145 "peer_connection_interface.h",
146 "peer_connection_proxy.h",
Steve Antonf2737d22017-10-31 23:27:34147 "proxy.cc",
kjellanderc76dc952016-06-03 10:09:32148 "proxy.h",
Steve Anton10542f22019-01-11 17:11:00149 "rtp_receiver_interface.cc",
150 "rtp_receiver_interface.h",
151 "rtp_sender_interface.cc",
152 "rtp_sender_interface.h",
153 "rtp_transceiver_interface.cc",
154 "rtp_transceiver_interface.h",
Harald Alvestrandc85328f2019-02-28 06:51:00155 "sctp_transport_interface.cc",
156 "sctp_transport_interface.h",
Steve Anton10542f22019-01-11 17:11:00157 "set_remote_description_observer_interface.h",
158 "stats_types.cc",
159 "stats_types.h",
160 "turn_customizer.h",
161 "uma_metrics.h",
162 "video_track_source_proxy.h",
kjellanderc76dc952016-06-03 10:09:32163 ]
kjellanderc76dc952016-06-03 10:09:32164 deps = [
Patrik Höglund3e113432017-12-15 13:40:10165 ":array_view",
Niels Möllera6fe2612018-01-19 10:28:54166 ":audio_options_api",
Niels Möller8366e172018-02-14 11:20:13167 ":callfactory_api",
Ying Wang0dd1b0a2018-02-20 11:50:27168 ":fec_controller_api",
Niels Möller8366e172018-02-14 11:20:13169 ":libjingle_logging_api",
Niels Möllere942b142019-09-17 12:30:41170 ":media_stream_interface",
Ying Wang0810a7c2019-04-10 11:48:24171 ":network_state_predictor_api",
Patrik Höglund662e31f2019-09-05 12:35:04172 ":packet_socket_factory",
Mirko Bonadeifcfeefe2019-09-10 08:51:23173 ":rtc_error",
hbos74e1a4f2016-09-16 06:33:01174 ":rtc_stats_api",
Chen Xingd2a66862019-06-03 12:53:42175 ":rtp_packet_info",
Niels Möller184b4af2019-08-23 11:33:50176 ":rtp_parameters",
Mirko Bonadeid9708072019-01-25 19:26:48177 ":scoped_refptr",
Gustaf Ullberg2ae140a2018-02-16 12:43:49178 "audio:audio_mixer_api",
Patrik Höglundb5b5bce2017-11-13 09:19:58179 "audio_codecs:audio_codecs_api",
Mirko Bonadeieaaaf412019-09-13 12:42:15180 "crypto:frame_decryptor_interface",
181 "crypto:frame_encryptor_interface",
182 "crypto:options",
Ivo Creusenc3d1f9b2019-11-01 10:47:51183 "neteq:neteq_api",
Danil Chapovalovb32f2c72019-05-22 11:39:25184 "rtc_event_log",
Danil Chapovalov9435c6102019-04-01 08:33:16185 "task_queue",
Niels Möller0c4f7be2018-05-07 12:01:37186 "transport:bitrate_settings",
Niels Möller65f17ca2019-09-12 11:59:36187 "transport:datagram_transport_interface",
Honghai Zhangf8998cf2019-10-14 18:27:50188 "transport:enums",
Sebastian Janssondfce03a2018-05-18 16:05:10189 "transport:network_control",
Niels Möllerec3b9ff2019-02-07 23:28:39190 "transport/media:audio_interfaces",
Niels Möller65f17ca2019-09-12 11:59:36191 "transport/media:media_transport_interface",
Niels Möller7e0e44f2019-02-12 13:04:11192 "transport/media:video_interfaces",
Niels Möllera8370302019-09-02 13:16:49193 "transport/rtp:rtp_source",
Piotr (Peter) Slatala48c54932019-01-28 14:50:38194 "units:data_rate",
Bjorn A Mellem57dc02a2019-05-30 16:15:37195 "units:timestamp",
Niels Möller3a742392018-10-08 09:13:58196 "video:encoded_image",
Niels Möllerc6ce9c52018-05-11 09:15:30197 "video:video_frame",
Chen Xing5d24b162019-06-10 10:59:38198 "video:video_rtp_headers",
Steve Anton2c9ebef2019-01-29 01:27:58199 "//third_party/abseil-cpp/absl/algorithm:container",
Steve Anton8e967df2019-07-31 01:07:40200 "//third_party/abseil-cpp/absl/memory",
Steve Anton6fe1fba2018-12-11 18:15:23201 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 11:32:56202 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb5b5bce2017-11-13 09:19:58203
204 # Basically, don't add stuff here. You might break sensitive downstream
205 # targets like pnacl. API should not depend on anything outside of this
206 # file, really. All these should arguably go away in time.
kjellander8a116632017-04-21 12:17:08207 "..:webrtc_common",
Niels Möllere24557f2019-09-19 09:36:35208 "../media:rtc_media_base",
Niels Möller6daa2782018-01-23 09:37:42209 "../media:rtc_media_config",
Patrik Höglundb874a352017-11-27 13:32:41210 "../modules/audio_processing:audio_processing_statistics",
Artem Titov94b57c02019-03-21 12:35:10211 "../rtc_base",
Patrik Höglund3e113432017-12-15 13:40:10212 "../rtc_base:checks",
213 "../rtc_base:deprecation",
ehmaldonadof6a861a2017-07-19 17:40:47214 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 15:15:12215 "../rtc_base/system:rtc_export",
kjellanderc76dc952016-06-03 10:09:32216 ]
ossu7bb87ee2017-01-23 12:56:25217}
kjellanderc76dc952016-06-03 10:09:32218
Mirko Bonadei86d053c2019-10-17 19:32:04219rtc_library("rtc_error") {
Mirko Bonadei9bc98852019-09-10 08:05:26220 visibility = [ "*" ]
Mirko Bonadeifcfeefe2019-09-10 08:51:23221 sources = [
222 "rtc_error.cc",
223 "rtc_error.h",
224 ]
225 deps = [
226 "../rtc_base:checks",
227 "../rtc_base:logging",
228 "../rtc_base:macromagic",
229 "../rtc_base/system:rtc_export",
Mirko Bonadeifcfeefe2019-09-10 08:51:23230 ]
Mirko Bonadei9bc98852019-09-10 08:05:26231}
232
Patrik Höglund662e31f2019-09-05 12:35:04233rtc_source_set("packet_socket_factory") {
234 visibility = [ "*" ]
235 sources = [
Patrik Höglund662e31f2019-09-05 12:35:04236 "async_resolver_factory.h",
237 "packet_socket_factory.h",
238 ]
239 deps = [
240 "../rtc_base:rtc_base",
241 "../rtc_base/system:rtc_export",
242 ]
243}
244
Mirko Bonadei85340ce2018-11-19 14:51:39245rtc_source_set("scoped_refptr") {
246 visibility = [ "*" ]
247 sources = [
248 "scoped_refptr.h",
249 ]
250}
251
Patrik Höglundb6b29e02018-06-21 14:58:01252rtc_source_set("video_quality_test_fixture_api") {
253 visibility = [ "*" ]
254 testonly = true
255 sources = [
256 "test/video_quality_test_fixture.h",
257 ]
258 deps = [
Patrik Höglundd8f3c172018-09-26 12:39:17259 ":fec_controller_api",
Patrik Höglundb6b29e02018-06-21 14:58:01260 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 11:48:24261 ":network_state_predictor_api",
Niels Möller6dcd4dc2019-08-26 08:45:28262 ":rtp_parameters",
Patrik Höglundb6b29e02018-06-21 14:58:01263 ":simulated_network_api",
264 "../call:fake_network",
265 "../call:rtp_interfaces",
266 "../test:test_common",
267 "../test:video_test_common",
Mirko Bonadei738bfa72019-09-17 12:47:38268 "transport:bitrate_settings",
Sebastian Jansson1391ed22019-04-30 12:23:51269 "transport:network_control",
Niels Möller65f17ca2019-09-12 11:59:36270 "transport/media:media_transport_interface",
Patrik Höglundb6b29e02018-06-21 14:58:01271 "video_codecs:video_codecs_api",
272 ]
Patrik Höglundb6b29e02018-06-21 14:58:01273}
274
Artem Titovd57628f2019-03-22 11:34:25275rtc_source_set("video_quality_analyzer_api") {
276 visibility = [ "*" ]
277 testonly = true
278 sources = [
279 "test/video_quality_analyzer_interface.h",
280 ]
281
282 deps = [
283 ":stats_observer_interface",
284 "video:encoded_image",
285 "video:video_frame",
Chen Xing5d24b162019-06-10 10:59:38286 "video:video_rtp_headers",
Artem Titovd57628f2019-03-22 11:34:25287 "video_codecs:video_codecs_api",
Artem Titovd57628f2019-03-22 11:34:25288 "//third_party/abseil-cpp/absl/types:optional",
289 ]
290}
291
Mirko Bonadeif948eb62019-04-05 13:13:23292rtc_source_set("track_id_stream_label_map") {
293 visibility = [ "*" ]
294 sources = [
295 "test/track_id_stream_label_map.h",
296 ]
297}
298
Mirko Bonadei86d053c2019-10-17 19:32:04299rtc_library("rtp_parameters") {
Niels Möller184b4af2019-08-23 11:33:50300 visibility = [ "*" ]
Niels Möller6dcd4dc2019-08-26 08:45:28301 sources = [
302 "media_types.cc",
303 "media_types.h",
304 "rtp_parameters.cc",
305 "rtp_parameters.h",
306 ]
307 deps = [
308 ":array_view",
309 "../rtc_base:checks",
310 "../rtc_base:stringutils",
311 "../rtc_base/system:rtc_export",
312 "//third_party/abseil-cpp/absl/types:optional",
313 ]
Niels Möller184b4af2019-08-23 11:33:50314}
315
Artem Titovd57628f2019-03-22 11:34:25316rtc_source_set("audio_quality_analyzer_api") {
317 visibility = [ "*" ]
318 testonly = true
319 sources = [
320 "test/audio_quality_analyzer_interface.h",
321 ]
322
323 deps = [
324 ":stats_observer_interface",
Mirko Bonadeif948eb62019-04-05 13:13:23325 ":track_id_stream_label_map",
Artem Titovd57628f2019-03-22 11:34:25326 ]
327}
328
329rtc_source_set("stats_observer_interface") {
330 visibility = [ "*" ]
331 testonly = true
332 sources = [
333 "test/stats_observer_interface.h",
334 ]
335
336 deps = [
Niels Möllerb4a61282019-08-29 10:16:56337 # For api/stats_types.h
Artem Titovd57628f2019-03-22 11:34:25338 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 08:45:28339 ":rtp_parameters",
Artem Titovd57628f2019-03-22 11:34:25340 ]
341}
342
343rtc_source_set("peer_connection_quality_test_fixture_api") {
344 visibility = [ "*" ]
345 testonly = true
346 sources = [
347 "test/peerconnection_quality_test_fixture.h",
348 ]
349
350 deps = [
351 ":audio_quality_analyzer_api",
352 ":callfactory_api",
353 ":fec_controller_api",
354 ":function_view",
355 ":libjingle_peerconnection_api",
Ying Wang0810a7c2019-04-10 11:48:24356 ":network_state_predictor_api",
Patrik Höglund7d003422019-09-17 10:16:35357 ":packet_socket_factory",
Artem Titovd57628f2019-03-22 11:34:25358 ":simulated_network_api",
Artem Titova8549212019-08-19 12:38:06359 ":stats_observer_interface",
Artem Titovd57628f2019-03-22 11:34:25360 ":video_quality_analyzer_api",
Artem Titovf65a89b2019-05-07 09:56:44361 "../media:rtc_media_base",
Artem Titovd57628f2019-03-22 11:34:25362 "../rtc_base:rtc_base",
Danil Chapovalov9305d112019-09-04 11:16:09363 "rtc_event_log",
Danil Chapovalov1a5fc902019-06-10 10:58:03364 "task_queue",
Artem Titovd57628f2019-03-22 11:34:25365 "transport:network_control",
Niels Möller65f17ca2019-09-12 11:59:36366 "transport/media:media_transport_interface",
Artem Titovd57628f2019-03-22 11:34:25367 "units:time_delta",
368 "video_codecs:video_codecs_api",
369 "//third_party/abseil-cpp/absl/memory",
370 "//third_party/abseil-cpp/absl/types:optional",
371 ]
372}
373
Mirko Bonadei86d053c2019-10-17 19:32:04374rtc_library("test_dependency_factory") {
Patrik Höglundd8f3c172018-09-26 12:39:17375 visibility = [ "*" ]
376 testonly = true
377 sources = [
378 "test/test_dependency_factory.cc",
379 "test/test_dependency_factory.h",
380 ]
381 deps = [
382 ":video_quality_test_fixture_api",
Yves Gerey3e707812018-11-28 15:47:49383 "../rtc_base:checks",
Patrik Höglundd8f3c172018-09-26 12:39:17384 "../rtc_base:thread_checker",
385 ]
Patrik Höglundd8f3c172018-09-26 12:39:17386}
387
Patrik Höglundb6b29e02018-06-21 14:58:01388if (rtc_include_tests) {
Mirko Bonadei86d053c2019-10-17 19:32:04389 rtc_library("create_video_quality_test_fixture_api") {
Patrik Höglundb6b29e02018-06-21 14:58:01390 visibility = [ "*" ]
391 testonly = true
392 sources = [
393 "test/create_video_quality_test_fixture.cc",
394 "test/create_video_quality_test_fixture.h",
395 ]
396 deps = [
397 ":fec_controller_api",
Ying Wang0810a7c2019-04-10 11:48:24398 ":network_state_predictor_api",
Mirko Bonadeid9708072019-01-25 19:26:48399 ":scoped_refptr",
Patrik Höglundb6b29e02018-06-21 14:58:01400 ":video_quality_test_fixture_api",
Patrik Höglundb6b29e02018-06-21 14:58:01401 "../video:video_quality_test",
402 ]
Patrik Höglundb6b29e02018-06-21 14:58:01403 }
Artem Titov7bf8c7f2019-03-15 14:00:37404
Mirko Bonadei86d053c2019-10-17 19:32:04405 rtc_library("create_network_emulation_manager") {
Artem Titov7bf8c7f2019-03-15 14:00:37406 visibility = [ "*" ]
407 testonly = true
408 sources = [
409 "test/create_network_emulation_manager.cc",
410 "test/create_network_emulation_manager.h",
411 ]
412 deps = [
413 ":network_emulation_manager_api",
Artem Titov386802e2019-07-05 08:48:17414 "../test/network:emulated_network",
Artem Titov7bf8c7f2019-03-15 14:00:37415 ]
416 }
Artem Titovd57628f2019-03-22 11:34:25417
Mirko Bonadei86d053c2019-10-17 19:32:04418 rtc_library("create_peerconnection_quality_test_fixture") {
Artem Titovd57628f2019-03-22 11:34:25419 visibility = [ "*" ]
420 testonly = true
421 sources = [
422 "test/create_peerconnection_quality_test_fixture.cc",
423 "test/create_peerconnection_quality_test_fixture.h",
424 ]
425
426 deps = [
427 ":audio_quality_analyzer_api",
428 ":peer_connection_quality_test_fixture_api",
429 ":video_quality_analyzer_api",
430 "../test/pc/e2e:peerconnection_quality_test",
Artem Titovd57628f2019-03-22 11:34:25431 ]
432 }
Patrik Höglundb6b29e02018-06-21 14:58:01433}
434
Elad Alon80810732017-10-06 11:07:32435rtc_source_set("libjingle_logging_api") {
Per Kjellandera7f2d842018-01-10 15:54:53436 visibility = [ "*" ]
Elad Alon80810732017-10-06 11:07:32437 sources = [
Steve Anton10542f22019-01-11 17:11:00438 "rtc_event_log_output.h",
Elad Alon80810732017-10-06 11:07:32439 ]
440}
441
Mirko Bonadei86d053c2019-10-17 19:32:04442rtc_library("rtc_event_log_output_file") {
Niels Möllerd8b9ed72019-05-08 11:53:51443 visibility = [ "*" ]
444 sources = [
445 "rtc_event_log_output_file.cc",
446 "rtc_event_log_output_file.h",
447 ]
448
449 deps = [
450 ":libjingle_logging_api",
Niels Möllerd8b9ed72019-05-08 11:53:51451 "../rtc_base:checks",
452 "../rtc_base:rtc_base_approved",
453 "../rtc_base/system:file_wrapper",
Danil Chapovalovb32f2c72019-05-22 11:39:25454 "rtc_event_log",
Niels Möllerd8b9ed72019-05-08 11:53:51455 ]
456}
457
hbos74e1a4f2016-09-16 06:33:01458rtc_source_set("rtc_stats_api") {
Per Kjellandera7f2d842018-01-10 15:54:53459 visibility = [ "*" ]
hbos74e1a4f2016-09-16 06:33:01460 cflags = []
461 sources = [
Steve Anton10542f22019-01-11 17:11:00462 "stats/rtc_stats.h",
463 "stats/rtc_stats_collector_callback.h",
464 "stats/rtc_stats_report.h",
hbos74e1a4f2016-09-16 06:33:01465 "stats/rtcstats_objects.h",
hbos74e1a4f2016-09-16 06:33:01466 ]
467
468 deps = [
Mirko Bonadeid9708072019-01-25 19:26:48469 ":scoped_refptr",
Patrik Höglunda8005cf2017-12-13 15:05:42470 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 17:40:47471 "../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 15:15:12472 "../rtc_base/system:rtc_export",
hbos74e1a4f2016-09-16 06:33:01473 ]
474}
475
Mirko Bonadei86d053c2019-10-17 19:32:04476rtc_library("audio_options_api") {
Niels Möllera6fe2612018-01-19 10:28:54477 visibility = [ "*" ]
478 sources = [
Paulina Hensman11b34f42018-04-09 12:24:52479 "audio_options.cc",
Niels Möllera6fe2612018-01-19 10:28:54480 "audio_options.h",
481 ]
482
483 deps = [
Yves Gerey3e707812018-11-28 15:47:49484 ":array_view",
Danil Chapovalov21652332018-08-31 08:29:07485 "../rtc_base:stringutils",
Danil Chapovalov0bc58cf2018-06-21 11:32:56486 "//third_party/abseil-cpp/absl/types:optional",
Niels Möllera6fe2612018-01-19 10:28:54487 ]
488}
489
Mirko Bonadei86d053c2019-10-17 19:32:04490rtc_library("transport_api") {
Per Kjellandera7f2d842018-01-10 15:54:53491 visibility = [ "*" ]
aleloia8eb7562016-11-28 15:02:13492 sources = [
Dino Radaković1807d572018-02-22 13:18:06493 "call/transport.cc",
aleloia8eb7562016-11-28 15:02:13494 "call/transport.h",
495 ]
496}
nisseb2250e52016-12-02 12:01:14497
Sebastian Jansson6736df12018-11-21 18:18:39498rtc_source_set("bitrate_allocation") {
499 visibility = [ "*" ]
500 sources = [
501 "call/bitrate_allocation.h",
502 ]
503 deps = [
504 "units:data_rate",
505 "units:time_delta",
506 ]
507}
508
Patrik Höglundb6b29e02018-06-21 14:58:01509rtc_source_set("simulated_network_api") {
510 visibility = [ "*" ]
511 sources = [
512 "test/simulated_network.h",
513 ]
514 deps = [
Artem Titov94b57c02019-03-21 12:35:10515 "../rtc_base",
Patrik Höglundb6b29e02018-06-21 14:58:01516 "../rtc_base:criticalsection",
Danil Chapovalov065a52a2018-07-09 08:58:54517 "//third_party/abseil-cpp/absl/types:optional",
Patrik Höglundb6b29e02018-06-21 14:58:01518 ]
519}
520
Artem Titov7bf8c7f2019-03-15 14:00:37521rtc_source_set("network_emulation_manager_api") {
522 visibility = [ "*" ]
523 sources = [
524 "test/network_emulation_manager.h",
525 ]
526 deps = [
527 ":simulated_network_api",
Artem Titov94b57c02019-03-21 12:35:10528 "../rtc_base",
Artem Titov806299e2019-04-12 10:17:19529 "units:data_rate",
530 "units:data_size",
531 "units:timestamp",
Artem Titov7bf8c7f2019-03-15 14:00:37532 ]
533}
534
Ying Wang3b790f32018-01-19 16:58:57535rtc_source_set("fec_controller_api") {
536 visibility = [ "*" ]
537 sources = [
538 "fec_controller.h",
Elad Alon8f01c4e2019-06-28 13:19:43539 "fec_controller_override.h",
Ying Wang3b790f32018-01-19 16:58:57540 ]
541
542 deps = [
Ying Wang0dd1b0a2018-02-20 11:50:27543 "../modules:module_fec_api",
Niels Möller8f7ce222019-03-21 14:43:58544 "video:video_frame_type",
Ying Wang3b790f32018-01-19 16:58:57545 ]
546}
547
Ying Wang0810a7c2019-04-10 11:48:24548rtc_source_set("network_state_predictor_api") {
549 visibility = [ "*" ]
550 sources = [
551 "network_state_predictor.h",
552 ]
553}
554
kwiberg529662a2017-09-04 12:43:17555rtc_source_set("array_view") {
Per Kjellandera7f2d842018-01-10 15:54:53556 visibility = [ "*" ]
kwiberg529662a2017-09-04 12:43:17557 sources = [
558 "array_view.h",
559 ]
560 deps = [
Patrik Höglunda8005cf2017-12-13 15:05:42561 "../rtc_base:checks",
562 "../rtc_base:type_traits",
kwiberg529662a2017-09-04 12:43:17563 ]
564}
565
Niels Möller9155e492017-10-23 09:22:30566rtc_source_set("refcountedbase") {
Per Kjellandera7f2d842018-01-10 15:54:53567 visibility = [ "*" ]
Niels Möller9155e492017-10-23 09:22:30568 sources = [
Steve Anton10542f22019-01-11 17:11:00569 "ref_counted_base.h",
Niels Möller9155e492017-10-23 09:22:30570 ]
571 deps = [
572 "../rtc_base:rtc_base_approved",
573 ]
574}
575
Mirko Bonadei86d053c2019-10-17 19:32:04576rtc_library("ice_transport_factory") {
Harald Alvestrand98462622019-01-30 13:57:03577 visibility = [ "*" ]
578 sources = [
579 "ice_transport_factory.cc",
580 "ice_transport_factory.h",
581 ]
582 deps = [
583 ":libjingle_peerconnection_api",
Patrik Höglund7d003422019-09-17 10:16:35584 ":packet_socket_factory",
Harald Alvestrand98462622019-01-30 13:57:03585 ":scoped_refptr",
586 "../p2p:rtc_p2p",
Artem Titov94b57c02019-03-21 12:35:10587 "../rtc_base",
Mirko Bonadei66e76792019-04-02 09:33:59588 "../rtc_base/system:rtc_export",
Steve Anton6fdfec12019-07-01 21:07:33589 "rtc_event_log:rtc_event_log",
Harald Alvestrand98462622019-01-30 13:57:03590 ]
591}
592
Mirko Bonadei86d053c2019-10-17 19:32:04593rtc_library("neteq_simulator_api") {
Ivo Creusen55de08e2018-09-03 09:49:27594 visibility = [ "*" ]
595 sources = [
596 "test/neteq_simulator.cc",
597 "test/neteq_simulator.h",
598 ]
599}
600
Ivo Creusen3ce44a32019-10-31 13:38:11601rtc_source_set("neteq_factory_with_codecs") {
602 visibility = [ "*" ]
603 testonly = true
604 sources = [
605 "test/neteq_factory_with_codecs.cc",
606 "test/neteq_factory_with_codecs.h",
607 ]
608
609 deps = [
610 ":scoped_refptr",
611 "../modules/audio_coding:neteq",
612 "../system_wrappers:system_wrappers",
613 "audio_codecs:audio_codecs_api",
614 "audio_codecs:builtin_audio_decoder_factory",
615 "neteq:default_neteq_controller_factory",
616 "neteq:neteq_api",
617 "neteq:neteq_controller_api",
618 ]
619}
620
Artem Titov741daaf2019-03-21 13:37:36621rtc_source_set("function_view") {
622 visibility = [ "*" ]
623 sources = [
624 "function_view.h",
625 ]
626 deps = [
627 "../rtc_base:checks",
628 ]
629}
630
kjellanderfd5b4e92016-06-13 19:08:33631if (rtc_include_tests) {
Ivo Creusen2cb41052018-03-15 11:22:52632 if (rtc_enable_protobuf) {
Mirko Bonadei86d053c2019-10-17 19:32:04633 rtc_library("audioproc_f_api") {
Ivo Creusen2cb41052018-03-15 11:22:52634 visibility = [ "*" ]
635 testonly = true
636 sources = [
637 "test/audioproc_float.cc",
638 "test/audioproc_float.h",
639 ]
640
641 deps = [
Artem Titov94b57c02019-03-21 12:35:10642 "../modules/audio_processing",
Alessio Bazzicab768e882018-11-07 14:29:54643 "../modules/audio_processing:api",
Ivo Creusen2cb41052018-03-15 11:22:52644 "../modules/audio_processing:audioproc_f_impl",
645 ]
646 }
Ivo Creusen55de08e2018-09-03 09:49:27647
Mirko Bonadei86d053c2019-10-17 19:32:04648 rtc_library("neteq_simulator_factory") {
Ivo Creusen55de08e2018-09-03 09:49:27649 visibility = [ "*" ]
650 testonly = true
651 sources = [
652 "test/neteq_simulator_factory.cc",
653 "test/neteq_simulator_factory.h",
654 ]
655 deps = [
656 ":neteq_simulator_api",
657 "../modules/audio_coding:neteq_test_factory",
Ivo Creusenf81b0f12018-09-11 08:30:58658 "../rtc_base:checks",
Mirko Bonadei2ab97f62019-07-18 11:44:12659 "//third_party/abseil-cpp/absl/flags:flag",
660 "//third_party/abseil-cpp/absl/flags:parse",
Ivo Creusen5ec61562019-03-20 09:52:18661 "//third_party/abseil-cpp/absl/strings",
Ivo Creusen55de08e2018-09-03 09:49:27662 ]
663 }
Ivo Creusen2cb41052018-03-15 11:22:52664 }
665
Rasmus Brandt0cedc052018-05-31 10:53:00666 rtc_source_set("simulcast_test_fixture_api") {
667 visibility = [ "*" ]
668 testonly = true
669 sources = [
670 "test/simulcast_test_fixture.h",
671 ]
672 }
673
Mirko Bonadei86d053c2019-10-17 19:32:04674 rtc_library("create_simulcast_test_fixture_api") {
Rasmus Brandt0cedc052018-05-31 10:53:00675 visibility = [ "*" ]
676 testonly = true
677 sources = [
678 "test/create_simulcast_test_fixture.cc",
679 "test/create_simulcast_test_fixture.h",
680 ]
681 deps = [
682 ":simulcast_test_fixture_api",
683 "../modules/video_coding:simulcast_test_fixture_impl",
684 "../rtc_base:rtc_base_approved",
685 "video_codecs:video_codecs_api",
686 ]
Rasmus Brandt0cedc052018-05-31 10:53:00687 }
688
Mirko Bonadei86d053c2019-10-17 19:32:04689 rtc_library("videocodec_test_fixture_api") {
Kári Tristan Helgason9d96e922018-05-04 09:56:55690 visibility = [ "*" ]
691 testonly = true
692 sources = [
693 "test/videocodec_test_fixture.h",
Kári Tristan Helgason169005d2018-05-22 11:34:14694 "test/videocodec_test_stats.cc",
695 "test/videocodec_test_stats.h",
Kári Tristan Helgason9d96e922018-05-04 09:56:55696 ]
697 deps = [
Kári Tristan Helgason169005d2018-05-22 11:34:14698 "..:webrtc_common",
699 "../modules/video_coding:video_codec_interface",
Jonas Olsson366a50c2018-09-06 11:41:30700 "../rtc_base:stringutils",
Niels Möller8f7ce222019-03-21 14:43:58701 "video:video_frame_type",
Kári Tristan Helgason9d96e922018-05-04 09:56:55702 "video_codecs:video_codecs_api",
703 ]
704 }
705
Mirko Bonadei86d053c2019-10-17 19:32:04706 rtc_library("create_videocodec_test_fixture_api") {
Kári Tristan Helgason9d96e922018-05-04 09:56:55707 visibility = [ "*" ]
708 testonly = true
709 sources = [
710 "test/create_videocodec_test_fixture.cc",
711 "test/create_videocodec_test_fixture.h",
712 ]
713 deps = [
714 ":videocodec_test_fixture_api",
715 "../modules/video_coding:video_codecs_test_framework",
716 "../modules/video_coding:videocodec_test_impl",
717 "../rtc_base:rtc_base_approved",
718 "video_codecs:video_codecs_api",
719 ]
Kári Tristan Helgason9d96e922018-05-04 09:56:55720 }
721
kjellander2f6af9c2017-03-03 06:26:23722 rtc_source_set("mock_audio_mixer") {
723 testonly = true
724 sources = [
725 "test/mock_audio_mixer.h",
726 ]
727
kjellander2f6af9c2017-03-03 06:26:23728 deps = [
jianjun.zhuc0247402017-07-11 13:20:45729 "../test:test_support",
Gustaf Ullberg2ae140a2018-02-16 12:43:49730 "audio:audio_mixer_api",
kjellander2f6af9c2017-03-03 06:26:23731 ]
732 }
733
Elad Alon45befc52019-07-02 09:20:09734 rtc_source_set("mock_fec_controller_override") {
735 testonly = true
736 sources = [
737 "test/mock_fec_controller_override.h",
738 ]
739 deps = [
740 ":fec_controller_api",
741 "../test:test_support",
742 ]
743 }
744
Mirko Bonadei86d053c2019-10-17 19:32:04745 rtc_library("mock_frame_encryptor") {
Benjamin Wright78410ad2018-10-25 16:52:57746 testonly = true
747 sources = [
748 "test/mock_frame_encryptor.cc",
749 "test/mock_frame_encryptor.h",
750 ]
751 deps = [
Niels Möllerb4a61282019-08-29 10:16:56752 # For api/crypto/frame_encryptor_interface.h
Benjamin Wright78410ad2018-10-25 16:52:57753 ":libjingle_peerconnection_api",
754 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 12:42:15755 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 16:52:57756 ]
757 }
758
Mirko Bonadei86d053c2019-10-17 19:32:04759 rtc_library("mock_frame_decryptor") {
Benjamin Wright78410ad2018-10-25 16:52:57760 testonly = true
761 sources = [
762 "test/mock_frame_decryptor.cc",
763 "test/mock_frame_decryptor.h",
764 ]
765 deps = [
766 ":libjingle_peerconnection_api",
767 "../test:test_support",
Mirko Bonadeieaaaf412019-09-13 12:42:15768 "crypto:frame_decryptor_interface",
Benjamin Wright78410ad2018-10-25 16:52:57769 ]
770 }
771
Mirko Bonadei86d053c2019-10-17 19:32:04772 rtc_library("fake_frame_encryptor") {
Benjamin Wright78410ad2018-10-25 16:52:57773 testonly = true
774 sources = [
775 "test/fake_frame_encryptor.cc",
776 "test/fake_frame_encryptor.h",
777 ]
778 deps = [
779 ":array_view",
780 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 08:45:28781 ":rtp_parameters",
Benjamin Wright78410ad2018-10-25 16:52:57782 "..:webrtc_common",
783 "../rtc_base:checks",
784 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 12:42:15785 "crypto:frame_encryptor_interface",
Benjamin Wright78410ad2018-10-25 16:52:57786 ]
787 }
788
Mirko Bonadei86d053c2019-10-17 19:32:04789 rtc_library("fake_frame_decryptor") {
Benjamin Wright84583f62018-10-04 21:22:34790 testonly = true
791 sources = [
792 "test/fake_frame_decryptor.cc",
793 "test/fake_frame_decryptor.h",
Benjamin Wright84583f62018-10-04 21:22:34794 ]
795 deps = [
796 ":array_view",
797 ":libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 08:45:28798 ":rtp_parameters",
Benjamin Wright84583f62018-10-04 21:22:34799 "..:webrtc_common",
800 "../rtc_base:checks",
801 "../rtc_base:rtc_base_approved",
Mirko Bonadeieaaaf412019-09-13 12:42:15802 "crypto:frame_decryptor_interface",
Benjamin Wright84583f62018-10-04 21:22:34803 ]
804 }
805
Niels Möllere78fd802019-09-13 12:45:55806 rtc_source_set("dummy_peer_connection") {
807 visibility = [ "*" ]
808 testonly = true
809 sources = [
810 "test/dummy_peer_connection.h",
811 ]
812
813 deps = [
814 ":libjingle_peerconnection_api",
815 ":rtc_error",
816 "../rtc_base:checks",
817 "../rtc_base:refcount",
818 ]
819 }
820
Jiawei Ou651b92e2018-06-29 22:46:44821 rtc_source_set("mock_peerconnectioninterface") {
822 testonly = true
823 sources = [
824 "test/mock_peerconnectioninterface.h",
825 ]
826
827 deps = [
828 ":libjingle_peerconnection_api",
829 "../test:test_support",
830 ]
831 }
832
Patrik Höglund4b9e6ba2017-12-19 09:32:11833 rtc_source_set("mock_rtp") {
834 testonly = true
835 sources = [
836 "test/mock_rtpreceiver.h",
837 "test/mock_rtpsender.h",
838 ]
839
840 deps = [
841 ":libjingle_peerconnection_api",
842 "../test:test_support",
Patrik Höglund4b9e6ba2017-12-19 09:32:11843 ]
844 }
845
Jiawei Ou4206a0a2018-07-20 22:49:43846 rtc_source_set("mock_video_bitrate_allocator") {
847 testonly = true
848 sources = [
849 "test/mock_video_bitrate_allocator.h",
850 ]
851
852 deps = [
853 "../api/video:video_bitrate_allocator",
854 "../test:test_support",
855 ]
856 }
857
Jiawei Ouc2ebe212018-11-08 18:02:56858 rtc_source_set("mock_video_bitrate_allocator_factory") {
859 testonly = true
860 sources = [
861 "test/mock_video_bitrate_allocator_factory.h",
862 ]
863
864 deps = [
865 "../api/video:video_bitrate_allocator_factory",
866 "../test:test_support",
867 ]
868 }
869
Emircan Uysalerdbcac7f2017-10-31 06:10:12870 rtc_source_set("mock_video_codec_factory") {
871 testonly = true
872 sources = [
873 "test/mock_video_decoder_factory.h",
874 "test/mock_video_encoder_factory.h",
875 ]
876
Emircan Uysalerdbcac7f2017-10-31 06:10:12877 deps = [
Mirko Bonadei34814c72018-01-11 09:13:56878 "../api/video_codecs:video_codecs_api",
Emircan Uysalerdbcac7f2017-10-31 06:10:12879 "../test:test_support",
Emircan Uysalerdbcac7f2017-10-31 06:10:12880 ]
881 }
882
Mirko Bonadei86d053c2019-10-17 19:32:04883 rtc_library("mock_video_decoder") {
Erik Språngc84cd952018-10-15 09:55:13884 visibility = [ "*" ]
885
886 testonly = true
887 sources = [
888 "test/mock_video_decoder.cc",
889 "test/mock_video_decoder.h",
890 ]
891
892 deps = [
893 "../api/video_codecs:video_codecs_api",
894 "../test:test_support",
895 ]
896 }
897
Mirko Bonadei86d053c2019-10-17 19:32:04898 rtc_library("mock_video_encoder") {
Erik Språngc84cd952018-10-15 09:55:13899 visibility = [ "*" ]
900
Erik Språng6af1c922018-10-12 08:01:30901 testonly = true
902 sources = [
903 "test/mock_video_encoder.cc",
904 "test/mock_video_encoder.h",
905 ]
906
907 deps = [
908 "../api/video_codecs:video_codecs_api",
909 "../test:test_support",
910 ]
911 }
912
Anton Sukhanov7940da02018-10-10 17:34:49913 rtc_source_set("fake_media_transport") {
914 testonly = true
915
916 sources = [
Bjorn A Mellemc85ebbe2019-06-07 17:28:06917 "test/fake_datagram_transport.h",
Anton Sukhanov7940da02018-10-10 17:34:49918 "test/fake_media_transport.h",
919 ]
920
921 deps = [
Anton Sukhanov7940da02018-10-10 17:34:49922 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 11:59:36923 "transport:datagram_transport_interface",
924 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 20:53:07925 "//third_party/abseil-cpp/absl/algorithm:container",
Anton Sukhanov7940da02018-10-10 17:34:49926 ]
927 }
Niels Möller2e47f7c2018-10-16 08:41:42928
Mirko Bonadei86d053c2019-10-17 19:32:04929 rtc_library("loopback_media_transport") {
Niels Möller2e47f7c2018-10-16 08:41:42930 testonly = true
931
932 sources = [
Niels Möllere0446cb2018-11-30 08:35:52933 "test/loopback_media_transport.cc",
Niels Möller2e47f7c2018-10-16 08:41:42934 "test/loopback_media_transport.h",
935 ]
936
937 deps = [
Artem Titov94b57c02019-03-21 12:35:10938 "../rtc_base",
Niels Möller2e47f7c2018-10-16 08:41:42939 "../rtc_base:checks",
Niels Möller65f17ca2019-09-12 11:59:36940 "transport:datagram_transport_interface",
941 "transport/media:media_transport_interface",
Steve Antona59dcc32019-03-25 20:53:07942 "//third_party/abseil-cpp/absl/algorithm:container",
Niels Möller2e47f7c2018-10-16 08:41:42943 ]
944 }
945
Mirko Bonadei86d053c2019-10-17 19:32:04946 rtc_library("rtc_api_unittests") {
Niels Möller2e47f7c2018-10-16 08:41:42947 testonly = true
948
949 sources = [
950 "array_view_unittest.cc",
Artem Titov741daaf2019-03-21 13:37:36951 "function_view_unittest.cc",
Steve Anton10542f22019-01-11 17:11:00952 "rtc_error_unittest.cc",
Niels Möllerd8b9ed72019-05-08 11:53:51953 "rtc_event_log_output_file_unittest.cc",
Chen Xingd2a66862019-06-03 12:53:42954 "rtp_packet_info_unittest.cc",
955 "rtp_packet_infos_unittest.cc",
Steve Anton10542f22019-01-11 17:11:00956 "rtp_parameters_unittest.cc",
Niels Möller2e47f7c2018-10-16 08:41:42957 "test/loopback_media_transport_unittest.cc",
958 ]
959
Niels Möller2e47f7c2018-10-16 08:41:42960 deps = [
961 ":array_view",
Artem Titov741daaf2019-03-21 13:37:36962 ":function_view",
Niels Möller2e47f7c2018-10-16 08:41:42963 ":libjingle_peerconnection_api",
964 ":loopback_media_transport",
Mirko Bonadeifcfeefe2019-09-10 08:51:23965 ":rtc_error",
Niels Möllerd8b9ed72019-05-08 11:53:51966 ":rtc_event_log_output_file",
Chen Xingd2a66862019-06-03 12:53:42967 ":rtp_packet_info",
Niels Möller6dcd4dc2019-08-26 08:45:28968 ":rtp_parameters",
Niels Möller2e47f7c2018-10-16 08:41:42969 "../rtc_base:checks",
Mirko Bonadeie3abb812018-11-23 12:15:08970 "../rtc_base:gunit_helpers",
Niels Möller2e47f7c2018-10-16 08:41:42971 "../rtc_base:rtc_base_approved",
Niels Möllerd8b9ed72019-05-08 11:53:51972 "../test:fileutils",
Niels Möller2e47f7c2018-10-16 08:41:42973 "../test:test_support",
Danil Chapovalov2684ab32019-02-26 09:18:08974 "task_queue:task_queue_default_factory_unittests",
Niels Möller2e47f7c2018-10-16 08:41:42975 "units:units_unittests",
Danil Chapovalovb703db92019-04-08 14:59:28976 "video:video_unittests",
Niels Möller2e47f7c2018-10-16 08:41:42977 ]
978 }
Harald Alvestrand3cc45d42019-03-14 04:42:04979
Mirko Bonadei86d053c2019-10-17 19:32:04980 rtc_library("compile_all_headers") {
Harald Alvestrand3cc45d42019-03-14 04:42:04981 testonly = true
982
983 sources = [
984 "test/compile_all_headers.cc",
985 ]
986
987 deps = [
988 ":fake_frame_decryptor",
989 ":fake_frame_encryptor",
990 ":fake_media_transport",
991 ":loopback_media_transport",
992 ":mock_audio_mixer",
993 ":mock_frame_decryptor",
994 ":mock_frame_encryptor",
995 ":mock_peerconnectioninterface",
996 ":mock_rtp",
997 ":mock_video_bitrate_allocator",
998 ":mock_video_bitrate_allocator_factory",
999 ":mock_video_codec_factory",
1000 ":mock_video_decoder",
1001 ":mock_video_encoder",
1002 ":rtc_api_unittests",
1003 "units:units_unittests",
1004 ]
1005 }
kjellanderfd5b4e92016-06-13 19:08:331006}