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