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