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