hjon | aa32c3e | 2015-12-14 03:58:11 | [diff] [blame] | 1 | # 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 | |
mbonadei | 9aa3f0a | 2017-01-24 14:58:22 | [diff] [blame] | 9 | import("../webrtc.gni") |
Sami Kalliomaki | 9c0c75b | 2016-06-29 12:55:00 | [diff] [blame] | 10 | if (is_android) { |
| 11 | import("//build/config/android/config.gni") |
| 12 | import("//build/config/android/rules.gni") |
| 13 | } |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 14 | |
| 15 | group("api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 16 | visibility = [ "*" ] |
Dan Minor | 9c68613 | 2018-01-15 15:20:00 | [diff] [blame] | 17 | deps = [] |
| 18 | |
| 19 | if (!build_with_mozilla) { |
| 20 | deps += [ ":libjingle_peerconnection_api" ] |
| 21 | } |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 22 | } |
| 23 | |
ehmaldonado | 38a2132 | 2016-09-02 11:10:34 | [diff] [blame] | 24 | rtc_source_set("call_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 25 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 26 | sources = [ "call/audio_sink.h" ] |
kjellander | a69d973 | 2016-08-31 14:33:05 | [diff] [blame] | 27 | } |
| 28 | |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 29 | rtc_source_set("callfactory_api") { |
| 30 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 31 | sources = [ "call/call_factory_interface.h" ] |
| 32 | deps = [ "../rtc_base/system:rtc_export" ] |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 33 | } |
| 34 | |
Danil Chapovalov | 5bf5806 | 2019-06-18 14:43:37 | [diff] [blame] | 35 | if (!build_with_chromium) { |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 36 | rtc_library("create_peerconnection_factory") { |
Danil Chapovalov | 5bf5806 | 2019-06-18 14:43:37 | [diff] [blame] | 37 | visibility = [ "*" ] |
Danil Chapovalov | 41300af | 2019-07-10 10:44:43 | [diff] [blame] | 38 | allow_poison = [ "default_task_queue" ] |
Danil Chapovalov | 5bf5806 | 2019-06-18 14:43:37 | [diff] [blame] | 39 | 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 Chapovalov | 5bf5806 | 2019-06-18 14:43:37 | [diff] [blame] | 59 | ] |
| 60 | } |
Mirko Bonadei | 3cf8f3e | 2018-11-19 08:17:51 | [diff] [blame] | 61 | } |
| 62 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 63 | rtc_library("rtp_headers") { |
Niels Möller | b838952 | 2019-03-19 13:27:03 | [diff] [blame] | 64 | visibility = [ "*" ] |
Niels Möller | ef1052a | 2019-03-20 07:40:23 | [diff] [blame] | 65 | sources = [ |
| 66 | "rtp_headers.cc", |
| 67 | "rtp_headers.h", |
| 68 | ] |
| 69 | deps = [ |
| 70 | ":array_view", |
| 71 | "..:webrtc_common", |
Sebastian Jansson | 3d61ab1 | 2019-06-14 11:35:51 | [diff] [blame] | 72 | "units:timestamp", |
Chen Xing | 5d24b16 | 2019-06-10 10:59:38 | [diff] [blame] | 73 | "video:video_rtp_headers", |
Niels Möller | ef1052a | 2019-03-20 07:40:23 | [diff] [blame] | 74 | ] |
Mirko Bonadei | 8b7cfa1 | 2020-06-03 19:23:41 | [diff] [blame] | 75 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Niels Möller | b838952 | 2019-03-19 13:27:03 | [diff] [blame] | 76 | } |
| 77 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 78 | rtc_library("rtp_packet_info") { |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 79 | 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 Kron | 0809e7e | 2020-01-21 10:54:21 | [diff] [blame] | 92 | "../rtc_base/system:rtc_export", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 93 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 94 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 95 | } |
| 96 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 97 | rtc_library("media_stream_interface") { |
Niels Möller | c1c6284 | 2019-09-17 08:16:05 | [diff] [blame] | 98 | visibility = [ "*" ] |
Niels Möller | e942b14 | 2019-09-17 12:30:41 | [diff] [blame] | 99 | 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 Handell | 9982efa | 2019-11-21 10:56:50 | [diff] [blame] | 112 | "video:recordable_encoded_frame", |
Niels Möller | e942b14 | 2019-09-17 12:30:41 | [diff] [blame] | 113 | "video:video_frame", |
Niels Möller | e942b14 | 2019-09-17 12:30:41 | [diff] [blame] | 114 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 115 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Niels Möller | c1c6284 | 2019-09-17 08:16:05 | [diff] [blame] | 116 | } |
| 117 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 118 | rtc_library("libjingle_peerconnection_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 119 | visibility = [ "*" ] |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 120 | cflags = [] |
| 121 | sources = [ |
Steve Anton | 36b28db | 2017-10-26 18:27:17 | [diff] [blame] | 122 | "candidate.cc", |
Patrik Höglund | e2d6a06 | 2017-10-05 12:53:33 | [diff] [blame] | 123 | "candidate.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 124 | "crypto_params.h", |
| 125 | "data_channel_interface.cc", |
| 126 | "data_channel_interface.h", |
Harald Alvestrand | 7061e51 | 2019-04-10 15:20:42 | [diff] [blame] | 127 | "dtls_transport_interface.cc", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 128 | "dtls_transport_interface.h", |
| 129 | "dtmf_sender_interface.h", |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 130 | "ice_transport_interface.h", |
Steve Anton | 845bb73 | 2017-12-05 20:50:26 | [diff] [blame] | 131 | "jsep.cc", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 132 | "jsep.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 133 | "jsep_ice_candidate.cc", |
| 134 | "jsep_ice_candidate.h", |
| 135 | "jsep_session_description.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 136 | "media_stream_proxy.h", |
| 137 | "media_stream_track_proxy.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 138 | "peer_connection_factory_proxy.h", |
| 139 | "peer_connection_interface.cc", |
| 140 | "peer_connection_interface.h", |
| 141 | "peer_connection_proxy.h", |
Guido Urdaneta | ccab06f | 2020-01-15 11:30:29 | [diff] [blame] | 142 | "proxy.cc", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 143 | "proxy.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 144 | "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 Alvestrand | c85328f | 2019-02-28 06:51:00 | [diff] [blame] | 150 | "sctp_transport_interface.cc", |
| 151 | "sctp_transport_interface.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 152 | "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", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 158 | ] |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 159 | deps = [ |
Patrik Höglund | 3e11343 | 2017-12-15 13:40:10 | [diff] [blame] | 160 | ":array_view", |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 161 | ":audio_options_api", |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 162 | ":callfactory_api", |
Ying Wang | 0dd1b0a | 2018-02-20 11:50:27 | [diff] [blame] | 163 | ":fec_controller_api", |
Marina Ciocea | e3e07bf | 2020-02-27 15:28:51 | [diff] [blame] | 164 | ":frame_transformer_interface", |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 165 | ":libjingle_logging_api", |
Niels Möller | e942b14 | 2019-09-17 12:30:41 | [diff] [blame] | 166 | ":media_stream_interface", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 167 | ":network_state_predictor_api", |
Patrik Höglund | 662e31f | 2019-09-05 12:35:04 | [diff] [blame] | 168 | ":packet_socket_factory", |
Harald Alvestrand | fd5ae7f | 2020-05-16 06:37:49 | [diff] [blame] | 169 | ":priority", |
Mirko Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 170 | ":rtc_error", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 171 | ":rtc_stats_api", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 172 | ":rtp_packet_info", |
Niels Möller | 184b4af | 2019-08-23 11:33:50 | [diff] [blame] | 173 | ":rtp_parameters", |
Markus Handell | 0357b3e | 2020-03-16 12:40:51 | [diff] [blame] | 174 | ":rtp_transceiver_direction", |
Mirko Bonadei | d970807 | 2019-01-25 19:26:48 | [diff] [blame] | 175 | ":scoped_refptr", |
Henrik Boström | 4c1e7cc | 2020-06-11 10:26:53 | [diff] [blame] | 176 | "adaptation:resource_adaptation_api", |
Gustaf Ullberg | 2ae140a | 2018-02-16 12:43:49 | [diff] [blame] | 177 | "audio:audio_mixer_api", |
Patrik Höglund | b5b5bce | 2017-11-13 09:19:58 | [diff] [blame] | 178 | "audio_codecs:audio_codecs_api", |
Mirko Bonadei | eaaaf41 | 2019-09-13 12:42:15 | [diff] [blame] | 179 | "crypto:frame_decryptor_interface", |
| 180 | "crypto:frame_encryptor_interface", |
| 181 | "crypto:options", |
Ivo Creusen | c3d1f9b | 2019-11-01 10:47:51 | [diff] [blame] | 182 | "neteq:neteq_api", |
Danil Chapovalov | b32f2c7 | 2019-05-22 11:39:25 | [diff] [blame] | 183 | "rtc_event_log", |
Danil Chapovalov | 9435c610 | 2019-04-01 08:33:16 | [diff] [blame] | 184 | "task_queue", |
Niels Möller | 0c4f7be | 2018-05-07 12:01:37 | [diff] [blame] | 185 | "transport:bitrate_settings", |
Honghai Zhang | f8998cf | 2019-10-14 18:27:50 | [diff] [blame] | 186 | "transport:enums", |
Sebastian Jansson | dfce03a | 2018-05-18 16:05:10 | [diff] [blame] | 187 | "transport:network_control", |
Erik Språng | 662678d | 2019-11-15 16:18:52 | [diff] [blame] | 188 | "transport:webrtc_key_value_config", |
Niels Möller | a837030 | 2019-09-02 13:16:49 | [diff] [blame] | 189 | "transport/rtp:rtp_source", |
Piotr (Peter) Slatala | 48c5493 | 2019-01-28 14:50:38 | [diff] [blame] | 190 | "units:data_rate", |
Bjorn A Mellem | 57dc02a | 2019-05-30 16:15:37 | [diff] [blame] | 191 | "units:timestamp", |
Niels Möller | 3a74239 | 2018-10-08 09:13:58 | [diff] [blame] | 192 | "video:encoded_image", |
Niels Möller | c6ce9c5 | 2018-05-11 09:15:30 | [diff] [blame] | 193 | "video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 10:59:38 | [diff] [blame] | 194 | "video:video_rtp_headers", |
Patrik Höglund | b5b5bce | 2017-11-13 09:19:58 | [diff] [blame] | 195 | |
| 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. |
kjellander | 8a11663 | 2017-04-21 12:17:08 | [diff] [blame] | 199 | "..:webrtc_common", |
Niels Möller | e24557f | 2019-09-19 09:36:35 | [diff] [blame] | 200 | "../media:rtc_media_base", |
Niels Möller | 6daa278 | 2018-01-23 09:37:42 | [diff] [blame] | 201 | "../media:rtc_media_config", |
Patrik Höglund | b874a35 | 2017-11-27 13:32:41 | [diff] [blame] | 202 | "../modules/audio_processing:audio_processing_statistics", |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 203 | "../rtc_base", |
Patrik Höglund | 3e11343 | 2017-12-15 13:40:10 | [diff] [blame] | 204 | "../rtc_base:checks", |
| 205 | "../rtc_base:deprecation", |
ehmaldonado | f6a861a | 2017-07-19 17:40:47 | [diff] [blame] | 206 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 3b56ee7 | 2018-10-15 15:15:12 | [diff] [blame] | 207 | "../rtc_base/system:rtc_export", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 208 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 209 | 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 | ] |
ossu | 7bb87ee | 2017-01-23 12:56:25 | [diff] [blame] | 215 | } |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 216 | |
Marina Ciocea | e3e07bf | 2020-02-27 15:28:51 | [diff] [blame] | 217 | rtc_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 Ciocea | cdc89b4 | 2020-05-14 18:01:02 | [diff] [blame] | 224 | "video:video_frame_metadata", |
Marina Ciocea | e3e07bf | 2020-02-27 15:28:51 | [diff] [blame] | 225 | ] |
| 226 | } |
| 227 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 228 | rtc_library("rtc_error") { |
Mirko Bonadei | 9bc9885 | 2019-09-10 08:05:26 | [diff] [blame] | 229 | visibility = [ "*" ] |
Mirko Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 230 | 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 Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 239 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 240 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Mirko Bonadei | 9bc9885 | 2019-09-10 08:05:26 | [diff] [blame] | 241 | } |
| 242 | |
Patrik Höglund | 662e31f | 2019-09-05 12:35:04 | [diff] [blame] | 243 | rtc_source_set("packet_socket_factory") { |
| 244 | visibility = [ "*" ] |
| 245 | sources = [ |
Patrik Höglund | 662e31f | 2019-09-05 12:35:04 | [diff] [blame] | 246 | "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 Bonadei | 85340ce | 2018-11-19 14:51:39 | [diff] [blame] | 255 | rtc_source_set("scoped_refptr") { |
| 256 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 257 | sources = [ "scoped_refptr.h" ] |
Mirko Bonadei | 85340ce | 2018-11-19 14:51:39 | [diff] [blame] | 258 | } |
| 259 | |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 260 | rtc_source_set("video_quality_test_fixture_api") { |
| 261 | visibility = [ "*" ] |
| 262 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 263 | sources = [ "test/video_quality_test_fixture.h" ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 264 | deps = [ |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 265 | ":fec_controller_api", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 266 | ":libjingle_peerconnection_api", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 267 | ":network_state_predictor_api", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 268 | ":rtp_parameters", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 269 | ":simulated_network_api", |
| 270 | "../call:fake_network", |
| 271 | "../call:rtp_interfaces", |
| 272 | "../test:test_common", |
| 273 | "../test:video_test_common", |
Mirko Bonadei | 738bfa7 | 2019-09-17 12:47:38 | [diff] [blame] | 274 | "transport:bitrate_settings", |
Sebastian Jansson | 1391ed2 | 2019-04-30 12:23:51 | [diff] [blame] | 275 | "transport:network_control", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 276 | "video_codecs:video_codecs_api", |
| 277 | ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 278 | } |
| 279 | |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 280 | rtc_source_set("video_quality_analyzer_api") { |
| 281 | visibility = [ "*" ] |
| 282 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 283 | sources = [ "test/video_quality_analyzer_interface.h" ] |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 284 | |
| 285 | deps = [ |
Artem Titov | 3b64167 | 2020-06-02 15:18:17 | [diff] [blame] | 286 | ":array_view", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 287 | ":stats_observer_interface", |
| 288 | "video:encoded_image", |
| 289 | "video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 10:59:38 | [diff] [blame] | 290 | "video:video_rtp_headers", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 291 | "video_codecs:video_codecs_api", |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 292 | ] |
| 293 | absl_deps = [ |
Artem Titov | 8a0284e | 2020-05-29 13:49:44 | [diff] [blame] | 294 | "//third_party/abseil-cpp/absl/strings", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 295 | "//third_party/abseil-cpp/absl/types:optional", |
| 296 | ] |
| 297 | } |
| 298 | |
Andrey Logvin | 20f4582 | 2020-07-01 08:32:15 | [diff] [blame] | 299 | rtc_source_set("track_id_stream_info_map") { |
Mirko Bonadei | f948eb6 | 2019-04-05 13:13:23 | [diff] [blame] | 300 | visibility = [ "*" ] |
Andrey Logvin | 20f4582 | 2020-07-01 08:32:15 | [diff] [blame] | 301 | sources = [ "test/track_id_stream_info_map.h" ] |
| 302 | absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] |
Mirko Bonadei | f948eb6 | 2019-04-05 13:13:23 | [diff] [blame] | 303 | } |
| 304 | |
Markus Handell | 0357b3e | 2020-03-16 12:40:51 | [diff] [blame] | 305 | rtc_source_set("rtp_transceiver_direction") { |
| 306 | visibility = [ "*" ] |
| 307 | sources = [ "rtp_transceiver_direction.h" ] |
| 308 | } |
| 309 | |
Harald Alvestrand | fd5ae7f | 2020-05-16 06:37:49 | [diff] [blame] | 310 | rtc_source_set("priority") { |
| 311 | sources = [ "priority.h" ] |
| 312 | } |
| 313 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 314 | rtc_library("rtp_parameters") { |
Niels Möller | 184b4af | 2019-08-23 11:33:50 | [diff] [blame] | 315 | visibility = [ "*" ] |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 316 | sources = [ |
| 317 | "media_types.cc", |
| 318 | "media_types.h", |
| 319 | "rtp_parameters.cc", |
| 320 | "rtp_parameters.h", |
| 321 | ] |
| 322 | deps = [ |
| 323 | ":array_view", |
Harald Alvestrand | fd5ae7f | 2020-05-16 06:37:49 | [diff] [blame] | 324 | ":priority", |
Markus Handell | 0357b3e | 2020-03-16 12:40:51 | [diff] [blame] | 325 | ":rtp_transceiver_direction", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 326 | "../rtc_base:checks", |
| 327 | "../rtc_base:stringutils", |
| 328 | "../rtc_base/system:rtc_export", |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 329 | ] |
| 330 | absl_deps = [ |
Markus Handell | dfeb0df | 2020-03-16 21:20:47 | [diff] [blame] | 331 | "//third_party/abseil-cpp/absl/strings", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 332 | "//third_party/abseil-cpp/absl/types:optional", |
| 333 | ] |
Niels Möller | 184b4af | 2019-08-23 11:33:50 | [diff] [blame] | 334 | } |
| 335 | |
Taylor Brandstetter | e3a294c | 2020-03-23 23:16:58 | [diff] [blame] | 336 | if (is_android) { |
Harald Alvestrand | fd5ae7f | 2020-05-16 06:37:49 | [diff] [blame] | 337 | java_cpp_enum("priority_enums") { |
| 338 | sources = [ "priority.h" ] |
Taylor Brandstetter | e3a294c | 2020-03-23 23:16:58 | [diff] [blame] | 339 | } |
| 340 | } |
| 341 | |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 342 | rtc_source_set("audio_quality_analyzer_api") { |
| 343 | visibility = [ "*" ] |
| 344 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 345 | sources = [ "test/audio_quality_analyzer_interface.h" ] |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 346 | |
| 347 | deps = [ |
| 348 | ":stats_observer_interface", |
Andrey Logvin | 20f4582 | 2020-07-01 08:32:15 | [diff] [blame] | 349 | ":track_id_stream_info_map", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 350 | ] |
| 351 | } |
| 352 | |
| 353 | rtc_source_set("stats_observer_interface") { |
| 354 | visibility = [ "*" ] |
| 355 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 356 | sources = [ "test/stats_observer_interface.h" ] |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 357 | |
Andrey Logvin | 9b52618 | 2020-06-15 16:14:07 | [diff] [blame] | 358 | deps = [ ":rtc_stats_api" ] |
| 359 | |
| 360 | absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 361 | } |
| 362 | |
| 363 | rtc_source_set("peer_connection_quality_test_fixture_api") { |
| 364 | visibility = [ "*" ] |
| 365 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 366 | sources = [ "test/peerconnection_quality_test_fixture.h" ] |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 367 | |
| 368 | deps = [ |
| 369 | ":audio_quality_analyzer_api", |
| 370 | ":callfactory_api", |
| 371 | ":fec_controller_api", |
Artem Titov | 0020226 | 2019-12-04 21:34:41 | [diff] [blame] | 372 | ":frame_generator_api", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 373 | ":function_view", |
| 374 | ":libjingle_peerconnection_api", |
Andrey Logvin | 435fb9a | 2020-05-08 08:02:49 | [diff] [blame] | 375 | ":media_stream_interface", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 376 | ":network_state_predictor_api", |
Patrik Höglund | 7d00342 | 2019-09-17 10:16:35 | [diff] [blame] | 377 | ":packet_socket_factory", |
Artem Titov | f9ed56b | 2020-05-11 19:17:25 | [diff] [blame] | 378 | ":rtp_parameters", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 379 | ":simulated_network_api", |
Artem Titov | a854921 | 2019-08-19 12:38:06 | [diff] [blame] | 380 | ":stats_observer_interface", |
Andrey Logvin | 20f4582 | 2020-07-01 08:32:15 | [diff] [blame] | 381 | ":track_id_stream_info_map", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 382 | ":video_quality_analyzer_api", |
Artem Titov | f65a89b | 2019-05-07 09:56:44 | [diff] [blame] | 383 | "../media:rtc_media_base", |
Niels Möller | 29d59a1 | 2020-06-22 12:48:10 | [diff] [blame] | 384 | "../rtc_base:deprecation", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 385 | "../rtc_base:rtc_base", |
Danil Chapovalov | 9305d11 | 2019-09-04 11:16:09 | [diff] [blame] | 386 | "rtc_event_log", |
Danil Chapovalov | 1a5fc90 | 2019-06-10 10:58:03 | [diff] [blame] | 387 | "task_queue", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 388 | "transport:network_control", |
| 389 | "units:time_delta", |
Artem Titov | b4463ee | 2019-11-12 16:27:44 | [diff] [blame] | 390 | "video:video_frame", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 391 | "video_codecs:video_codecs_api", |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 392 | ] |
| 393 | absl_deps = [ |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 394 | "//third_party/abseil-cpp/absl/memory", |
Artem Titov | 4a6f818 | 2020-02-27 12:24:19 | [diff] [blame] | 395 | "//third_party/abseil-cpp/absl/strings", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 396 | "//third_party/abseil-cpp/absl/types:optional", |
| 397 | ] |
| 398 | } |
| 399 | |
Artem Titov | 503d723 | 2019-12-04 11:37:13 | [diff] [blame] | 400 | rtc_source_set("frame_generator_api") { |
| 401 | visibility = [ "*" ] |
| 402 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 403 | sources = [ "test/frame_generator_interface.h" ] |
Artem Titov | 503d723 | 2019-12-04 11:37:13 | [diff] [blame] | 404 | |
| 405 | deps = [ |
| 406 | ":scoped_refptr", |
| 407 | "video:video_frame", |
Artem Titov | 503d723 | 2019-12-04 11:37:13 | [diff] [blame] | 408 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 409 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Artem Titov | 503d723 | 2019-12-04 11:37:13 | [diff] [blame] | 410 | } |
| 411 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 412 | rtc_library("test_dependency_factory") { |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 413 | 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 Gerey | 3e70781 | 2018-11-28 15:47:49 | [diff] [blame] | 421 | "../rtc_base:checks", |
Tommi | 9b7232a | 2020-05-15 08:09:27 | [diff] [blame] | 422 | "../rtc_base:platform_thread_types", |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 423 | ] |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 424 | } |
| 425 | |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 426 | if (rtc_include_tests) { |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 427 | rtc_library("create_video_quality_test_fixture_api") { |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 428 | 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 Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 436 | ":network_state_predictor_api", |
Mirko Bonadei | d970807 | 2019-01-25 19:26:48 | [diff] [blame] | 437 | ":scoped_refptr", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 438 | ":video_quality_test_fixture_api", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 439 | "../video:video_quality_test", |
| 440 | ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 441 | } |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 442 | |
Sebastian Jansson | cec2433 | 2019-12-04 13:26:50 | [diff] [blame] | 443 | # TODO(srte): Move to network_emulation sub directory. |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 444 | rtc_library("create_network_emulation_manager") { |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 445 | 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 Titov | 386802e | 2019-07-05 08:48:17 | [diff] [blame] | 453 | "../test/network:emulated_network", |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 454 | ] |
| 455 | } |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 456 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 457 | rtc_library("create_peerconnection_quality_test_fixture") { |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 458 | 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 Titov | 1ff3c58 | 2020-07-01 13:20:37 | [diff] [blame] | 468 | ":time_controller", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 469 | ":video_quality_analyzer_api", |
| 470 | "../test/pc/e2e:peerconnection_quality_test", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 471 | ] |
| 472 | } |
Artem Titov | 33f9d2b | 2019-12-05 14:59:00 | [diff] [blame] | 473 | } |
Artem Titov | 503d723 | 2019-12-04 11:37:13 | [diff] [blame] | 474 | |
Artem Titov | 33f9d2b | 2019-12-05 14:59:00 | [diff] [blame] | 475 | rtc_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 Titov | 33f9d2b | 2019-12-05 14:59:00 | [diff] [blame] | 487 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 488 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 489 | } |
| 490 | |
Andrey Logvin | dad6a94 | 2020-05-04 17:27:09 | [diff] [blame] | 491 | rtc_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 Logvin | 1e83d34 | 2020-05-07 07:19:15 | [diff] [blame] | 502 | "../rtc_base:checks", |
Andrey Logvin | dad6a94 | 2020-05-04 17:27:09 | [diff] [blame] | 503 | "../test:fileutils", |
Andrey Logvin | dad6a94 | 2020-05-04 17:27:09 | [diff] [blame] | 504 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 505 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Andrey Logvin | dad6a94 | 2020-05-04 17:27:09 | [diff] [blame] | 506 | } |
| 507 | |
Elad Alon | 8081073 | 2017-10-06 11:07:32 | [diff] [blame] | 508 | rtc_source_set("libjingle_logging_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 509 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 510 | sources = [ "rtc_event_log_output.h" ] |
Elad Alon | 8081073 | 2017-10-06 11:07:32 | [diff] [blame] | 511 | } |
| 512 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 513 | rtc_library("rtc_event_log_output_file") { |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 514 | 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öller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 522 | "../rtc_base:checks", |
| 523 | "../rtc_base:rtc_base_approved", |
| 524 | "../rtc_base/system:file_wrapper", |
Danil Chapovalov | b32f2c7 | 2019-05-22 11:39:25 | [diff] [blame] | 525 | "rtc_event_log", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 526 | ] |
| 527 | } |
| 528 | |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 529 | rtc_source_set("rtc_stats_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 530 | visibility = [ "*" ] |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 531 | cflags = [] |
| 532 | sources = [ |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 533 | "stats/rtc_stats.h", |
| 534 | "stats/rtc_stats_collector_callback.h", |
| 535 | "stats/rtc_stats_report.h", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 536 | "stats/rtcstats_objects.h", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 537 | ] |
| 538 | |
| 539 | deps = [ |
Mirko Bonadei | d970807 | 2019-01-25 19:26:48 | [diff] [blame] | 540 | ":scoped_refptr", |
Patrik Höglund | a8005cf | 2017-12-13 15:05:42 | [diff] [blame] | 541 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 17:40:47 | [diff] [blame] | 542 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 3b56ee7 | 2018-10-15 15:15:12 | [diff] [blame] | 543 | "../rtc_base/system:rtc_export", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 544 | ] |
| 545 | } |
| 546 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 547 | rtc_library("audio_options_api") { |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 548 | visibility = [ "*" ] |
| 549 | sources = [ |
Paulina Hensman | 11b34f4 | 2018-04-09 12:24:52 | [diff] [blame] | 550 | "audio_options.cc", |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 551 | "audio_options.h", |
| 552 | ] |
| 553 | |
| 554 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 15:47:49 | [diff] [blame] | 555 | ":array_view", |
Danil Chapovalov | 2165233 | 2018-08-31 08:29:07 | [diff] [blame] | 556 | "../rtc_base:stringutils", |
Ken MacKay | 831ce5f | 2019-12-02 18:26:34 | [diff] [blame] | 557 | "../rtc_base/system:rtc_export", |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 558 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 559 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 560 | } |
| 561 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 562 | rtc_library("transport_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 563 | visibility = [ "*" ] |
aleloi | a8eb756 | 2016-11-28 15:02:13 | [diff] [blame] | 564 | sources = [ |
Dino Radaković | 1807d57 | 2018-02-22 13:18:06 | [diff] [blame] | 565 | "call/transport.cc", |
aleloi | a8eb756 | 2016-11-28 15:02:13 | [diff] [blame] | 566 | "call/transport.h", |
| 567 | ] |
| 568 | } |
nisse | b2250e5 | 2016-12-02 12:01:14 | [diff] [blame] | 569 | |
Sebastian Jansson | 6736df1 | 2018-11-21 18:18:39 | [diff] [blame] | 570 | rtc_source_set("bitrate_allocation") { |
| 571 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 572 | sources = [ "call/bitrate_allocation.h" ] |
Sebastian Jansson | 6736df1 | 2018-11-21 18:18:39 | [diff] [blame] | 573 | deps = [ |
| 574 | "units:data_rate", |
| 575 | "units:time_delta", |
| 576 | ] |
| 577 | } |
| 578 | |
Sebastian Jansson | cec2433 | 2019-12-04 13:26:50 | [diff] [blame] | 579 | # TODO(srte): Move to network_emulation sub directory. |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 580 | rtc_source_set("simulated_network_api") { |
| 581 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 582 | sources = [ "test/simulated_network.h" ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 583 | deps = [ |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 584 | "../rtc_base", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 585 | "../rtc_base:criticalsection", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 586 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 587 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 588 | } |
| 589 | |
Sebastian Jansson | cec2433 | 2019-12-04 13:26:50 | [diff] [blame] | 590 | # TODO(srte): Move to network_emulation sub directory. |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 591 | rtc_source_set("network_emulation_manager_api") { |
| 592 | visibility = [ "*" ] |
| 593 | sources = [ |
Sebastian Jansson | cec2433 | 2019-12-04 13:26:50 | [diff] [blame] | 594 | "test/network_emulation_manager.cc", |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 595 | "test/network_emulation_manager.h", |
| 596 | ] |
| 597 | deps = [ |
| 598 | ":simulated_network_api", |
Sebastian Jansson | 6ce033a | 2020-01-22 09:12:56 | [diff] [blame] | 599 | ":time_controller", |
Sebastian Jansson | cec2433 | 2019-12-04 13:26:50 | [diff] [blame] | 600 | "../call:simulated_network", |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 601 | "../rtc_base", |
Sebastian Jansson | cec2433 | 2019-12-04 13:26:50 | [diff] [blame] | 602 | "test/network_emulation", |
Artem Titov | 806299e | 2019-04-12 10:17:19 | [diff] [blame] | 603 | "units:data_rate", |
| 604 | "units:data_size", |
| 605 | "units:timestamp", |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 606 | ] |
| 607 | } |
| 608 | |
Sebastian Jansson | 6ce033a | 2020-01-22 09:12:56 | [diff] [blame] | 609 | rtc_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 Wang | 3b790f3 | 2018-01-19 16:58:57 | [diff] [blame] | 627 | rtc_source_set("fec_controller_api") { |
| 628 | visibility = [ "*" ] |
| 629 | sources = [ |
| 630 | "fec_controller.h", |
Elad Alon | 8f01c4e | 2019-06-28 13:19:43 | [diff] [blame] | 631 | "fec_controller_override.h", |
Ying Wang | 3b790f3 | 2018-01-19 16:58:57 | [diff] [blame] | 632 | ] |
| 633 | |
| 634 | deps = [ |
Ying Wang | 0dd1b0a | 2018-02-20 11:50:27 | [diff] [blame] | 635 | "../modules:module_fec_api", |
Niels Möller | 8f7ce22 | 2019-03-21 14:43:58 | [diff] [blame] | 636 | "video:video_frame_type", |
Ying Wang | 3b790f3 | 2018-01-19 16:58:57 | [diff] [blame] | 637 | ] |
| 638 | } |
| 639 | |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 640 | rtc_source_set("network_state_predictor_api") { |
| 641 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 642 | sources = [ "network_state_predictor.h" ] |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 643 | } |
| 644 | |
kwiberg | 529662a | 2017-09-04 12:43:17 | [diff] [blame] | 645 | rtc_source_set("array_view") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 646 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 647 | sources = [ "array_view.h" ] |
kwiberg | 529662a | 2017-09-04 12:43:17 | [diff] [blame] | 648 | deps = [ |
Patrik Höglund | a8005cf | 2017-12-13 15:05:42 | [diff] [blame] | 649 | "../rtc_base:checks", |
| 650 | "../rtc_base:type_traits", |
kwiberg | 529662a | 2017-09-04 12:43:17 | [diff] [blame] | 651 | ] |
| 652 | } |
| 653 | |
Niels Möller | 9155e49 | 2017-10-23 09:22:30 | [diff] [blame] | 654 | rtc_source_set("refcountedbase") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 655 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 656 | sources = [ "ref_counted_base.h" ] |
| 657 | deps = [ "../rtc_base:rtc_base_approved" ] |
Niels Möller | 9155e49 | 2017-10-23 09:22:30 | [diff] [blame] | 658 | } |
| 659 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 660 | rtc_library("ice_transport_factory") { |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 661 | visibility = [ "*" ] |
| 662 | sources = [ |
| 663 | "ice_transport_factory.cc", |
| 664 | "ice_transport_factory.h", |
| 665 | ] |
| 666 | deps = [ |
| 667 | ":libjingle_peerconnection_api", |
Patrik Höglund | 7d00342 | 2019-09-17 10:16:35 | [diff] [blame] | 668 | ":packet_socket_factory", |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 669 | ":scoped_refptr", |
| 670 | "../p2p:rtc_p2p", |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 671 | "../rtc_base", |
Mirko Bonadei | 66e7679 | 2019-04-02 09:33:59 | [diff] [blame] | 672 | "../rtc_base/system:rtc_export", |
Steve Anton | 6fdfec1 | 2019-07-01 21:07:33 | [diff] [blame] | 673 | "rtc_event_log:rtc_event_log", |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 674 | ] |
| 675 | } |
| 676 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 677 | rtc_library("neteq_simulator_api") { |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 678 | visibility = [ "*" ] |
| 679 | sources = [ |
| 680 | "test/neteq_simulator.cc", |
| 681 | "test/neteq_simulator.h", |
| 682 | ] |
| 683 | } |
| 684 | |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 685 | rtc_source_set("function_view") { |
| 686 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 687 | sources = [ "function_view.h" ] |
| 688 | deps = [ "../rtc_base:checks" ] |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 689 | } |
| 690 | |
kjellander | fd5b4e9 | 2016-06-13 19:08:33 | [diff] [blame] | 691 | if (rtc_include_tests) { |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 692 | if (rtc_enable_protobuf) { |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 693 | rtc_library("audioproc_f_api") { |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 694 | visibility = [ "*" ] |
| 695 | testonly = true |
| 696 | sources = [ |
| 697 | "test/audioproc_float.cc", |
| 698 | "test/audioproc_float.h", |
| 699 | ] |
| 700 | |
| 701 | deps = [ |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 702 | "../modules/audio_processing", |
Alessio Bazzica | b768e88 | 2018-11-07 14:29:54 | [diff] [blame] | 703 | "../modules/audio_processing:api", |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 704 | "../modules/audio_processing:audioproc_f_impl", |
| 705 | ] |
| 706 | } |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 707 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 708 | rtc_library("neteq_simulator_factory") { |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 709 | 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 Creusen | f81b0f1 | 2018-09-11 08:30:58 | [diff] [blame] | 718 | "../rtc_base:checks", |
Ivo Creusen | cee751a | 2020-01-16 16:17:09 | [diff] [blame] | 719 | "neteq:neteq_api", |
Mirko Bonadei | 2dcf348 | 2020-06-05 12:30:41 | [diff] [blame] | 720 | ] |
| 721 | absl_deps = [ |
Mirko Bonadei | 2ab97f6 | 2019-07-18 11:44:12 | [diff] [blame] | 722 | "//third_party/abseil-cpp/absl/flags:flag", |
| 723 | "//third_party/abseil-cpp/absl/flags:parse", |
Ivo Creusen | 5ec6156 | 2019-03-20 09:52:18 | [diff] [blame] | 724 | "//third_party/abseil-cpp/absl/strings", |
Ivo Creusen | 26d52e1 | 2020-03-24 14:59:26 | [diff] [blame] | 725 | "//third_party/abseil-cpp/absl/types:optional", |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 726 | ] |
| 727 | } |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 728 | } |
| 729 | |
Rasmus Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 730 | rtc_source_set("simulcast_test_fixture_api") { |
| 731 | visibility = [ "*" ] |
| 732 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 733 | sources = [ "test/simulcast_test_fixture.h" ] |
Rasmus Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 734 | } |
| 735 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 736 | rtc_library("create_simulcast_test_fixture_api") { |
Rasmus Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 737 | 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 Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 749 | } |
| 750 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 751 | rtc_library("videocodec_test_fixture_api") { |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 752 | visibility = [ "*" ] |
| 753 | testonly = true |
| 754 | sources = [ |
| 755 | "test/videocodec_test_fixture.h", |
Kári Tristan Helgason | 169005d | 2018-05-22 11:34:14 | [diff] [blame] | 756 | "test/videocodec_test_stats.cc", |
| 757 | "test/videocodec_test_stats.h", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 758 | ] |
| 759 | deps = [ |
Kári Tristan Helgason | 169005d | 2018-05-22 11:34:14 | [diff] [blame] | 760 | "..:webrtc_common", |
| 761 | "../modules/video_coding:video_codec_interface", |
Jonas Olsson | 366a50c | 2018-09-06 11:41:30 | [diff] [blame] | 762 | "../rtc_base:stringutils", |
Niels Möller | 8f7ce22 | 2019-03-21 14:43:58 | [diff] [blame] | 763 | "video:video_frame_type", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 764 | "video_codecs:video_codecs_api", |
| 765 | ] |
| 766 | } |
| 767 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 768 | rtc_library("create_videocodec_test_fixture_api") { |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 769 | 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 Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 782 | } |
| 783 | |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 784 | rtc_source_set("mock_audio_mixer") { |
| 785 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 786 | sources = [ "test/mock_audio_mixer.h" ] |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 787 | |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 788 | deps = [ |
jianjun.zhu | c024740 | 2017-07-11 13:20:45 | [diff] [blame] | 789 | "../test:test_support", |
Gustaf Ullberg | 2ae140a | 2018-02-16 12:43:49 | [diff] [blame] | 790 | "audio:audio_mixer_api", |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 791 | ] |
| 792 | } |
| 793 | |
Elad Alon | 45befc5 | 2019-07-02 09:20:09 | [diff] [blame] | 794 | rtc_source_set("mock_fec_controller_override") { |
| 795 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 796 | sources = [ "test/mock_fec_controller_override.h" ] |
Elad Alon | 45befc5 | 2019-07-02 09:20:09 | [diff] [blame] | 797 | deps = [ |
| 798 | ":fec_controller_api", |
| 799 | "../test:test_support", |
| 800 | ] |
| 801 | } |
| 802 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 803 | rtc_library("mock_frame_encryptor") { |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 804 | testonly = true |
Danil Chapovalov | fc11519 | 2020-05-08 13:03:03 | [diff] [blame] | 805 | sources = [ "test/mock_frame_encryptor.h" ] |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 806 | deps = [ |
Niels Möller | b4a6128 | 2019-08-29 10:16:56 | [diff] [blame] | 807 | # For api/crypto/frame_encryptor_interface.h |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 808 | ":libjingle_peerconnection_api", |
| 809 | "../test:test_support", |
Mirko Bonadei | eaaaf41 | 2019-09-13 12:42:15 | [diff] [blame] | 810 | "crypto:frame_encryptor_interface", |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 811 | ] |
| 812 | } |
| 813 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 814 | rtc_library("mock_frame_decryptor") { |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 815 | testonly = true |
Danil Chapovalov | fc11519 | 2020-05-08 13:03:03 | [diff] [blame] | 816 | sources = [ "test/mock_frame_decryptor.h" ] |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 817 | deps = [ |
| 818 | ":libjingle_peerconnection_api", |
| 819 | "../test:test_support", |
Mirko Bonadei | eaaaf41 | 2019-09-13 12:42:15 | [diff] [blame] | 820 | "crypto:frame_decryptor_interface", |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 821 | ] |
| 822 | } |
| 823 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 824 | rtc_library("fake_frame_encryptor") { |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 825 | 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öller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 833 | ":rtp_parameters", |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 834 | "..:webrtc_common", |
| 835 | "../rtc_base:checks", |
| 836 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | eaaaf41 | 2019-09-13 12:42:15 | [diff] [blame] | 837 | "crypto:frame_encryptor_interface", |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 838 | ] |
| 839 | } |
| 840 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 841 | rtc_library("fake_frame_decryptor") { |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 842 | testonly = true |
| 843 | sources = [ |
| 844 | "test/fake_frame_decryptor.cc", |
| 845 | "test/fake_frame_decryptor.h", |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 846 | ] |
| 847 | deps = [ |
| 848 | ":array_view", |
| 849 | ":libjingle_peerconnection_api", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 850 | ":rtp_parameters", |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 851 | "..:webrtc_common", |
| 852 | "../rtc_base:checks", |
| 853 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | eaaaf41 | 2019-09-13 12:42:15 | [diff] [blame] | 854 | "crypto:frame_decryptor_interface", |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 855 | ] |
| 856 | } |
| 857 | |
Niels Möller | e78fd80 | 2019-09-13 12:45:55 | [diff] [blame] | 858 | rtc_source_set("dummy_peer_connection") { |
| 859 | visibility = [ "*" ] |
| 860 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 861 | sources = [ "test/dummy_peer_connection.h" ] |
Niels Möller | e78fd80 | 2019-09-13 12:45:55 | [diff] [blame] | 862 | |
| 863 | deps = [ |
| 864 | ":libjingle_peerconnection_api", |
| 865 | ":rtc_error", |
| 866 | "../rtc_base:checks", |
| 867 | "../rtc_base:refcount", |
| 868 | ] |
| 869 | } |
| 870 | |
Jiawei Ou | 651b92e | 2018-06-29 22:46:44 | [diff] [blame] | 871 | rtc_source_set("mock_peerconnectioninterface") { |
Steve Anton | addf616 | 2020-06-02 21:34:17 | [diff] [blame] | 872 | visibility = [ "*" ] |
Jiawei Ou | 651b92e | 2018-06-29 22:46:44 | [diff] [blame] | 873 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 874 | sources = [ "test/mock_peerconnectioninterface.h" ] |
Jiawei Ou | 651b92e | 2018-06-29 22:46:44 | [diff] [blame] | 875 | |
| 876 | deps = [ |
| 877 | ":libjingle_peerconnection_api", |
| 878 | "../test:test_support", |
| 879 | ] |
| 880 | } |
| 881 | |
Steve Anton | f84ab8e | 2020-06-03 16:18:24 | [diff] [blame] | 882 | 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öglund | 4b9e6ba | 2017-12-19 09:32:11 | [diff] [blame] | 893 | 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öglund | 4b9e6ba | 2017-12-19 09:32:11 | [diff] [blame] | 903 | ] |
| 904 | } |
| 905 | |
Marina Ciocea | bb13f38 | 2020-05-15 06:24:17 | [diff] [blame] | 906 | 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 Ou | 4206a0a | 2018-07-20 22:49:43 | [diff] [blame] | 916 | rtc_source_set("mock_video_bitrate_allocator") { |
| 917 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 918 | sources = [ "test/mock_video_bitrate_allocator.h" ] |
Jiawei Ou | 4206a0a | 2018-07-20 22:49:43 | [diff] [blame] | 919 | |
| 920 | deps = [ |
| 921 | "../api/video:video_bitrate_allocator", |
| 922 | "../test:test_support", |
| 923 | ] |
| 924 | } |
| 925 | |
Jiawei Ou | c2ebe21 | 2018-11-08 18:02:56 | [diff] [blame] | 926 | rtc_source_set("mock_video_bitrate_allocator_factory") { |
| 927 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 928 | sources = [ "test/mock_video_bitrate_allocator_factory.h" ] |
Jiawei Ou | c2ebe21 | 2018-11-08 18:02:56 | [diff] [blame] | 929 | |
| 930 | deps = [ |
| 931 | "../api/video:video_bitrate_allocator_factory", |
| 932 | "../test:test_support", |
| 933 | ] |
| 934 | } |
| 935 | |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 936 | 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 Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 943 | deps = [ |
Mirko Bonadei | 34814c7 | 2018-01-11 09:13:56 | [diff] [blame] | 944 | "../api/video_codecs:video_codecs_api", |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 945 | "../test:test_support", |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 946 | ] |
| 947 | } |
| 948 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 949 | rtc_library("mock_video_decoder") { |
Erik Språng | c84cd95 | 2018-10-15 09:55:13 | [diff] [blame] | 950 | visibility = [ "*" ] |
| 951 | |
| 952 | testonly = true |
Danil Chapovalov | fc11519 | 2020-05-08 13:03:03 | [diff] [blame] | 953 | sources = [ "test/mock_video_decoder.h" ] |
Erik Språng | c84cd95 | 2018-10-15 09:55:13 | [diff] [blame] | 954 | |
| 955 | deps = [ |
| 956 | "../api/video_codecs:video_codecs_api", |
| 957 | "../test:test_support", |
| 958 | ] |
| 959 | } |
| 960 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 961 | rtc_library("mock_video_encoder") { |
Erik Språng | c84cd95 | 2018-10-15 09:55:13 | [diff] [blame] | 962 | visibility = [ "*" ] |
| 963 | |
Erik Språng | 6af1c92 | 2018-10-12 08:01:30 | [diff] [blame] | 964 | testonly = true |
Danil Chapovalov | fc11519 | 2020-05-08 13:03:03 | [diff] [blame] | 965 | sources = [ "test/mock_video_encoder.h" ] |
Erik Språng | 6af1c92 | 2018-10-12 08:01:30 | [diff] [blame] | 966 | |
| 967 | deps = [ |
| 968 | "../api/video_codecs:video_codecs_api", |
| 969 | "../test:test_support", |
| 970 | ] |
| 971 | } |
| 972 | |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 973 | 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 Jansson | 7aa2edf | 2020-01-23 09:00:33 | [diff] [blame] | 982 | ":callfactory_api", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 983 | ":time_controller", |
Sebastian Jansson | 09a9f1b | 2020-02-03 08:30:07 | [diff] [blame] | 984 | "../call", |
Sebastian Jansson | 7aa2edf | 2020-01-23 09:00:33 | [diff] [blame] | 985 | "../call:call_interfaces", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 986 | "../test/time_controller", |
| 987 | ] |
| 988 | } |
| 989 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 990 | rtc_library("rtc_api_unittests") { |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 991 | testonly = true |
| 992 | |
| 993 | sources = [ |
| 994 | "array_view_unittest.cc", |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 995 | "function_view_unittest.cc", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 996 | "rtc_error_unittest.cc", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 997 | "rtc_event_log_output_file_unittest.cc", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 998 | "rtp_packet_info_unittest.cc", |
| 999 | "rtp_packet_infos_unittest.cc", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 1000 | "rtp_parameters_unittest.cc", |
Danil Chapovalov | ba916b7 | 2019-11-12 09:24:43 | [diff] [blame] | 1001 | "scoped_refptr_unittest.cc", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 1002 | "test/create_time_controller_unittest.cc", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1003 | ] |
| 1004 | |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1005 | deps = [ |
| 1006 | ":array_view", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 1007 | ":create_time_controller", |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 1008 | ":function_view", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1009 | ":libjingle_peerconnection_api", |
Mirko Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 1010 | ":rtc_error", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 1011 | ":rtc_event_log_output_file", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 1012 | ":rtp_packet_info", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 1013 | ":rtp_parameters", |
Danil Chapovalov | ba916b7 | 2019-11-12 09:24:43 | [diff] [blame] | 1014 | ":scoped_refptr", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 1015 | ":time_controller", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1016 | "../rtc_base:checks", |
Mirko Bonadei | e3abb81 | 2018-11-23 12:15:08 | [diff] [blame] | 1017 | "../rtc_base:gunit_helpers", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1018 | "../rtc_base:rtc_base_approved", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 1019 | "../rtc_base:rtc_task_queue", |
| 1020 | "../rtc_base/task_utils:repeating_task", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 1021 | "../test:fileutils", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1022 | "../test:test_support", |
Danil Chapovalov | 2684ab3 | 2019-02-26 09:18:08 | [diff] [blame] | 1023 | "task_queue:task_queue_default_factory_unittests", |
Bjorn A Mellem | c4f8654 | 2019-11-21 18:37:18 | [diff] [blame] | 1024 | "units:time_delta", |
| 1025 | "units:timestamp", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1026 | "units:units_unittests", |
Danil Chapovalov | b703db9 | 2019-04-08 14:59:28 | [diff] [blame] | 1027 | "video:video_unittests", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 1028 | ] |
| 1029 | } |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1030 | |
Mirko Bonadei | 86d053c | 2019-10-17 19:32:04 | [diff] [blame] | 1031 | rtc_library("compile_all_headers") { |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1032 | testonly = true |
| 1033 | |
Mirko Bonadei | ccbe95f | 2020-01-21 11:10:10 | [diff] [blame] | 1034 | sources = [ "test/compile_all_headers.cc" ] |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1035 | |
| 1036 | deps = [ |
Harald Alvestrand | 61f74d9 | 2020-03-02 10:20:00 | [diff] [blame] | 1037 | ":dummy_peer_connection", |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1038 | ":fake_frame_decryptor", |
| 1039 | ":fake_frame_encryptor", |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1040 | ":mock_audio_mixer", |
| 1041 | ":mock_frame_decryptor", |
| 1042 | ":mock_frame_encryptor", |
Steve Anton | f84ab8e | 2020-06-03 16:18:24 | [diff] [blame] | 1043 | ":mock_peer_connection_factory_interface", |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1044 | ":mock_peerconnectioninterface", |
| 1045 | ":mock_rtp", |
Marina Ciocea | bb13f38 | 2020-05-15 06:24:17 | [diff] [blame] | 1046 | ":mock_transformable_video_frame", |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 1047 | ":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 | } |
kjellander | fd5b4e9 | 2016-06-13 19:08:33 | [diff] [blame] | 1056 | } |