Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [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 06:58:22 -0800 | [diff] [blame] | 9 | import("../webrtc.gni") |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 10 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 11 | rtc_library("call_interfaces") { |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 12 | sources = [ |
Paulina Hensman | 11b34f4 | 2018-04-09 14:24:52 +0200 | [diff] [blame] | 13 | "audio_receive_stream.cc", |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 14 | "audio_receive_stream.h", |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 15 | "audio_send_stream.h", |
Paulina Hensman | 11b34f4 | 2018-04-09 14:24:52 +0200 | [diff] [blame] | 16 | "audio_state.cc", |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 17 | "audio_state.h", |
| 18 | "call.h", |
Paulina Hensman | 11b34f4 | 2018-04-09 14:24:52 +0200 | [diff] [blame] | 19 | "call_config.cc", |
| 20 | "call_config.h", |
| 21 | "flexfec_receive_stream.cc", |
brandtr | 7250b39 | 2016-12-19 01:13:46 -0800 | [diff] [blame] | 22 | "flexfec_receive_stream.h", |
Niels Möller | 7008287 | 2018-08-07 11:03:12 +0200 | [diff] [blame] | 23 | "packet_receiver.h", |
solenberg | 3ebbcb5 | 2017-01-31 03:58:40 -0800 | [diff] [blame] | 24 | "syncable.cc", |
| 25 | "syncable.h", |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 26 | ] |
Dan Minor | 9c68613 | 2018-01-15 10:20:00 -0500 | [diff] [blame] | 27 | if (!build_with_mozilla) { |
| 28 | sources += [ "audio_send_stream.cc" ] |
| 29 | } |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 30 | deps = [ |
Tim Na | b8c775a | 2020-01-10 10:33:05 -0800 | [diff] [blame] | 31 | ":audio_sender_interface", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 32 | ":rtp_interfaces", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 33 | ":video_stream_api", |
Ying Wang | 3b790f3 | 2018-01-19 17:58:57 +0100 | [diff] [blame] | 34 | "../api:fec_controller_api", |
Ying Wang | 0810a7c | 2019-04-10 13:48:24 +0200 | [diff] [blame] | 35 | "../api:network_state_predictor_api", |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 36 | "../api:rtc_error", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 37 | "../api:rtp_headers", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 38 | "../api:rtp_parameters", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 39 | "../api:scoped_refptr", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 40 | "../api:transport_api", |
Gustaf Ullberg | 2ae140a | 2018-02-16 13:43:49 +0100 | [diff] [blame] | 41 | "../api/audio:audio_mixer_api", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 42 | "../api/audio_codecs:audio_codecs_api", |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 43 | "../api/crypto:frame_decryptor_interface", |
| 44 | "../api/crypto:frame_encryptor_interface", |
| 45 | "../api/crypto:options", |
Ivo Creusen | c3d1f9b | 2019-11-01 11:47:51 +0100 | [diff] [blame] | 46 | "../api/neteq:neteq_api", |
Sebastian Jansson | ed50e6c | 2019-03-01 14:45:21 +0100 | [diff] [blame] | 47 | "../api/task_queue", |
Mirko Bonadei | 738bfa7 | 2019-09-17 14:47:38 +0200 | [diff] [blame] | 48 | "../api/transport:bitrate_settings", |
Sebastian Jansson | dfce03a | 2018-05-18 18:05:10 +0200 | [diff] [blame] | 49 | "../api/transport:network_control", |
Erik Språng | 662678d | 2019-11-15 17:18:52 +0100 | [diff] [blame] | 50 | "../api/transport:webrtc_key_value_config", |
Niels Möller | a837030 | 2019-09-02 15:16:49 +0200 | [diff] [blame] | 51 | "../api/transport/rtp:rtp_source", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 52 | "../modules/audio_device", |
| 53 | "../modules/audio_processing", |
Alessio Bazzica | b768e88 | 2018-11-07 14:29:54 +0000 | [diff] [blame] | 54 | "../modules/audio_processing:api", |
Ivo Creusen | 56d4609 | 2017-11-24 17:29:59 +0100 | [diff] [blame] | 55 | "../modules/audio_processing:audio_processing_statistics", |
Henrik Boström | 6e436d1 | 2019-05-27 12:19:33 +0200 | [diff] [blame] | 56 | "../modules/rtp_rtcp:rtp_rtcp_format", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 57 | "../modules/utility", |
| 58 | "../rtc_base", |
Jonas Olsson | abbe841 | 2018-04-03 13:40:05 +0200 | [diff] [blame] | 59 | "../rtc_base:audio_format_to_string", |
Yves Gerey | 988cc08 | 2018-10-23 12:03:01 +0200 | [diff] [blame] | 60 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 61 | "../rtc_base:rtc_base_approved", |
Sebastian Jansson | 1298541 | 2018-10-15 21:06:26 +0200 | [diff] [blame] | 62 | "../rtc_base/network:sent_packet", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 63 | "//third_party/abseil-cpp/absl/types:optional", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 64 | ] |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 65 | } |
| 66 | |
Tim Na | b8c775a | 2020-01-10 10:33:05 -0800 | [diff] [blame] | 67 | rtc_source_set("audio_sender_interface") { |
| 68 | visibility = [ "*" ] |
Mirko Bonadei | ccbe95f | 2020-01-21 12:10:10 +0100 | [diff] [blame] | 69 | sources = [ "audio_sender.h" ] |
| 70 | deps = [ "../api/audio:audio_frame_api" ] |
Tim Na | b8c775a | 2020-01-10 10:33:05 -0800 | [diff] [blame] | 71 | } |
| 72 | |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 73 | # TODO(nisse): These RTP targets should be moved elsewhere |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 74 | # when interfaces have stabilized. See also TODO for |mock_rtp_interfaces|. |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 75 | rtc_library("rtp_interfaces") { |
Danil Chapovalov | 32fe3d1 | 2018-10-04 13:41:03 +0200 | [diff] [blame] | 76 | # Client code SHOULD NOT USE THIS TARGET, but for now it needs to be public |
| 77 | # because there exists client code that uses it. |
| 78 | # TODO(bugs.webrtc.org/9808): Move to private visibility as soon as that |
| 79 | # client code gets updated. |
| 80 | visibility = [ "*" ] |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 81 | sources = [ |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 82 | "rtcp_packet_sink_interface.h", |
Stefan Holmer | 1acbd68 | 2017-09-01 15:29:28 +0200 | [diff] [blame] | 83 | "rtp_config.cc", |
| 84 | "rtp_config.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 85 | "rtp_packet_sink_interface.h", |
nisse | 0f15f92 | 2017-06-21 01:05:22 -0700 | [diff] [blame] | 86 | "rtp_stream_receiver_controller_interface.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 87 | "rtp_transport_controller_send_interface.h", |
| 88 | ] |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 89 | deps = [ |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 90 | "../api:array_view", |
Stefan Holmer | 64be7fa | 2018-10-04 15:21:55 +0200 | [diff] [blame] | 91 | "../api:fec_controller_api", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 92 | "../api:rtp_headers", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 93 | "../api:rtp_parameters", |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 94 | "../api/crypto:options", |
Danil Chapovalov | 83bbe91 | 2019-08-07 12:24:53 +0200 | [diff] [blame] | 95 | "../api/rtc_event_log", |
Niels Möller | 0c4f7be | 2018-05-07 14:01:37 +0200 | [diff] [blame] | 96 | "../api/transport:bitrate_settings", |
Erik Språng | 425d6aa | 2019-07-29 16:38:27 +0200 | [diff] [blame] | 97 | "../api/units:timestamp", |
Stefan Holmer | dbdb3a0 | 2018-07-17 16:03:46 +0200 | [diff] [blame] | 98 | "../modules/rtp_rtcp:rtp_rtcp_format", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 99 | "../rtc_base:rtc_base_approved", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 100 | "//third_party/abseil-cpp/absl/types:optional", |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 101 | ] |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 102 | } |
| 103 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 104 | rtc_library("rtp_receiver") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 105 | visibility = [ "*" ] |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 106 | sources = [ |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 107 | "rtcp_demuxer.cc", |
| 108 | "rtcp_demuxer.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 109 | "rtp_demuxer.cc", |
| 110 | "rtp_demuxer.h", |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 111 | "rtp_rtcp_demuxer_helper.cc", |
| 112 | "rtp_rtcp_demuxer_helper.h", |
nisse | 0f15f92 | 2017-06-21 01:05:22 -0700 | [diff] [blame] | 113 | "rtp_stream_receiver_controller.cc", |
| 114 | "rtp_stream_receiver_controller.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 115 | "rtx_receive_stream.cc", |
| 116 | "rtx_receive_stream.h", |
Steve Anton | b332917 | 2017-08-17 15:23:51 -0700 | [diff] [blame] | 117 | "ssrc_binding_observer.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 118 | ] |
| 119 | deps = [ |
| 120 | ":rtp_interfaces", |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 121 | "../api:array_view", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 122 | "../api:rtp_headers", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 123 | "../modules/rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 124 | "../modules/rtp_rtcp:rtp_rtcp_format", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 125 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 126 | "../rtc_base:rtc_base_approved", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 127 | "//third_party/abseil-cpp/absl/types:optional", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 128 | ] |
| 129 | } |
| 130 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 131 | rtc_library("rtp_sender") { |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 132 | sources = [ |
Stefan Holmer | f704468 | 2018-07-17 10:16:41 +0200 | [diff] [blame] | 133 | "rtp_payload_params.cc", |
| 134 | "rtp_payload_params.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 135 | "rtp_transport_controller_send.cc", |
| 136 | "rtp_transport_controller_send.h", |
Stefan Holmer | 9416ef8 | 2018-07-19 10:34:38 +0200 | [diff] [blame] | 137 | "rtp_video_sender.cc", |
| 138 | "rtp_video_sender.h", |
| 139 | "rtp_video_sender_interface.h", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 140 | ] |
| 141 | deps = [ |
Sebastian Jansson | 97f61ea | 2018-02-21 13:01:55 +0100 | [diff] [blame] | 142 | ":bitrate_configurator", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 143 | ":rtp_interfaces", |
Elad Alon | 898395d | 2019-04-10 15:55:00 +0200 | [diff] [blame] | 144 | "../api:array_view", |
Sebastian Jansson | 82ed2e8 | 2019-10-15 15:58:37 +0200 | [diff] [blame] | 145 | "../api:bitrate_allocation", |
Stefan Holmer | 64be7fa | 2018-10-04 15:21:55 +0200 | [diff] [blame] | 146 | "../api:fec_controller_api", |
Ying Wang | 0810a7c | 2019-04-10 13:48:24 +0200 | [diff] [blame] | 147 | "../api:network_state_predictor_api", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 148 | "../api:rtp_parameters", |
Stefan Holmer | dbdb3a0 | 2018-07-17 16:03:46 +0200 | [diff] [blame] | 149 | "../api:transport_api", |
Danil Chapovalov | 83bbe91 | 2019-08-07 12:24:53 +0200 | [diff] [blame] | 150 | "../api/rtc_event_log", |
Niels Möller | 5fe9510 | 2019-03-04 16:49:25 +0100 | [diff] [blame] | 151 | "../api/transport:field_trial_based_config", |
Sebastian Jansson | 87609be | 2018-12-05 17:35:35 +0100 | [diff] [blame] | 152 | "../api/transport:goog_cc", |
Sebastian Jansson | c6c4426 | 2018-05-09 10:33:39 +0200 | [diff] [blame] | 153 | "../api/transport:network_control", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 154 | "../api/units:data_rate", |
| 155 | "../api/units:time_delta", |
| 156 | "../api/units:timestamp", |
| 157 | "../api/video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 12:59:38 +0200 | [diff] [blame] | 158 | "../api/video:video_rtp_headers", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 159 | "../api/video_codecs:video_codecs_api", |
Sebastian Jansson | 166b45d | 2019-05-13 11:57:42 +0200 | [diff] [blame] | 160 | "../logging:rtc_event_bwe", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 161 | "../modules/congestion_controller", |
Sebastian Jansson | 87609be | 2018-12-05 17:35:35 +0100 | [diff] [blame] | 162 | "../modules/congestion_controller/rtp:control_handler", |
| 163 | "../modules/congestion_controller/rtp:transport_feedback", |
Niels Möller | fd6c091 | 2017-10-31 10:19:10 +0100 | [diff] [blame] | 164 | "../modules/pacing", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 165 | "../modules/rtp_rtcp", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 166 | "../modules/rtp_rtcp:rtp_rtcp_format", |
| 167 | "../modules/rtp_rtcp:rtp_video_header", |
Sebastian Jansson | c33c0fc | 2018-02-22 11:10:18 +0100 | [diff] [blame] | 168 | "../modules/utility", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 169 | "../modules/video_coding:codec_globals_headers", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 170 | "../modules/video_coding:video_codec_interface", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 171 | "../rtc_base", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 172 | "../rtc_base:checks", |
Stefan Holmer | dbdb3a0 | 2018-07-17 16:03:46 +0200 | [diff] [blame] | 173 | "../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 174 | "../rtc_base:rtc_base_approved", |
Sebastian Jansson | e625605 | 2018-05-04 14:08:15 +0200 | [diff] [blame] | 175 | "../rtc_base:rtc_task_queue", |
Sebastian Jansson | ecb6897 | 2019-01-18 10:30:54 +0100 | [diff] [blame] | 176 | "../rtc_base/task_utils:repeating_task", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 177 | "../system_wrappers:field_trial", |
Erik Språng | 845c6aa | 2019-05-29 13:02:24 +0200 | [diff] [blame] | 178 | "//third_party/abseil-cpp/absl/algorithm:container", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 179 | "//third_party/abseil-cpp/absl/container:inlined_vector", |
Erik Språng | 6cf554e | 2019-10-02 20:55:39 +0200 | [diff] [blame] | 180 | "//third_party/abseil-cpp/absl/strings:strings", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 181 | "//third_party/abseil-cpp/absl/types:optional", |
| 182 | "//third_party/abseil-cpp/absl/types:variant", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 183 | ] |
| 184 | } |
| 185 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 186 | rtc_library("bitrate_configurator") { |
Sebastian Jansson | df023aa | 2018-02-20 19:38:37 +0100 | [diff] [blame] | 187 | sources = [ |
| 188 | "rtp_bitrate_configurator.cc", |
| 189 | "rtp_bitrate_configurator.h", |
| 190 | ] |
| 191 | deps = [ |
| 192 | ":rtp_interfaces", |
Niels Möller | b4a6128 | 2019-08-29 12:16:56 +0200 | [diff] [blame] | 193 | |
| 194 | # For api/bitrate_constraints.h |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 195 | "../api:libjingle_peerconnection_api", |
Niels Möller | 0c4f7be | 2018-05-07 14:01:37 +0200 | [diff] [blame] | 196 | "../api/transport:bitrate_settings", |
Sebastian Jansson | df023aa | 2018-02-20 19:38:37 +0100 | [diff] [blame] | 197 | "../rtc_base:checks", |
| 198 | "../rtc_base:rtc_base_approved", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 199 | "//third_party/abseil-cpp/absl/types:optional", |
Sebastian Jansson | df023aa | 2018-02-20 19:38:37 +0100 | [diff] [blame] | 200 | ] |
| 201 | } |
| 202 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 203 | rtc_library("bitrate_allocator") { |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 204 | sources = [ |
mflodman | 0e7e259 | 2015-11-12 21:02:42 -0800 | [diff] [blame] | 205 | "bitrate_allocator.cc", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 206 | "bitrate_allocator.h", |
| 207 | ] |
| 208 | deps = [ |
Sebastian Jansson | 6736df1 | 2018-11-21 19:18:39 +0100 | [diff] [blame] | 209 | "../api:bitrate_allocation", |
Sebastian Jansson | 93b1ea2 | 2019-09-18 18:31:52 +0200 | [diff] [blame] | 210 | "../api/transport:network_control", |
Sebastian Jansson | 13e5903 | 2018-11-21 19:13:07 +0100 | [diff] [blame] | 211 | "../api/units:data_rate", |
| 212 | "../api/units:time_delta", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 213 | "../rtc_base:checks", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 214 | "../rtc_base:rtc_base_approved", |
Sebastian Jansson | 40de3cc | 2019-09-19 14:54:43 +0200 | [diff] [blame] | 215 | "../rtc_base:safe_minmax", |
Sebastian Jansson | b55015e | 2019-04-09 13:44:04 +0200 | [diff] [blame] | 216 | "../rtc_base/synchronization:sequence_checker", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 217 | "../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 218 | "../system_wrappers:field_trial", |
| 219 | "../system_wrappers:metrics", |
Sebastian Jansson | 4d461ba | 2019-09-17 20:53:26 +0200 | [diff] [blame] | 220 | "//third_party/abseil-cpp/absl/algorithm:container", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 221 | ] |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 222 | } |
| 223 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 224 | rtc_library("call") { |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 225 | sources = [ |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 226 | "call.cc", |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 227 | "call_factory.cc", |
| 228 | "call_factory.h", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 229 | "degraded_call.cc", |
| 230 | "degraded_call.h", |
brandtr | 7250b39 | 2016-12-19 01:13:46 -0800 | [diff] [blame] | 231 | "flexfec_receive_stream_impl.cc", |
| 232 | "flexfec_receive_stream_impl.h", |
Sebastian Jansson | b34556e | 2018-03-21 14:38:32 +0100 | [diff] [blame] | 233 | "receive_time_calculator.cc", |
| 234 | "receive_time_calculator.h", |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 235 | ] |
| 236 | |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 237 | deps = [ |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 238 | ":bitrate_allocator", |
ossu | f515ab8 | 2016-12-07 04:52:58 -0800 | [diff] [blame] | 239 | ":call_interfaces", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 240 | ":fake_network", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 241 | ":rtp_interfaces", |
| 242 | ":rtp_receiver", |
| 243 | ":rtp_sender", |
Artem Titov | 3229d65 | 2018-08-17 13:00:54 +0200 | [diff] [blame] | 244 | ":simulated_network", |
Stefan Holmer | 1acbd68 | 2017-09-01 15:29:28 +0200 | [diff] [blame] | 245 | ":video_stream_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 246 | "../api:array_view", |
Niels Möller | 8366e17 | 2018-02-14 12:20:13 +0100 | [diff] [blame] | 247 | "../api:callfactory_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 248 | "../api:fec_controller_api", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 249 | "../api:rtp_headers", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 250 | "../api:rtp_parameters", |
Artem Titov | 3229d65 | 2018-08-17 13:00:54 +0200 | [diff] [blame] | 251 | "../api:simulated_network_api", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 252 | "../api:transport_api", |
Danil Chapovalov | 83bbe91 | 2019-08-07 12:24:53 +0200 | [diff] [blame] | 253 | "../api/rtc_event_log", |
Sebastian Jansson | c6c4426 | 2018-05-09 10:33:39 +0200 | [diff] [blame] | 254 | "../api/transport:network_control", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 255 | "../api/units:time_delta", |
| 256 | "../api/video_codecs:video_codecs_api", |
katrielc | 14897d0 | 2016-06-03 13:14:28 -0700 | [diff] [blame] | 257 | "../audio", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame] | 258 | "../logging:rtc_event_audio", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame] | 259 | "../logging:rtc_event_rtp_rtcp", |
| 260 | "../logging:rtc_event_video", |
| 261 | "../logging:rtc_stream_config", |
Sebastian Jansson | 836fee1 | 2019-02-08 16:08:10 +0100 | [diff] [blame] | 262 | "../modules:module_api", |
Stefan Holmer | 80e1207 | 2016-02-23 13:30:42 +0100 | [diff] [blame] | 263 | "../modules/congestion_controller", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 264 | "../modules/pacing", |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 265 | "../modules/rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 266 | "../modules/rtp_rtcp:rtp_rtcp_format", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 267 | "../modules/utility", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 268 | "../modules/video_coding", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 269 | "../rtc_base:checks", |
Sebastian Jansson | 45087cd | 2018-03-01 15:56:57 +0100 | [diff] [blame] | 270 | "../rtc_base:rate_limiter", |
mbonadei | 95c8f65 | 2017-08-27 23:40:10 -0700 | [diff] [blame] | 271 | "../rtc_base:rtc_base_approved", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 272 | "../rtc_base:rtc_task_queue", |
Sebastian Jansson | 19704ec | 2018-03-12 15:59:12 +0100 | [diff] [blame] | 273 | "../rtc_base:safe_minmax", |
Christoffer Rodbro | 76ad154 | 2018-10-12 11:15:09 +0200 | [diff] [blame] | 274 | "../rtc_base/experiments:field_trial_parser", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 275 | "../rtc_base/network:sent_packet", |
Karl Wiberg | 2b85792 | 2018-03-23 14:53:54 +0100 | [diff] [blame] | 276 | "../rtc_base/synchronization:rw_lock_wrapper", |
Sebastian Jansson | b55015e | 2019-04-09 13:44:04 +0200 | [diff] [blame] | 277 | "../rtc_base/synchronization:sequence_checker", |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 278 | "../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 279 | "../system_wrappers:field_trial", |
| 280 | "../system_wrappers:metrics", |
katrielc | 14897d0 | 2016-06-03 13:14:28 -0700 | [diff] [blame] | 281 | "../video", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 282 | "//third_party/abseil-cpp/absl/types:optional", |
Peter Boström | 5c389d3 | 2015-09-25 13:58:30 +0200 | [diff] [blame] | 283 | ] |
| 284 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 285 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 286 | rtc_library("video_stream_api") { |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 287 | sources = [ |
| 288 | "video_receive_stream.cc", |
| 289 | "video_receive_stream.h", |
| 290 | "video_send_stream.cc", |
| 291 | "video_send_stream.h", |
| 292 | ] |
| 293 | deps = [ |
Stefan Holmer | 1acbd68 | 2017-09-01 15:29:28 +0200 | [diff] [blame] | 294 | ":rtp_interfaces", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 295 | "../api:rtp_headers", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 296 | "../api:rtp_parameters", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 297 | "../api:transport_api", |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 298 | "../api/crypto:frame_decryptor_interface", |
| 299 | "../api/crypto:frame_encryptor_interface", |
| 300 | "../api/crypto:options", |
Niels Möller | a837030 | 2019-09-02 15:16:49 +0200 | [diff] [blame] | 301 | "../api/transport/rtp:rtp_source", |
Markus Handell | 269ac81 | 2019-12-03 14:31:45 +0100 | [diff] [blame] | 302 | "../api/video:recordable_encoded_frame", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 303 | "../api/video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 12:59:38 +0200 | [diff] [blame] | 304 | "../api/video:video_rtp_headers", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 305 | "../api/video:video_stream_encoder", |
Niels Möller | 88614b0 | 2018-03-27 16:39:01 +0200 | [diff] [blame] | 306 | "../api/video_codecs:video_codecs_api", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 307 | "../common_video", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 308 | "../modules/rtp_rtcp:rtp_rtcp_format", |
Patrik Höglund | 9e19403 | 2018-01-04 15:58:20 +0100 | [diff] [blame] | 309 | "../rtc_base:checks", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 310 | "../rtc_base:rtc_base_approved", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 311 | "//third_party/abseil-cpp/absl/types:optional", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 312 | ] |
| 313 | } |
| 314 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 315 | rtc_library("simulated_network") { |
Sebastian Jansson | f96b1ca | 2018-08-07 18:58:05 +0200 | [diff] [blame] | 316 | sources = [ |
| 317 | "simulated_network.cc", |
| 318 | "simulated_network.h", |
| 319 | ] |
| 320 | deps = [ |
| 321 | "../api:simulated_network_api", |
Sebastian Jansson | 2cd3b4c | 2018-11-06 19:18:28 +0100 | [diff] [blame] | 322 | "../api/units:data_rate", |
| 323 | "../api/units:data_size", |
| 324 | "../api/units:time_delta", |
Sebastian Jansson | 2b08e31 | 2019-02-25 10:24:46 +0100 | [diff] [blame] | 325 | "../api/units:timestamp", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 326 | "../rtc_base:checks", |
Sebastian Jansson | f96b1ca | 2018-08-07 18:58:05 +0200 | [diff] [blame] | 327 | "../rtc_base:rtc_base_approved", |
Sebastian Jansson | b55015e | 2019-04-09 13:44:04 +0200 | [diff] [blame] | 328 | "../rtc_base/synchronization:sequence_checker", |
Sebastian Jansson | f96b1ca | 2018-08-07 18:58:05 +0200 | [diff] [blame] | 329 | "//third_party/abseil-cpp/absl/types:optional", |
| 330 | ] |
| 331 | } |
| 332 | |
Artem Titov | 46c4e60 | 2018-08-17 14:26:54 +0200 | [diff] [blame] | 333 | rtc_source_set("simulated_packet_receiver") { |
Mirko Bonadei | ccbe95f | 2020-01-21 12:10:10 +0100 | [diff] [blame] | 334 | sources = [ "simulated_packet_receiver.h" ] |
Artem Titov | 46c4e60 | 2018-08-17 14:26:54 +0200 | [diff] [blame] | 335 | deps = [ |
| 336 | ":call_interfaces", |
| 337 | "../api:simulated_network_api", |
Artem Titov | 46c4e60 | 2018-08-17 14:26:54 +0200 | [diff] [blame] | 338 | ] |
| 339 | } |
| 340 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 341 | rtc_library("fake_network") { |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 342 | sources = [ |
| 343 | "fake_network_pipe.cc", |
| 344 | "fake_network_pipe.h", |
| 345 | ] |
| 346 | deps = [ |
| 347 | ":call_interfaces", |
Sebastian Jansson | f96b1ca | 2018-08-07 18:58:05 +0200 | [diff] [blame] | 348 | ":simulated_network", |
Artem Titov | 46c4e60 | 2018-08-17 14:26:54 +0200 | [diff] [blame] | 349 | ":simulated_packet_receiver", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 350 | "../api:rtp_parameters", |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 351 | "../api:simulated_network_api", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 352 | "../api:transport_api", |
Sebastian Jansson | 7182286 | 2018-10-30 08:23:27 +0100 | [diff] [blame] | 353 | "../modules/utility", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 354 | "../rtc_base:checks", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 355 | "../rtc_base:rtc_base_approved", |
Sebastian Jansson | b55015e | 2019-04-09 13:44:04 +0200 | [diff] [blame] | 356 | "../rtc_base/synchronization:sequence_checker", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 357 | "../system_wrappers", |
| 358 | ] |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 359 | } |
| 360 | |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 361 | if (rtc_include_tests) { |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 362 | rtc_library("call_tests") { |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 363 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 364 | |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 365 | sources = [ |
| 366 | "bitrate_allocator_unittest.cc", |
| 367 | "bitrate_estimator_tests.cc", |
| 368 | "call_unittest.cc", |
brandtr | 76648da | 2016-10-20 04:54:48 -0700 | [diff] [blame] | 369 | "flexfec_receive_stream_unittest.cc", |
Sebastian Jansson | b34556e | 2018-03-21 14:38:32 +0100 | [diff] [blame] | 370 | "receive_time_calculator_unittest.cc", |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 371 | "rtcp_demuxer_unittest.cc", |
Sebastian Jansson | df023aa | 2018-02-20 19:38:37 +0100 | [diff] [blame] | 372 | "rtp_bitrate_configurator_unittest.cc", |
eladalon | 760a076 | 2017-05-31 09:12:25 -0700 | [diff] [blame] | 373 | "rtp_demuxer_unittest.cc", |
Stefan Holmer | f704468 | 2018-07-17 10:16:41 +0200 | [diff] [blame] | 374 | "rtp_payload_params_unittest.cc", |
eladalon | a52722f | 2017-06-26 11:23:54 -0700 | [diff] [blame] | 375 | "rtp_rtcp_demuxer_helper_unittest.cc", |
Stefan Holmer | 9416ef8 | 2018-07-19 10:34:38 +0200 | [diff] [blame] | 376 | "rtp_video_sender_unittest.cc", |
nisse | eed52bf | 2017-05-19 06:15:19 -0700 | [diff] [blame] | 377 | "rtx_receive_stream_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 378 | ] |
| 379 | deps = [ |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 380 | ":bitrate_allocator", |
Sebastian Jansson | df023aa | 2018-02-20 19:38:37 +0100 | [diff] [blame] | 381 | ":bitrate_configurator", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 382 | ":call", |
Mirko Bonadei | a0e1a55 | 2017-12-04 10:50:51 +0100 | [diff] [blame] | 383 | ":call_interfaces", |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 384 | ":mock_rtp_interfaces", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 385 | ":rtp_interfaces", |
| 386 | ":rtp_receiver", |
| 387 | ":rtp_sender", |
Artem Titov | dd2eebe | 2018-08-20 13:27:45 +0200 | [diff] [blame] | 388 | ":simulated_network", |
kwiberg | 529662a | 2017-09-04 05:43:17 -0700 | [diff] [blame] | 389 | "../api:array_view", |
Artem Titov | 33f9d2b | 2019-12-05 15:59:00 +0100 | [diff] [blame] | 390 | "../api:create_frame_generator", |
ossu | c3d4b48 | 2017-05-23 06:07:11 -0700 | [diff] [blame] | 391 | "../api:mock_audio_mixer", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 392 | "../api:rtp_headers", |
Niels Möller | 6dcd4dc | 2019-08-26 10:45:28 +0200 | [diff] [blame] | 393 | "../api:rtp_parameters", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 394 | "../api:transport_api", |
Karl Wiberg | f3850f6 | 2017-11-02 13:04:41 +0100 | [diff] [blame] | 395 | "../api/audio_codecs:builtin_audio_decoder_factory", |
Danil Chapovalov | 83bbe91 | 2019-08-07 12:24:53 +0200 | [diff] [blame] | 396 | "../api/rtc_event_log", |
Danil Chapovalov | d3ba236 | 2019-04-10 17:01:23 +0200 | [diff] [blame] | 397 | "../api/task_queue:default_task_queue_factory", |
Erik Språng | 014dd3c | 2019-11-28 13:44:25 +0100 | [diff] [blame] | 398 | "../api/transport:field_trial_based_config", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 399 | "../api/video:video_frame", |
Chen Xing | 5d24b16 | 2019-06-10 12:59:38 +0200 | [diff] [blame] | 400 | "../api/video:video_rtp_headers", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 401 | "../audio", |
aleloi | dd31071 | 2016-11-17 06:28:59 -0800 | [diff] [blame] | 402 | "../modules/audio_device:mock_audio_device", |
aleloi | 10111bc | 2016-11-17 06:48:48 -0800 | [diff] [blame] | 403 | "../modules/audio_mixer", |
Mirko Bonadei | 03d6f2f | 2017-12-05 15:33:16 +0100 | [diff] [blame] | 404 | "../modules/audio_mixer:audio_mixer_impl", |
Patrik Höglund | 6213929 | 2017-12-19 16:44:45 +0100 | [diff] [blame] | 405 | "../modules/audio_processing:mocks", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 406 | "../modules/congestion_controller", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 407 | "../modules/pacing", |
| 408 | "../modules/rtp_rtcp", |
danilchap | 2d9d21f | 2017-05-10 08:41:13 -0700 | [diff] [blame] | 409 | "../modules/rtp_rtcp:mock_rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 410 | "../modules/rtp_rtcp:rtp_rtcp_format", |
mbonadei | 5166e54 | 2017-08-03 05:57:11 -0700 | [diff] [blame] | 411 | "../modules/utility:mock_process_thread", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 412 | "../modules/video_coding", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 413 | "../modules/video_coding:codec_globals_headers", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 414 | "../modules/video_coding:video_codec_interface", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 415 | "../rtc_base:checks", |
Stefan Holmer | dbdb3a0 | 2018-07-17 16:03:46 +0200 | [diff] [blame] | 416 | "../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 417 | "../rtc_base:rtc_base_approved", |
Danil Chapovalov | 82a3f0a | 2019-10-21 09:24:27 +0200 | [diff] [blame] | 418 | "../rtc_base:task_queue_for_test", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 419 | "../system_wrappers", |
kwiberg | 37e99fd | 2017-04-10 05:15:48 -0700 | [diff] [blame] | 420 | "../test:audio_codec_mocks", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 421 | "../test:direct_transport", |
Danil Chapovalov | ce92817 | 2019-04-24 18:17:42 +0200 | [diff] [blame] | 422 | "../test:encoder_settings", |
Ilya Nikolaevskiy | b0588e6 | 2018-08-27 14:12:27 +0200 | [diff] [blame] | 423 | "../test:fake_video_codecs", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 424 | "../test:field_trial", |
aleloi | 10111bc | 2016-11-17 06:48:48 -0800 | [diff] [blame] | 425 | "../test:test_common", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 426 | "../test:test_support", |
| 427 | "../test:video_test_common", |
Erik Språng | 00cc836 | 2019-11-25 12:21:46 +0100 | [diff] [blame] | 428 | "../test/time_controller:time_controller", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 429 | "../video", |
Sebastian Jansson | 3d4d94a | 2020-01-14 14:25:41 +0100 | [diff] [blame] | 430 | "//test/scenario:scenario", |
Ilya Nikolaevskiy | b0588e6 | 2018-08-27 14:12:27 +0200 | [diff] [blame] | 431 | "//testing/gmock", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 432 | "//testing/gtest", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 433 | "//third_party/abseil-cpp/absl/container:inlined_vector", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 434 | "//third_party/abseil-cpp/absl/memory", |
Yves Gerey | 69807e8 | 2018-10-30 22:23:02 +0100 | [diff] [blame] | 435 | "//third_party/abseil-cpp/absl/types:optional", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 436 | ] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 437 | } |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 438 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 439 | rtc_library("call_perf_tests") { |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 440 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 441 | |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 442 | sources = [ |
| 443 | "call_perf_tests.cc", |
| 444 | "rampup_tests.cc", |
| 445 | "rampup_tests.h", |
| 446 | ] |
| 447 | deps = [ |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 448 | ":call_interfaces", |
Artem Titov | 4e199e9 | 2018-08-20 13:30:39 +0200 | [diff] [blame] | 449 | ":simulated_network", |
Stefan Holmer | 1acbd68 | 2017-09-01 15:29:28 +0200 | [diff] [blame] | 450 | ":video_stream_api", |
Niels Möller | d8b9ed7 | 2019-05-08 13:53:51 +0200 | [diff] [blame] | 451 | "../api:rtc_event_log_output_file", |
Artem Titov | 46c4e60 | 2018-08-17 14:26:54 +0200 | [diff] [blame] | 452 | "../api:simulated_network_api", |
ossu | eb1fde4 | 2017-05-02 06:46:30 -0700 | [diff] [blame] | 453 | "../api/audio_codecs:builtin_audio_encoder_factory", |
Danil Chapovalov | 83bbe91 | 2019-08-07 12:24:53 +0200 | [diff] [blame] | 454 | "../api/rtc_event_log", |
Danil Chapovalov | 4ba04b7 | 2019-06-26 15:49:47 +0200 | [diff] [blame] | 455 | "../api/rtc_event_log:rtc_event_log_factory", |
Danil Chapovalov | 304ea5f | 2019-04-11 15:18:18 +0200 | [diff] [blame] | 456 | "../api/task_queue", |
| 457 | "../api/task_queue:default_task_queue_factory", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 458 | "../api/video:builtin_video_bitrate_allocator_factory", |
Erik Språng | ef75ebe | 2018-05-15 15:18:36 +0200 | [diff] [blame] | 459 | "../api/video:video_bitrate_allocation", |
Niels Möller | 0a8f435 | 2018-05-18 11:37:23 +0200 | [diff] [blame] | 460 | "../api/video_codecs:video_codecs_api", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 461 | "../modules/audio_coding", |
Artem Titov | 3faa832 | 2018-03-07 14:44:00 +0100 | [diff] [blame] | 462 | "../modules/audio_device", |
Paulina Hensman | 7bd79a0 | 2018-03-15 12:44:12 +0100 | [diff] [blame] | 463 | "../modules/audio_device:audio_device_impl", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 464 | "../modules/audio_mixer:audio_mixer_impl", |
| 465 | "../modules/rtp_rtcp", |
Danil Chapovalov | 1b4e4bf | 2019-12-06 12:34:57 +0100 | [diff] [blame] | 466 | "../modules/rtp_rtcp:rtp_rtcp_format", |
Niels Möller | a837030 | 2019-09-02 15:16:49 +0200 | [diff] [blame] | 467 | "../rtc_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 468 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 469 | "../rtc_base:rtc_base_approved", |
Danil Chapovalov | 82a3f0a | 2019-10-21 09:24:27 +0200 | [diff] [blame] | 470 | "../rtc_base:task_queue_for_test", |
Danil Chapovalov | 9f5ae7b | 2019-10-21 11:08:13 +0200 | [diff] [blame] | 471 | "../rtc_base:task_queue_for_test", |
| 472 | "../rtc_base/task_utils:repeating_task", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 473 | "../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 474 | "../system_wrappers:metrics", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 475 | "../test:direct_transport", |
Danil Chapovalov | ce92817 | 2019-04-24 18:17:42 +0200 | [diff] [blame] | 476 | "../test:encoder_settings", |
Ilya Nikolaevskiy | b0588e6 | 2018-08-27 14:12:27 +0200 | [diff] [blame] | 477 | "../test:fake_video_codecs", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 478 | "../test:field_trial", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 479 | "../test:fileutils", |
Danil Chapovalov | ce92817 | 2019-04-24 18:17:42 +0200 | [diff] [blame] | 480 | "../test:null_transport", |
Edward Lemur | e66572b | 2018-01-05 15:34:09 +0100 | [diff] [blame] | 481 | "../test:perf_test", |
Tommi | 25eb47c | 2019-08-29 16:39:05 +0200 | [diff] [blame] | 482 | "../test:rtp_test_utils", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 483 | "../test:test_common", |
kjellander | 2f1a555 | 2017-02-27 15:57:45 -0800 | [diff] [blame] | 484 | "../test:test_support", |
| 485 | "../test:video_test_common", |
| 486 | "../video", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 487 | "//testing/gtest", |
Mirko Bonadei | 2ab97f6 | 2019-07-18 13:44:12 +0200 | [diff] [blame] | 488 | "//third_party/abseil-cpp/absl/flags:flag", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 489 | ] |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 490 | } |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 491 | |
| 492 | # TODO(eladalon): This should be moved, as with the TODO for |rtp_interfaces|. |
| 493 | rtc_source_set("mock_rtp_interfaces") { |
| 494 | testonly = true |
| 495 | |
| 496 | sources = [ |
| 497 | "test/mock_rtp_packet_sink_interface.h", |
Sebastian Jansson | 8f83b42 | 2018-02-21 13:07:13 +0100 | [diff] [blame] | 498 | "test/mock_rtp_transport_controller_send.h", |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 499 | ] |
| 500 | deps = [ |
| 501 | ":rtp_interfaces", |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 502 | "../api:libjingle_peerconnection_api", |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 503 | "../api/crypto:frame_encryptor_interface", |
| 504 | "../api/crypto:options", |
Mirko Bonadei | 738bfa7 | 2019-09-17 14:47:38 +0200 | [diff] [blame] | 505 | "../api/transport:bitrate_settings", |
Sebastian Jansson | 35dd6cd | 2018-02-21 17:30:36 +0100 | [diff] [blame] | 506 | "../modules/pacing", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 507 | "../rtc_base", |
Sebastian Jansson | 35dd6cd | 2018-02-21 17:30:36 +0100 | [diff] [blame] | 508 | "../rtc_base:rate_limiter", |
Sebastian Jansson | 1298541 | 2018-10-15 21:06:26 +0200 | [diff] [blame] | 509 | "../rtc_base/network:sent_packet", |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 510 | "../test:test_support", |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 511 | ] |
| 512 | } |
Sebastian Jansson | 8326780 | 2018-04-19 08:27:19 +0200 | [diff] [blame] | 513 | rtc_source_set("mock_bitrate_allocator") { |
| 514 | testonly = true |
Fredrik Solenberg | 2a87797 | 2017-12-15 16:42:15 +0100 | [diff] [blame] | 515 | |
Mirko Bonadei | ccbe95f | 2020-01-21 12:10:10 +0100 | [diff] [blame] | 516 | sources = [ "test/mock_bitrate_allocator.h" ] |
Sebastian Jansson | 8326780 | 2018-04-19 08:27:19 +0200 | [diff] [blame] | 517 | deps = [ |
| 518 | ":bitrate_allocator", |
Yves Gerey | 21cddff | 2018-10-30 21:12:42 +0100 | [diff] [blame] | 519 | "../test:test_support", |
Sebastian Jansson | 8326780 | 2018-04-19 08:27:19 +0200 | [diff] [blame] | 520 | ] |
| 521 | } |
Fredrik Solenberg | 2a87797 | 2017-12-15 16:42:15 +0100 | [diff] [blame] | 522 | rtc_source_set("mock_call_interfaces") { |
| 523 | testonly = true |
| 524 | |
Mirko Bonadei | ccbe95f | 2020-01-21 12:10:10 +0100 | [diff] [blame] | 525 | sources = [ "test/mock_audio_send_stream.h" ] |
Fredrik Solenberg | 2a87797 | 2017-12-15 16:42:15 +0100 | [diff] [blame] | 526 | deps = [ |
| 527 | ":call_interfaces", |
Yves Gerey | 21cddff | 2018-10-30 21:12:42 +0100 | [diff] [blame] | 528 | "../test:test_support", |
Fredrik Solenberg | 2a87797 | 2017-12-15 16:42:15 +0100 | [diff] [blame] | 529 | ] |
| 530 | } |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 531 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 532 | rtc_library("fake_network_pipe_unittests") { |
Sebastian Jansson | 487c09b | 2019-02-21 16:21:51 +0100 | [diff] [blame] | 533 | testonly = true |
| 534 | |
Artem Titov | 40a7a35 | 2018-10-15 15:25:34 +0200 | [diff] [blame] | 535 | sources = [ |
Sebastian Jansson | 487c09b | 2019-02-21 16:21:51 +0100 | [diff] [blame] | 536 | "fake_network_pipe_unittest.cc", |
Sebastian Jansson | 2b08e31 | 2019-02-25 10:24:46 +0100 | [diff] [blame] | 537 | "simulated_network_unittest.cc", |
Artem Titov | 40a7a35 | 2018-10-15 15:25:34 +0200 | [diff] [blame] | 538 | ] |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 539 | deps = [ |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 540 | ":fake_network", |
Artem Titov | e23b8a9 | 2018-08-16 15:51:07 +0200 | [diff] [blame] | 541 | ":simulated_network", |
Sebastian Jansson | 2b08e31 | 2019-02-25 10:24:46 +0100 | [diff] [blame] | 542 | "../api/units:data_rate", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 543 | "../system_wrappers", |
Yves Gerey | 21cddff | 2018-10-30 21:12:42 +0100 | [diff] [blame] | 544 | "../test:test_support", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 545 | "//testing/gtest", |
Sebastian Jansson | 2b08e31 | 2019-02-25 10:24:46 +0100 | [diff] [blame] | 546 | "//third_party/abseil-cpp/absl/algorithm:container", |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 547 | ] |
Erik Språng | 0970851 | 2018-03-14 15:16:50 +0100 | [diff] [blame] | 548 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 549 | } |