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 = [ "*" ] |
kjellander | a69d973 | 2016-08-31 14:33:05 | [diff] [blame] | 26 | sources = [ |
kjellander | a69d973 | 2016-08-31 14:33:05 | [diff] [blame] | 27 | "call/audio_sink.h", |
kjellander | a69d973 | 2016-08-31 14:33:05 | [diff] [blame] | 28 | ] |
kjellander | a69d973 | 2016-08-31 14:33:05 | [diff] [blame] | 29 | } |
| 30 | |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 31 | rtc_source_set("callfactory_api") { |
| 32 | visibility = [ "*" ] |
| 33 | sources = [ |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 34 | "call/call_factory_interface.h", |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 35 | ] |
| 36 | } |
| 37 | |
Danil Chapovalov | 5bf5806 | 2019-06-18 14:43:37 | [diff] [blame] | 38 | if (!build_with_chromium) { |
| 39 | rtc_static_library("create_peerconnection_factory") { |
| 40 | visibility = [ "*" ] |
Danil Chapovalov | 41300af | 2019-07-10 10:44:43 | [diff] [blame] | 41 | allow_poison = [ "default_task_queue" ] |
Danil Chapovalov | 5bf5806 | 2019-06-18 14:43:37 | [diff] [blame] | 42 | sources = [ |
| 43 | "create_peerconnection_factory.cc", |
| 44 | "create_peerconnection_factory.h", |
| 45 | ] |
| 46 | deps = [ |
| 47 | ":callfactory_api", |
| 48 | ":libjingle_peerconnection_api", |
| 49 | ":scoped_refptr", |
| 50 | "../api/rtc_event_log:rtc_event_log_factory", |
| 51 | "../media:rtc_audio_video", |
| 52 | "../media:rtc_media_base", |
| 53 | "../modules/audio_device:audio_device_api", |
| 54 | "../modules/audio_processing:api", |
| 55 | "../pc:peerconnection", |
| 56 | "../rtc_base", |
| 57 | "../rtc_base:rtc_base_approved", |
| 58 | "audio:audio_mixer_api", |
| 59 | "audio_codecs:audio_codecs_api", |
| 60 | "task_queue:default_task_queue_factory", |
| 61 | "video_codecs:video_codecs_api", |
| 62 | "//third_party/abseil-cpp/absl/memory", |
| 63 | ] |
| 64 | } |
Mirko Bonadei | 3cf8f3e | 2018-11-19 08:17:51 | [diff] [blame] | 65 | } |
| 66 | |
Niels Möller | b838952 | 2019-03-19 13:27:03 | [diff] [blame] | 67 | rtc_source_set("rtp_headers") { |
| 68 | visibility = [ "*" ] |
Niels Möller | ef1052a | 2019-03-20 07:40:23 | [diff] [blame] | 69 | sources = [ |
| 70 | "rtp_headers.cc", |
| 71 | "rtp_headers.h", |
| 72 | ] |
| 73 | deps = [ |
| 74 | ":array_view", |
| 75 | "..:webrtc_common", |
Sebastian Jansson | 3d61ab1 | 2019-06-14 11:35:51 | [diff] [blame] | 76 | "units:timestamp", |
Chen Xing | 5d24b16 | 2019-06-10 10:59:38 | [diff] [blame] | 77 | "video:video_rtp_headers", |
Niels Möller | ef1052a | 2019-03-20 07:40:23 | [diff] [blame] | 78 | "//third_party/abseil-cpp/absl/types:optional", |
| 79 | ] |
Niels Möller | b838952 | 2019-03-19 13:27:03 | [diff] [blame] | 80 | } |
| 81 | |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 82 | rtc_source_set("rtp_packet_info") { |
| 83 | visibility = [ "*" ] |
| 84 | sources = [ |
| 85 | "rtp_packet_info.cc", |
| 86 | "rtp_packet_info.h", |
| 87 | "rtp_packet_infos.h", |
| 88 | ] |
| 89 | deps = [ |
| 90 | ":array_view", |
| 91 | ":refcountedbase", |
| 92 | ":rtp_headers", |
| 93 | ":scoped_refptr", |
| 94 | "..:webrtc_common", |
Chen Xing | e08648d | 2019-08-05 14:29:13 | [diff] [blame] | 95 | "../rtc_base:deprecation", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 96 | "../rtc_base:rtc_base_approved", |
| 97 | "//third_party/abseil-cpp/absl/types:optional", |
| 98 | ] |
| 99 | } |
| 100 | |
ossu | 7bb87ee | 2017-01-23 12:56:25 | [diff] [blame] | 101 | rtc_static_library("libjingle_peerconnection_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 102 | visibility = [ "*" ] |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 103 | cflags = [] |
| 104 | sources = [ |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 105 | "async_resolver_factory.h", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 106 | "bitrate_constraints.h", |
Steve Anton | 36b28db | 2017-10-26 18:27:17 | [diff] [blame] | 107 | "candidate.cc", |
Patrik Höglund | e2d6a06 | 2017-10-05 12:53:33 | [diff] [blame] | 108 | "candidate.h", |
Anton Sukhanov | c136b06 | 2019-05-14 21:53:42 | [diff] [blame] | 109 | "congestion_control_interface.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 110 | "crypto/crypto_options.cc", |
| 111 | "crypto/crypto_options.h", |
| 112 | "crypto/frame_decryptor_interface.h", |
| 113 | "crypto/frame_encryptor_interface.h", |
| 114 | "crypto_params.h", |
| 115 | "data_channel_interface.cc", |
| 116 | "data_channel_interface.h", |
Bjorn A Mellem | 05497f2 | 2019-08-01 17:48:20 | [diff] [blame] | 117 | "data_channel_transport_interface.h", |
Anton Sukhanov | c136b06 | 2019-05-14 21:53:42 | [diff] [blame] | 118 | "datagram_transport_interface.h", |
Harald Alvestrand | 7061e51 | 2019-04-10 15:20:42 | [diff] [blame] | 119 | "dtls_transport_interface.cc", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 120 | "dtls_transport_interface.h", |
| 121 | "dtmf_sender_interface.h", |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 122 | "ice_transport_interface.h", |
Steve Anton | 845bb73 | 2017-12-05 20:50:26 | [diff] [blame] | 123 | "jsep.cc", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 124 | "jsep.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 125 | "jsep_ice_candidate.cc", |
| 126 | "jsep_ice_candidate.h", |
| 127 | "jsep_session_description.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 128 | "media_stream_interface.cc", |
| 129 | "media_stream_interface.h", |
| 130 | "media_stream_proxy.h", |
| 131 | "media_stream_track_proxy.h", |
Anton Sukhanov | 4f08faa | 2019-05-21 18:12:57 | [diff] [blame] | 132 | "media_transport_config.h", |
Anton Sukhanov | f60bd4b | 2018-09-05 17:41:46 | [diff] [blame] | 133 | "media_transport_interface.h", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 134 | "notifier.h", |
Patrik Höglund | 662e31f | 2019-09-05 12:35:04 | [diff] [blame] | 135 | "packet_socket_factory.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 136 | "peer_connection_factory_proxy.h", |
| 137 | "peer_connection_interface.cc", |
| 138 | "peer_connection_interface.h", |
| 139 | "peer_connection_proxy.h", |
Steve Anton | f2737d2 | 2017-10-31 23:27:34 | [diff] [blame] | 140 | "proxy.cc", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 141 | "proxy.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 142 | "rtp_receiver_interface.cc", |
| 143 | "rtp_receiver_interface.h", |
| 144 | "rtp_sender_interface.cc", |
| 145 | "rtp_sender_interface.h", |
| 146 | "rtp_transceiver_interface.cc", |
| 147 | "rtp_transceiver_interface.h", |
Harald Alvestrand | c85328f | 2019-02-28 06:51:00 | [diff] [blame] | 148 | "sctp_transport_interface.cc", |
| 149 | "sctp_transport_interface.h", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 150 | "set_remote_description_observer_interface.h", |
| 151 | "stats_types.cc", |
| 152 | "stats_types.h", |
| 153 | "turn_customizer.h", |
| 154 | "uma_metrics.h", |
| 155 | "video_track_source_proxy.h", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 156 | ] |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 157 | deps = [ |
Patrik Höglund | 3e11343 | 2017-12-15 13:40:10 | [diff] [blame] | 158 | ":array_view", |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 159 | ":audio_options_api", |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 160 | ":callfactory_api", |
Ying Wang | 0dd1b0a | 2018-02-20 11:50:27 | [diff] [blame] | 161 | ":fec_controller_api", |
Niels Möller | 8366e17 | 2018-02-14 11:20:13 | [diff] [blame] | 162 | ":libjingle_logging_api", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 163 | ":network_state_predictor_api", |
Patrik Höglund | 662e31f | 2019-09-05 12:35:04 | [diff] [blame] | 164 | ":packet_socket_factory", |
Mirko Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 165 | ":rtc_error", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 166 | ":rtc_stats_api", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 167 | ":rtp_packet_info", |
Niels Möller | 184b4af | 2019-08-23 11:33:50 | [diff] [blame] | 168 | ":rtp_parameters", |
Mirko Bonadei | d970807 | 2019-01-25 19:26:48 | [diff] [blame] | 169 | ":scoped_refptr", |
Gustaf Ullberg | 2ae140a | 2018-02-16 12:43:49 | [diff] [blame] | 170 | "audio:audio_mixer_api", |
Patrik Höglund | b5b5bce | 2017-11-13 09:19:58 | [diff] [blame] | 171 | "audio_codecs:audio_codecs_api", |
Danil Chapovalov | b32f2c7 | 2019-05-22 11:39:25 | [diff] [blame] | 172 | "rtc_event_log", |
Danil Chapovalov | 9435c610 | 2019-04-01 08:33:16 | [diff] [blame] | 173 | "task_queue", |
Niels Möller | 0c4f7be | 2018-05-07 12:01:37 | [diff] [blame] | 174 | "transport:bitrate_settings", |
Niels Möller | 65f17ca | 2019-09-12 11:59:36 | [diff] [blame] | 175 | "transport:datagram_transport_interface", |
Sebastian Jansson | dfce03a | 2018-05-18 16:05:10 | [diff] [blame] | 176 | "transport:network_control", |
Niels Möller | ec3b9ff | 2019-02-07 23:28:39 | [diff] [blame] | 177 | "transport/media:audio_interfaces", |
Niels Möller | 65f17ca | 2019-09-12 11:59:36 | [diff] [blame] | 178 | "transport/media:media_transport_interface", |
Niels Möller | 7e0e44f | 2019-02-12 13:04:11 | [diff] [blame] | 179 | "transport/media:video_interfaces", |
Niels Möller | a837030 | 2019-09-02 13:16:49 | [diff] [blame] | 180 | "transport/rtp:rtp_source", |
Piotr (Peter) Slatala | 48c5493 | 2019-01-28 14:50:38 | [diff] [blame] | 181 | "units:data_rate", |
Bjorn A Mellem | 57dc02a | 2019-05-30 16:15:37 | [diff] [blame] | 182 | "units:timestamp", |
Niels Möller | 3a74239 | 2018-10-08 09:13:58 | [diff] [blame] | 183 | "video:encoded_image", |
Niels Möller | c6ce9c5 | 2018-05-11 09:15:30 | [diff] [blame] | 184 | "video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 10:59:38 | [diff] [blame] | 185 | "video:video_rtp_headers", |
Steve Anton | 2c9ebef | 2019-01-29 01:27:58 | [diff] [blame] | 186 | "//third_party/abseil-cpp/absl/algorithm:container", |
Steve Anton | 8e967df | 2019-07-31 01:07:40 | [diff] [blame] | 187 | "//third_party/abseil-cpp/absl/memory", |
Steve Anton | 6fe1fba | 2018-12-11 18:15:23 | [diff] [blame] | 188 | "//third_party/abseil-cpp/absl/strings", |
Danil Chapovalov | 0bc58cf | 2018-06-21 11:32:56 | [diff] [blame] | 189 | "//third_party/abseil-cpp/absl/types:optional", |
Patrik Höglund | b5b5bce | 2017-11-13 09:19:58 | [diff] [blame] | 190 | |
| 191 | # Basically, don't add stuff here. You might break sensitive downstream |
| 192 | # targets like pnacl. API should not depend on anything outside of this |
| 193 | # file, really. All these should arguably go away in time. |
kjellander | 8a11663 | 2017-04-21 12:17:08 | [diff] [blame] | 194 | "..:webrtc_common", |
Niels Möller | 6daa278 | 2018-01-23 09:37:42 | [diff] [blame] | 195 | "../media:rtc_media_config", |
Patrik Höglund | b874a35 | 2017-11-27 13:32:41 | [diff] [blame] | 196 | "../modules/audio_processing:audio_processing_statistics", |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 197 | "../rtc_base", |
Patrik Höglund | 3e11343 | 2017-12-15 13:40:10 | [diff] [blame] | 198 | "../rtc_base:checks", |
| 199 | "../rtc_base:deprecation", |
ehmaldonado | f6a861a | 2017-07-19 17:40:47 | [diff] [blame] | 200 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 3b56ee7 | 2018-10-15 15:15:12 | [diff] [blame] | 201 | "../rtc_base/system:rtc_export", |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 202 | ] |
ossu | 7bb87ee | 2017-01-23 12:56:25 | [diff] [blame] | 203 | } |
kjellander | c76dc95 | 2016-06-03 10:09:32 | [diff] [blame] | 204 | |
Mirko Bonadei | 9bc9885 | 2019-09-10 08:05:26 | [diff] [blame] | 205 | rtc_source_set("rtc_error") { |
| 206 | visibility = [ "*" ] |
Mirko Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 207 | sources = [ |
| 208 | "rtc_error.cc", |
| 209 | "rtc_error.h", |
| 210 | ] |
| 211 | deps = [ |
| 212 | "../rtc_base:checks", |
| 213 | "../rtc_base:logging", |
| 214 | "../rtc_base:macromagic", |
| 215 | "../rtc_base/system:rtc_export", |
| 216 | "//third_party/abseil-cpp/absl/strings", |
| 217 | ] |
Mirko Bonadei | 9bc9885 | 2019-09-10 08:05:26 | [diff] [blame] | 218 | } |
| 219 | |
Patrik Höglund | 662e31f | 2019-09-05 12:35:04 | [diff] [blame] | 220 | rtc_source_set("packet_socket_factory") { |
| 221 | visibility = [ "*" ] |
| 222 | sources = [ |
| 223 | # TODO(bugs.webrtc.org/7447: remove .h files from the api target once |
| 224 | # downstream is updated to use the new target. |
| 225 | "async_resolver_factory.h", |
| 226 | "packet_socket_factory.h", |
| 227 | ] |
| 228 | deps = [ |
| 229 | "../rtc_base:rtc_base", |
| 230 | "../rtc_base/system:rtc_export", |
| 231 | ] |
| 232 | } |
| 233 | |
Mirko Bonadei | 85340ce | 2018-11-19 14:51:39 | [diff] [blame] | 234 | rtc_source_set("scoped_refptr") { |
| 235 | visibility = [ "*" ] |
| 236 | sources = [ |
| 237 | "scoped_refptr.h", |
| 238 | ] |
| 239 | } |
| 240 | |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 241 | rtc_source_set("video_quality_test_fixture_api") { |
| 242 | visibility = [ "*" ] |
| 243 | testonly = true |
| 244 | sources = [ |
| 245 | "test/video_quality_test_fixture.h", |
| 246 | ] |
| 247 | deps = [ |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 248 | ":fec_controller_api", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 249 | ":libjingle_peerconnection_api", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 250 | ":network_state_predictor_api", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 251 | ":rtp_parameters", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 252 | ":simulated_network_api", |
| 253 | "../call:fake_network", |
| 254 | "../call:rtp_interfaces", |
| 255 | "../test:test_common", |
| 256 | "../test:video_test_common", |
Sebastian Jansson | 1391ed2 | 2019-04-30 12:23:51 | [diff] [blame] | 257 | "transport:network_control", |
Niels Möller | 65f17ca | 2019-09-12 11:59:36 | [diff] [blame] | 258 | "transport/media:media_transport_interface", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 259 | "video_codecs:video_codecs_api", |
| 260 | ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 261 | } |
| 262 | |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 263 | rtc_source_set("video_quality_analyzer_api") { |
| 264 | visibility = [ "*" ] |
| 265 | testonly = true |
| 266 | sources = [ |
| 267 | "test/video_quality_analyzer_interface.h", |
| 268 | ] |
| 269 | |
| 270 | deps = [ |
| 271 | ":stats_observer_interface", |
| 272 | "video:encoded_image", |
| 273 | "video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 10:59:38 | [diff] [blame] | 274 | "video:video_rtp_headers", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 275 | "video_codecs:video_codecs_api", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 276 | "//third_party/abseil-cpp/absl/types:optional", |
| 277 | ] |
| 278 | } |
| 279 | |
Mirko Bonadei | f948eb6 | 2019-04-05 13:13:23 | [diff] [blame] | 280 | rtc_source_set("track_id_stream_label_map") { |
| 281 | visibility = [ "*" ] |
| 282 | sources = [ |
| 283 | "test/track_id_stream_label_map.h", |
| 284 | ] |
| 285 | } |
| 286 | |
Niels Möller | 184b4af | 2019-08-23 11:33:50 | [diff] [blame] | 287 | rtc_source_set("rtp_parameters") { |
| 288 | visibility = [ "*" ] |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 289 | sources = [ |
| 290 | "media_types.cc", |
| 291 | "media_types.h", |
| 292 | "rtp_parameters.cc", |
| 293 | "rtp_parameters.h", |
| 294 | ] |
| 295 | deps = [ |
| 296 | ":array_view", |
| 297 | "../rtc_base:checks", |
| 298 | "../rtc_base:stringutils", |
| 299 | "../rtc_base/system:rtc_export", |
| 300 | "//third_party/abseil-cpp/absl/types:optional", |
| 301 | ] |
Niels Möller | 184b4af | 2019-08-23 11:33:50 | [diff] [blame] | 302 | } |
| 303 | |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 304 | rtc_source_set("audio_quality_analyzer_api") { |
| 305 | visibility = [ "*" ] |
| 306 | testonly = true |
| 307 | sources = [ |
| 308 | "test/audio_quality_analyzer_interface.h", |
| 309 | ] |
| 310 | |
| 311 | deps = [ |
| 312 | ":stats_observer_interface", |
Mirko Bonadei | f948eb6 | 2019-04-05 13:13:23 | [diff] [blame] | 313 | ":track_id_stream_label_map", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 314 | ] |
| 315 | } |
| 316 | |
| 317 | rtc_source_set("stats_observer_interface") { |
| 318 | visibility = [ "*" ] |
| 319 | testonly = true |
| 320 | sources = [ |
| 321 | "test/stats_observer_interface.h", |
| 322 | ] |
| 323 | |
| 324 | deps = [ |
Niels Möller | b4a6128 | 2019-08-29 10:16:56 | [diff] [blame] | 325 | # For api/stats_types.h |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 326 | ":libjingle_peerconnection_api", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 327 | ":rtp_parameters", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 328 | ] |
| 329 | } |
| 330 | |
| 331 | rtc_source_set("peer_connection_quality_test_fixture_api") { |
| 332 | visibility = [ "*" ] |
| 333 | testonly = true |
| 334 | sources = [ |
| 335 | "test/peerconnection_quality_test_fixture.h", |
| 336 | ] |
| 337 | |
| 338 | deps = [ |
| 339 | ":audio_quality_analyzer_api", |
| 340 | ":callfactory_api", |
| 341 | ":fec_controller_api", |
| 342 | ":function_view", |
| 343 | ":libjingle_peerconnection_api", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 344 | ":network_state_predictor_api", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 345 | ":simulated_network_api", |
Artem Titov | a854921 | 2019-08-19 12:38:06 | [diff] [blame] | 346 | ":stats_observer_interface", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 347 | ":video_quality_analyzer_api", |
Artem Titov | f65a89b | 2019-05-07 09:56:44 | [diff] [blame] | 348 | "../media:rtc_media_base", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 349 | "../rtc_base:rtc_base", |
Danil Chapovalov | 9305d11 | 2019-09-04 11:16:09 | [diff] [blame] | 350 | "rtc_event_log", |
Danil Chapovalov | 1a5fc90 | 2019-06-10 10:58:03 | [diff] [blame] | 351 | "task_queue", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 352 | "transport:network_control", |
Niels Möller | 65f17ca | 2019-09-12 11:59:36 | [diff] [blame] | 353 | "transport/media:media_transport_interface", |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 354 | "units:time_delta", |
| 355 | "video_codecs:video_codecs_api", |
| 356 | "//third_party/abseil-cpp/absl/memory", |
| 357 | "//third_party/abseil-cpp/absl/types:optional", |
| 358 | ] |
| 359 | } |
| 360 | |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 361 | rtc_source_set("test_dependency_factory") { |
| 362 | visibility = [ "*" ] |
| 363 | testonly = true |
| 364 | sources = [ |
| 365 | "test/test_dependency_factory.cc", |
| 366 | "test/test_dependency_factory.h", |
| 367 | ] |
| 368 | deps = [ |
| 369 | ":video_quality_test_fixture_api", |
Yves Gerey | 3e70781 | 2018-11-28 15:47:49 | [diff] [blame] | 370 | "../rtc_base:checks", |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 371 | "../rtc_base:thread_checker", |
tzik | f0e926f | 2018-10-15 04:52:10 | [diff] [blame] | 372 | "//third_party/abseil-cpp/absl/memory", |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 373 | ] |
Patrik Höglund | d8f3c17 | 2018-09-26 12:39:17 | [diff] [blame] | 374 | } |
| 375 | |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 376 | if (rtc_include_tests) { |
| 377 | rtc_source_set("create_video_quality_test_fixture_api") { |
| 378 | visibility = [ "*" ] |
| 379 | testonly = true |
| 380 | sources = [ |
| 381 | "test/create_video_quality_test_fixture.cc", |
| 382 | "test/create_video_quality_test_fixture.h", |
| 383 | ] |
| 384 | deps = [ |
| 385 | ":fec_controller_api", |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 386 | ":network_state_predictor_api", |
Mirko Bonadei | d970807 | 2019-01-25 19:26:48 | [diff] [blame] | 387 | ":scoped_refptr", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 388 | ":video_quality_test_fixture_api", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 389 | "../video:video_quality_test", |
Karl Wiberg | 918f50c | 2018-07-05 09:40:33 | [diff] [blame] | 390 | "//third_party/abseil-cpp/absl/memory", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 391 | ] |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 392 | } |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 393 | |
Artem Titov | 8ea8dcb | 2019-03-26 12:38:02 | [diff] [blame] | 394 | rtc_source_set("create_network_emulation_manager") { |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 395 | visibility = [ "*" ] |
| 396 | testonly = true |
| 397 | sources = [ |
| 398 | "test/create_network_emulation_manager.cc", |
| 399 | "test/create_network_emulation_manager.h", |
| 400 | ] |
| 401 | deps = [ |
| 402 | ":network_emulation_manager_api", |
Artem Titov | 386802e | 2019-07-05 08:48:17 | [diff] [blame] | 403 | "../test/network:emulated_network", |
Artem Titov | 533a9fe | 2019-03-21 11:18:05 | [diff] [blame] | 404 | "//third_party/abseil-cpp/absl/memory", |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 405 | ] |
| 406 | } |
Artem Titov | d57628f | 2019-03-22 11:34:25 | [diff] [blame] | 407 | |
| 408 | rtc_source_set("create_peerconnection_quality_test_fixture") { |
| 409 | visibility = [ "*" ] |
| 410 | testonly = true |
| 411 | sources = [ |
| 412 | "test/create_peerconnection_quality_test_fixture.cc", |
| 413 | "test/create_peerconnection_quality_test_fixture.h", |
| 414 | ] |
| 415 | |
| 416 | deps = [ |
| 417 | ":audio_quality_analyzer_api", |
| 418 | ":peer_connection_quality_test_fixture_api", |
| 419 | ":video_quality_analyzer_api", |
| 420 | "../test/pc/e2e:peerconnection_quality_test", |
| 421 | "//third_party/abseil-cpp/absl/memory", |
| 422 | ] |
| 423 | } |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 424 | } |
| 425 | |
Elad Alon | 8081073 | 2017-10-06 11:07:32 | [diff] [blame] | 426 | rtc_source_set("libjingle_logging_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 427 | visibility = [ "*" ] |
Elad Alon | 8081073 | 2017-10-06 11:07:32 | [diff] [blame] | 428 | sources = [ |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 429 | "rtc_event_log_output.h", |
Elad Alon | 8081073 | 2017-10-06 11:07:32 | [diff] [blame] | 430 | ] |
| 431 | } |
| 432 | |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 433 | rtc_source_set("rtc_event_log_output_file") { |
| 434 | visibility = [ "*" ] |
| 435 | sources = [ |
| 436 | "rtc_event_log_output_file.cc", |
| 437 | "rtc_event_log_output_file.h", |
| 438 | ] |
| 439 | |
| 440 | deps = [ |
| 441 | ":libjingle_logging_api", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 442 | "../rtc_base:checks", |
| 443 | "../rtc_base:rtc_base_approved", |
| 444 | "../rtc_base/system:file_wrapper", |
Danil Chapovalov | b32f2c7 | 2019-05-22 11:39:25 | [diff] [blame] | 445 | "rtc_event_log", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 446 | ] |
| 447 | } |
| 448 | |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 449 | rtc_source_set("rtc_stats_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 450 | visibility = [ "*" ] |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 451 | cflags = [] |
| 452 | sources = [ |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 453 | "stats/rtc_stats.h", |
| 454 | "stats/rtc_stats_collector_callback.h", |
| 455 | "stats/rtc_stats_report.h", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 456 | "stats/rtcstats_objects.h", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 457 | ] |
| 458 | |
| 459 | deps = [ |
Mirko Bonadei | d970807 | 2019-01-25 19:26:48 | [diff] [blame] | 460 | ":scoped_refptr", |
Patrik Höglund | a8005cf | 2017-12-13 15:05:42 | [diff] [blame] | 461 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 17:40:47 | [diff] [blame] | 462 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 3b56ee7 | 2018-10-15 15:15:12 | [diff] [blame] | 463 | "../rtc_base/system:rtc_export", |
hbos | 74e1a4f | 2016-09-16 06:33:01 | [diff] [blame] | 464 | ] |
| 465 | } |
| 466 | |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 467 | rtc_source_set("audio_options_api") { |
| 468 | visibility = [ "*" ] |
| 469 | sources = [ |
Paulina Hensman | 11b34f4 | 2018-04-09 12:24:52 | [diff] [blame] | 470 | "audio_options.cc", |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 471 | "audio_options.h", |
| 472 | ] |
| 473 | |
| 474 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 15:47:49 | [diff] [blame] | 475 | ":array_view", |
Danil Chapovalov | 2165233 | 2018-08-31 08:29:07 | [diff] [blame] | 476 | "../rtc_base:stringutils", |
Danil Chapovalov | 0bc58cf | 2018-06-21 11:32:56 | [diff] [blame] | 477 | "//third_party/abseil-cpp/absl/types:optional", |
Niels Möller | a6fe261 | 2018-01-19 10:28:54 | [diff] [blame] | 478 | ] |
| 479 | } |
| 480 | |
aleloi | a8eb756 | 2016-11-28 15:02:13 | [diff] [blame] | 481 | rtc_source_set("transport_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 482 | visibility = [ "*" ] |
aleloi | a8eb756 | 2016-11-28 15:02:13 | [diff] [blame] | 483 | sources = [ |
Dino Radaković | 1807d57 | 2018-02-22 13:18:06 | [diff] [blame] | 484 | "call/transport.cc", |
aleloi | a8eb756 | 2016-11-28 15:02:13 | [diff] [blame] | 485 | "call/transport.h", |
| 486 | ] |
| 487 | } |
nisse | b2250e5 | 2016-12-02 12:01:14 | [diff] [blame] | 488 | |
Sebastian Jansson | 6736df1 | 2018-11-21 18:18:39 | [diff] [blame] | 489 | rtc_source_set("bitrate_allocation") { |
| 490 | visibility = [ "*" ] |
| 491 | sources = [ |
| 492 | "call/bitrate_allocation.h", |
| 493 | ] |
| 494 | deps = [ |
| 495 | "units:data_rate", |
| 496 | "units:time_delta", |
| 497 | ] |
| 498 | } |
| 499 | |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 500 | rtc_source_set("simulated_network_api") { |
| 501 | visibility = [ "*" ] |
| 502 | sources = [ |
| 503 | "test/simulated_network.h", |
| 504 | ] |
| 505 | deps = [ |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 506 | "../rtc_base", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 507 | "../rtc_base:criticalsection", |
Danil Chapovalov | 065a52a | 2018-07-09 08:58:54 | [diff] [blame] | 508 | "//third_party/abseil-cpp/absl/types:optional", |
Patrik Höglund | b6b29e0 | 2018-06-21 14:58:01 | [diff] [blame] | 509 | ] |
| 510 | } |
| 511 | |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 512 | rtc_source_set("network_emulation_manager_api") { |
| 513 | visibility = [ "*" ] |
| 514 | sources = [ |
| 515 | "test/network_emulation_manager.h", |
| 516 | ] |
| 517 | deps = [ |
| 518 | ":simulated_network_api", |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 519 | "../rtc_base", |
Artem Titov | 806299e | 2019-04-12 10:17:19 | [diff] [blame] | 520 | "units:data_rate", |
| 521 | "units:data_size", |
| 522 | "units:timestamp", |
Artem Titov | 7bf8c7f | 2019-03-15 14:00:37 | [diff] [blame] | 523 | ] |
| 524 | } |
| 525 | |
Ying Wang | 3b790f3 | 2018-01-19 16:58:57 | [diff] [blame] | 526 | rtc_source_set("fec_controller_api") { |
| 527 | visibility = [ "*" ] |
| 528 | sources = [ |
| 529 | "fec_controller.h", |
Elad Alon | 8f01c4e | 2019-06-28 13:19:43 | [diff] [blame] | 530 | "fec_controller_override.h", |
Ying Wang | 3b790f3 | 2018-01-19 16:58:57 | [diff] [blame] | 531 | ] |
| 532 | |
| 533 | deps = [ |
Ying Wang | 0dd1b0a | 2018-02-20 11:50:27 | [diff] [blame] | 534 | "../modules:module_fec_api", |
Niels Möller | 8f7ce22 | 2019-03-21 14:43:58 | [diff] [blame] | 535 | "video:video_frame_type", |
Ying Wang | 3b790f3 | 2018-01-19 16:58:57 | [diff] [blame] | 536 | ] |
| 537 | } |
| 538 | |
Ying Wang | 0810a7c | 2019-04-10 11:48:24 | [diff] [blame] | 539 | rtc_source_set("network_state_predictor_api") { |
| 540 | visibility = [ "*" ] |
| 541 | sources = [ |
| 542 | "network_state_predictor.h", |
| 543 | ] |
| 544 | } |
| 545 | |
kwiberg | 529662a | 2017-09-04 12:43:17 | [diff] [blame] | 546 | rtc_source_set("array_view") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 547 | visibility = [ "*" ] |
kwiberg | 529662a | 2017-09-04 12:43:17 | [diff] [blame] | 548 | sources = [ |
| 549 | "array_view.h", |
| 550 | ] |
| 551 | deps = [ |
Patrik Höglund | a8005cf | 2017-12-13 15:05:42 | [diff] [blame] | 552 | "../rtc_base:checks", |
| 553 | "../rtc_base:type_traits", |
kwiberg | 529662a | 2017-09-04 12:43:17 | [diff] [blame] | 554 | ] |
| 555 | } |
| 556 | |
Niels Möller | 9155e49 | 2017-10-23 09:22:30 | [diff] [blame] | 557 | rtc_source_set("refcountedbase") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 | [diff] [blame] | 558 | visibility = [ "*" ] |
Niels Möller | 9155e49 | 2017-10-23 09:22:30 | [diff] [blame] | 559 | sources = [ |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 560 | "ref_counted_base.h", |
Niels Möller | 9155e49 | 2017-10-23 09:22:30 | [diff] [blame] | 561 | ] |
| 562 | deps = [ |
| 563 | "../rtc_base:rtc_base_approved", |
| 564 | ] |
| 565 | } |
| 566 | |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 567 | rtc_source_set("ice_transport_factory") { |
| 568 | visibility = [ "*" ] |
| 569 | sources = [ |
| 570 | "ice_transport_factory.cc", |
| 571 | "ice_transport_factory.h", |
| 572 | ] |
| 573 | deps = [ |
| 574 | ":libjingle_peerconnection_api", |
| 575 | ":scoped_refptr", |
| 576 | "../p2p:rtc_p2p", |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 577 | "../rtc_base", |
Mirko Bonadei | 66e7679 | 2019-04-02 09:33:59 | [diff] [blame] | 578 | "../rtc_base/system:rtc_export", |
Steve Anton | 6fdfec1 | 2019-07-01 21:07:33 | [diff] [blame] | 579 | "rtc_event_log:rtc_event_log", |
Artem Titov | 533a9fe | 2019-03-21 11:18:05 | [diff] [blame] | 580 | "//third_party/abseil-cpp/absl/memory", |
Harald Alvestrand | 9846262 | 2019-01-30 13:57:03 | [diff] [blame] | 581 | ] |
| 582 | } |
| 583 | |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 584 | rtc_source_set("neteq_simulator_api") { |
| 585 | visibility = [ "*" ] |
| 586 | sources = [ |
| 587 | "test/neteq_simulator.cc", |
| 588 | "test/neteq_simulator.h", |
| 589 | ] |
| 590 | } |
| 591 | |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 592 | rtc_source_set("function_view") { |
| 593 | visibility = [ "*" ] |
| 594 | sources = [ |
| 595 | "function_view.h", |
| 596 | ] |
| 597 | deps = [ |
| 598 | "../rtc_base:checks", |
| 599 | ] |
| 600 | } |
| 601 | |
kjellander | fd5b4e9 | 2016-06-13 19:08:33 | [diff] [blame] | 602 | if (rtc_include_tests) { |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 603 | if (rtc_enable_protobuf) { |
| 604 | rtc_source_set("audioproc_f_api") { |
| 605 | visibility = [ "*" ] |
| 606 | testonly = true |
| 607 | sources = [ |
| 608 | "test/audioproc_float.cc", |
| 609 | "test/audioproc_float.h", |
| 610 | ] |
| 611 | |
| 612 | deps = [ |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 613 | "../modules/audio_processing", |
Alessio Bazzica | b768e88 | 2018-11-07 14:29:54 | [diff] [blame] | 614 | "../modules/audio_processing:api", |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 615 | "../modules/audio_processing:audioproc_f_impl", |
| 616 | ] |
| 617 | } |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 618 | |
| 619 | rtc_source_set("neteq_simulator_factory") { |
| 620 | visibility = [ "*" ] |
| 621 | testonly = true |
| 622 | sources = [ |
| 623 | "test/neteq_simulator_factory.cc", |
| 624 | "test/neteq_simulator_factory.h", |
| 625 | ] |
| 626 | deps = [ |
| 627 | ":neteq_simulator_api", |
| 628 | "../modules/audio_coding:neteq_test_factory", |
Ivo Creusen | f81b0f1 | 2018-09-11 08:30:58 | [diff] [blame] | 629 | "../rtc_base:checks", |
Mirko Bonadei | 2ab97f6 | 2019-07-18 11:44:12 | [diff] [blame] | 630 | "//third_party/abseil-cpp/absl/flags:flag", |
| 631 | "//third_party/abseil-cpp/absl/flags:parse", |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 632 | "//third_party/abseil-cpp/absl/memory", |
Ivo Creusen | 5ec6156 | 2019-03-20 09:52:18 | [diff] [blame] | 633 | "//third_party/abseil-cpp/absl/strings", |
Ivo Creusen | 55de08e | 2018-09-03 09:49:27 | [diff] [blame] | 634 | ] |
| 635 | } |
Ivo Creusen | 2cb4105 | 2018-03-15 11:22:52 | [diff] [blame] | 636 | } |
| 637 | |
Rasmus Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 638 | rtc_source_set("simulcast_test_fixture_api") { |
| 639 | visibility = [ "*" ] |
| 640 | testonly = true |
| 641 | sources = [ |
| 642 | "test/simulcast_test_fixture.h", |
| 643 | ] |
| 644 | } |
| 645 | |
| 646 | rtc_source_set("create_simulcast_test_fixture_api") { |
| 647 | visibility = [ "*" ] |
| 648 | testonly = true |
| 649 | sources = [ |
| 650 | "test/create_simulcast_test_fixture.cc", |
| 651 | "test/create_simulcast_test_fixture.h", |
| 652 | ] |
| 653 | deps = [ |
| 654 | ":simulcast_test_fixture_api", |
| 655 | "../modules/video_coding:simulcast_test_fixture_impl", |
| 656 | "../rtc_base:rtc_base_approved", |
| 657 | "video_codecs:video_codecs_api", |
Karl Wiberg | 918f50c | 2018-07-05 09:40:33 | [diff] [blame] | 658 | "//third_party/abseil-cpp/absl/memory", |
Rasmus Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 659 | ] |
Rasmus Brandt | 0cedc05 | 2018-05-31 10:53:00 | [diff] [blame] | 660 | } |
| 661 | |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 662 | rtc_source_set("videocodec_test_fixture_api") { |
| 663 | visibility = [ "*" ] |
| 664 | testonly = true |
| 665 | sources = [ |
| 666 | "test/videocodec_test_fixture.h", |
Kári Tristan Helgason | 169005d | 2018-05-22 11:34:14 | [diff] [blame] | 667 | "test/videocodec_test_stats.cc", |
| 668 | "test/videocodec_test_stats.h", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 669 | ] |
| 670 | deps = [ |
Kári Tristan Helgason | 169005d | 2018-05-22 11:34:14 | [diff] [blame] | 671 | "..:webrtc_common", |
| 672 | "../modules/video_coding:video_codec_interface", |
Jonas Olsson | 366a50c | 2018-09-06 11:41:30 | [diff] [blame] | 673 | "../rtc_base:stringutils", |
Niels Möller | 8f7ce22 | 2019-03-21 14:43:58 | [diff] [blame] | 674 | "video:video_frame_type", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 675 | "video_codecs:video_codecs_api", |
| 676 | ] |
| 677 | } |
| 678 | |
| 679 | rtc_source_set("create_videocodec_test_fixture_api") { |
| 680 | visibility = [ "*" ] |
| 681 | testonly = true |
| 682 | sources = [ |
| 683 | "test/create_videocodec_test_fixture.cc", |
| 684 | "test/create_videocodec_test_fixture.h", |
| 685 | ] |
| 686 | deps = [ |
| 687 | ":videocodec_test_fixture_api", |
| 688 | "../modules/video_coding:video_codecs_test_framework", |
| 689 | "../modules/video_coding:videocodec_test_impl", |
| 690 | "../rtc_base:rtc_base_approved", |
| 691 | "video_codecs:video_codecs_api", |
Karl Wiberg | 918f50c | 2018-07-05 09:40:33 | [diff] [blame] | 692 | "//third_party/abseil-cpp/absl/memory", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 693 | ] |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 09:56:55 | [diff] [blame] | 694 | } |
| 695 | |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 696 | rtc_source_set("mock_audio_mixer") { |
| 697 | testonly = true |
| 698 | sources = [ |
| 699 | "test/mock_audio_mixer.h", |
| 700 | ] |
| 701 | |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 702 | deps = [ |
jianjun.zhu | c024740 | 2017-07-11 13:20:45 | [diff] [blame] | 703 | "../test:test_support", |
Gustaf Ullberg | 2ae140a | 2018-02-16 12:43:49 | [diff] [blame] | 704 | "audio:audio_mixer_api", |
kjellander | 2f6af9c | 2017-03-03 06:26:23 | [diff] [blame] | 705 | ] |
| 706 | } |
| 707 | |
Elad Alon | 45befc5 | 2019-07-02 09:20:09 | [diff] [blame] | 708 | rtc_source_set("mock_fec_controller_override") { |
| 709 | testonly = true |
| 710 | sources = [ |
| 711 | "test/mock_fec_controller_override.h", |
| 712 | ] |
| 713 | deps = [ |
| 714 | ":fec_controller_api", |
| 715 | "../test:test_support", |
| 716 | ] |
| 717 | } |
| 718 | |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 719 | rtc_source_set("mock_frame_encryptor") { |
| 720 | testonly = true |
| 721 | sources = [ |
| 722 | "test/mock_frame_encryptor.cc", |
| 723 | "test/mock_frame_encryptor.h", |
| 724 | ] |
| 725 | deps = [ |
Niels Möller | b4a6128 | 2019-08-29 10:16:56 | [diff] [blame] | 726 | # For api/crypto/frame_encryptor_interface.h |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 727 | ":libjingle_peerconnection_api", |
| 728 | "../test:test_support", |
| 729 | ] |
| 730 | } |
| 731 | |
| 732 | rtc_source_set("mock_frame_decryptor") { |
| 733 | testonly = true |
| 734 | sources = [ |
| 735 | "test/mock_frame_decryptor.cc", |
| 736 | "test/mock_frame_decryptor.h", |
| 737 | ] |
| 738 | deps = [ |
| 739 | ":libjingle_peerconnection_api", |
| 740 | "../test:test_support", |
| 741 | ] |
| 742 | } |
| 743 | |
| 744 | rtc_source_set("fake_frame_encryptor") { |
| 745 | testonly = true |
| 746 | sources = [ |
| 747 | "test/fake_frame_encryptor.cc", |
| 748 | "test/fake_frame_encryptor.h", |
| 749 | ] |
| 750 | deps = [ |
| 751 | ":array_view", |
| 752 | ":libjingle_peerconnection_api", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 753 | ":rtp_parameters", |
Benjamin Wright | 78410ad | 2018-10-25 16:52:57 | [diff] [blame] | 754 | "..:webrtc_common", |
| 755 | "../rtc_base:checks", |
| 756 | "../rtc_base:rtc_base_approved", |
| 757 | ] |
| 758 | } |
| 759 | |
| 760 | rtc_source_set("fake_frame_decryptor") { |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 761 | testonly = true |
| 762 | sources = [ |
| 763 | "test/fake_frame_decryptor.cc", |
| 764 | "test/fake_frame_decryptor.h", |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 765 | ] |
| 766 | deps = [ |
| 767 | ":array_view", |
| 768 | ":libjingle_peerconnection_api", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 769 | ":rtp_parameters", |
Benjamin Wright | 84583f6 | 2018-10-04 21:22:34 | [diff] [blame] | 770 | "..:webrtc_common", |
| 771 | "../rtc_base:checks", |
| 772 | "../rtc_base:rtc_base_approved", |
| 773 | ] |
| 774 | } |
| 775 | |
Niels Möller | e78fd80 | 2019-09-13 12:45:55 | [diff] [blame^] | 776 | rtc_source_set("dummy_peer_connection") { |
| 777 | visibility = [ "*" ] |
| 778 | testonly = true |
| 779 | sources = [ |
| 780 | "test/dummy_peer_connection.h", |
| 781 | ] |
| 782 | |
| 783 | deps = [ |
| 784 | ":libjingle_peerconnection_api", |
| 785 | ":rtc_error", |
| 786 | "../rtc_base:checks", |
| 787 | "../rtc_base:refcount", |
| 788 | ] |
| 789 | } |
| 790 | |
Jiawei Ou | 651b92e | 2018-06-29 22:46:44 | [diff] [blame] | 791 | rtc_source_set("mock_peerconnectioninterface") { |
| 792 | testonly = true |
| 793 | sources = [ |
| 794 | "test/mock_peerconnectioninterface.h", |
| 795 | ] |
| 796 | |
| 797 | deps = [ |
| 798 | ":libjingle_peerconnection_api", |
| 799 | "../test:test_support", |
| 800 | ] |
| 801 | } |
| 802 | |
Patrik Höglund | 4b9e6ba | 2017-12-19 09:32:11 | [diff] [blame] | 803 | rtc_source_set("mock_rtp") { |
| 804 | testonly = true |
| 805 | sources = [ |
| 806 | "test/mock_rtpreceiver.h", |
| 807 | "test/mock_rtpsender.h", |
| 808 | ] |
| 809 | |
| 810 | deps = [ |
| 811 | ":libjingle_peerconnection_api", |
| 812 | "../test:test_support", |
Patrik Höglund | 4b9e6ba | 2017-12-19 09:32:11 | [diff] [blame] | 813 | ] |
| 814 | } |
| 815 | |
Jiawei Ou | 4206a0a | 2018-07-20 22:49:43 | [diff] [blame] | 816 | rtc_source_set("mock_video_bitrate_allocator") { |
| 817 | testonly = true |
| 818 | sources = [ |
| 819 | "test/mock_video_bitrate_allocator.h", |
| 820 | ] |
| 821 | |
| 822 | deps = [ |
| 823 | "../api/video:video_bitrate_allocator", |
| 824 | "../test:test_support", |
| 825 | ] |
| 826 | } |
| 827 | |
Jiawei Ou | c2ebe21 | 2018-11-08 18:02:56 | [diff] [blame] | 828 | rtc_source_set("mock_video_bitrate_allocator_factory") { |
| 829 | testonly = true |
| 830 | sources = [ |
| 831 | "test/mock_video_bitrate_allocator_factory.h", |
| 832 | ] |
| 833 | |
| 834 | deps = [ |
| 835 | "../api/video:video_bitrate_allocator_factory", |
| 836 | "../test:test_support", |
| 837 | ] |
| 838 | } |
| 839 | |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 840 | rtc_source_set("mock_video_codec_factory") { |
| 841 | testonly = true |
| 842 | sources = [ |
| 843 | "test/mock_video_decoder_factory.h", |
| 844 | "test/mock_video_encoder_factory.h", |
| 845 | ] |
| 846 | |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 847 | deps = [ |
Mirko Bonadei | 34814c7 | 2018-01-11 09:13:56 | [diff] [blame] | 848 | "../api/video_codecs:video_codecs_api", |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 849 | "../test:test_support", |
Emircan Uysaler | dbcac7f | 2017-10-31 06:10:12 | [diff] [blame] | 850 | ] |
| 851 | } |
| 852 | |
Erik Språng | c84cd95 | 2018-10-15 09:55:13 | [diff] [blame] | 853 | rtc_source_set("mock_video_decoder") { |
| 854 | visibility = [ "*" ] |
| 855 | |
| 856 | testonly = true |
| 857 | sources = [ |
| 858 | "test/mock_video_decoder.cc", |
| 859 | "test/mock_video_decoder.h", |
| 860 | ] |
| 861 | |
| 862 | deps = [ |
| 863 | "../api/video_codecs:video_codecs_api", |
| 864 | "../test:test_support", |
| 865 | ] |
| 866 | } |
| 867 | |
Erik Språng | 6af1c92 | 2018-10-12 08:01:30 | [diff] [blame] | 868 | rtc_source_set("mock_video_encoder") { |
Erik Språng | c84cd95 | 2018-10-15 09:55:13 | [diff] [blame] | 869 | visibility = [ "*" ] |
| 870 | |
Erik Språng | 6af1c92 | 2018-10-12 08:01:30 | [diff] [blame] | 871 | testonly = true |
| 872 | sources = [ |
| 873 | "test/mock_video_encoder.cc", |
| 874 | "test/mock_video_encoder.h", |
| 875 | ] |
| 876 | |
| 877 | deps = [ |
| 878 | "../api/video_codecs:video_codecs_api", |
| 879 | "../test:test_support", |
| 880 | ] |
| 881 | } |
| 882 | |
Anton Sukhanov | 7940da0 | 2018-10-10 17:34:49 | [diff] [blame] | 883 | rtc_source_set("fake_media_transport") { |
| 884 | testonly = true |
| 885 | |
| 886 | sources = [ |
Bjorn A Mellem | c85ebbe | 2019-06-07 17:28:06 | [diff] [blame] | 887 | "test/fake_datagram_transport.h", |
Anton Sukhanov | 7940da0 | 2018-10-10 17:34:49 | [diff] [blame] | 888 | "test/fake_media_transport.h", |
| 889 | ] |
| 890 | |
| 891 | deps = [ |
Anton Sukhanov | 7940da0 | 2018-10-10 17:34:49 | [diff] [blame] | 892 | "../rtc_base:checks", |
Niels Möller | 65f17ca | 2019-09-12 11:59:36 | [diff] [blame] | 893 | "transport:datagram_transport_interface", |
| 894 | "transport/media:media_transport_interface", |
Steve Anton | a59dcc3 | 2019-03-25 20:53:07 | [diff] [blame] | 895 | "//third_party/abseil-cpp/absl/algorithm:container", |
Yves Gerey | 3e70781 | 2018-11-28 15:47:49 | [diff] [blame] | 896 | "//third_party/abseil-cpp/absl/memory", |
Anton Sukhanov | 7940da0 | 2018-10-10 17:34:49 | [diff] [blame] | 897 | ] |
| 898 | } |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 899 | |
| 900 | rtc_source_set("loopback_media_transport") { |
| 901 | testonly = true |
| 902 | |
| 903 | sources = [ |
Niels Möller | e0446cb | 2018-11-30 08:35:52 | [diff] [blame] | 904 | "test/loopback_media_transport.cc", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 905 | "test/loopback_media_transport.h", |
| 906 | ] |
| 907 | |
| 908 | deps = [ |
Artem Titov | 94b57c0 | 2019-03-21 12:35:10 | [diff] [blame] | 909 | "../rtc_base", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 910 | "../rtc_base:checks", |
Niels Möller | 65f17ca | 2019-09-12 11:59:36 | [diff] [blame] | 911 | "transport:datagram_transport_interface", |
| 912 | "transport/media:media_transport_interface", |
Steve Anton | a59dcc3 | 2019-03-25 20:53:07 | [diff] [blame] | 913 | "//third_party/abseil-cpp/absl/algorithm:container", |
Niels Möller | e0446cb | 2018-11-30 08:35:52 | [diff] [blame] | 914 | "//third_party/abseil-cpp/absl/memory", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 915 | ] |
| 916 | } |
| 917 | |
| 918 | rtc_source_set("rtc_api_unittests") { |
| 919 | testonly = true |
| 920 | |
| 921 | sources = [ |
| 922 | "array_view_unittest.cc", |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 923 | "function_view_unittest.cc", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 924 | "rtc_error_unittest.cc", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 925 | "rtc_event_log_output_file_unittest.cc", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 926 | "rtp_packet_info_unittest.cc", |
| 927 | "rtp_packet_infos_unittest.cc", |
Steve Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 928 | "rtp_parameters_unittest.cc", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 929 | "test/loopback_media_transport_unittest.cc", |
| 930 | ] |
| 931 | |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 932 | deps = [ |
| 933 | ":array_view", |
Artem Titov | 741daaf | 2019-03-21 13:37:36 | [diff] [blame] | 934 | ":function_view", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 935 | ":libjingle_peerconnection_api", |
| 936 | ":loopback_media_transport", |
Mirko Bonadei | fcfeefe | 2019-09-10 08:51:23 | [diff] [blame] | 937 | ":rtc_error", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 938 | ":rtc_event_log_output_file", |
Chen Xing | d2a6686 | 2019-06-03 12:53:42 | [diff] [blame] | 939 | ":rtp_packet_info", |
Niels Möller | 6dcd4dc | 2019-08-26 08:45:28 | [diff] [blame] | 940 | ":rtp_parameters", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 941 | "../rtc_base:checks", |
Mirko Bonadei | e3abb81 | 2018-11-23 12:15:08 | [diff] [blame] | 942 | "../rtc_base:gunit_helpers", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 943 | "../rtc_base:rtc_base_approved", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 944 | "../test:fileutils", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 945 | "../test:test_support", |
Danil Chapovalov | 2684ab3 | 2019-02-26 09:18:08 | [diff] [blame] | 946 | "task_queue:task_queue_default_factory_unittests", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 947 | "units:units_unittests", |
Danil Chapovalov | b703db9 | 2019-04-08 14:59:28 | [diff] [blame] | 948 | "video:video_unittests", |
Niels Möller | d8b9ed7 | 2019-05-08 11:53:51 | [diff] [blame] | 949 | "//third_party/abseil-cpp/absl/memory", |
Niels Möller | 2e47f7c | 2018-10-16 08:41:42 | [diff] [blame] | 950 | ] |
| 951 | } |
Harald Alvestrand | 3cc45d4 | 2019-03-14 04:42:04 | [diff] [blame] | 952 | |
| 953 | rtc_source_set("compile_all_headers") { |
| 954 | testonly = true |
| 955 | |
| 956 | sources = [ |
| 957 | "test/compile_all_headers.cc", |
| 958 | ] |
| 959 | |
| 960 | deps = [ |
| 961 | ":fake_frame_decryptor", |
| 962 | ":fake_frame_encryptor", |
| 963 | ":fake_media_transport", |
| 964 | ":loopback_media_transport", |
| 965 | ":mock_audio_mixer", |
| 966 | ":mock_frame_decryptor", |
| 967 | ":mock_frame_encryptor", |
| 968 | ":mock_peerconnectioninterface", |
| 969 | ":mock_rtp", |
| 970 | ":mock_video_bitrate_allocator", |
| 971 | ":mock_video_bitrate_allocator_factory", |
| 972 | ":mock_video_codec_factory", |
| 973 | ":mock_video_decoder", |
| 974 | ":mock_video_encoder", |
| 975 | ":rtc_api_unittests", |
| 976 | "units:units_unittests", |
| 977 | ] |
| 978 | } |
kjellander | fd5b4e9 | 2016-06-13 19:08:33 | [diff] [blame] | 979 | } |