kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # Copyright (c) 2014 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") |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 10 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 11 | rtc_static_library("video") { |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 12 | sources = [ |
Benjamin Wright | 0076529 | 2018-11-30 16:18:26 -0800 | [diff] [blame] | 13 | "buffered_frame_decryptor.cc", |
| 14 | "buffered_frame_decryptor.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 15 | "call_stats.cc", |
| 16 | "call_stats.h", |
Niels Möller | fa89d84 | 2019-01-30 16:33:45 +0100 | [diff] [blame] | 17 | "encoder_key_frame_callback.cc", |
| 18 | "encoder_key_frame_callback.h", |
palmkvist | 349092b | 2016-12-13 02:45:57 -0800 | [diff] [blame] | 19 | "quality_threshold.cc", |
| 20 | "quality_threshold.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 21 | "receive_statistics_proxy.cc", |
| 22 | "receive_statistics_proxy.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 23 | "report_block_stats.cc", |
| 24 | "report_block_stats.h", |
mflodman | 4cd2790 | 2016-08-05 06:28:45 -0700 | [diff] [blame] | 25 | "rtp_streams_synchronizer.cc", |
| 26 | "rtp_streams_synchronizer.h", |
nisse | b1f2ff9 | 2017-06-09 04:01:55 -0700 | [diff] [blame] | 27 | "rtp_video_stream_receiver.cc", |
| 28 | "rtp_video_stream_receiver.h", |
asapersson | 35151f3 | 2016-05-02 23:44:01 -0700 | [diff] [blame] | 29 | "send_delay_stats.cc", |
| 30 | "send_delay_stats.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 31 | "send_statistics_proxy.cc", |
| 32 | "send_statistics_proxy.h", |
asapersson | 0e9d6d9 | 2016-05-23 06:07:55 -0700 | [diff] [blame] | 33 | "stats_counter.cc", |
| 34 | "stats_counter.h", |
Peter Boström | 7623ce4 | 2015-12-09 12:13:30 +0100 | [diff] [blame] | 35 | "stream_synchronization.cc", |
| 36 | "stream_synchronization.h", |
charujain | bf6a45b | 2016-11-03 04:21:42 -0700 | [diff] [blame] | 37 | "transport_adapter.cc", |
| 38 | "transport_adapter.h", |
Ilya Nikolaevskiy | 94150ee | 2018-05-23 11:53:19 +0200 | [diff] [blame] | 39 | "video_quality_observer.cc", |
| 40 | "video_quality_observer.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 41 | "video_receive_stream.cc", |
| 42 | "video_receive_stream.h", |
| 43 | "video_send_stream.cc", |
| 44 | "video_send_stream.h", |
Sebastian Jansson | 8e0b15b | 2018-04-18 19:19:22 +0200 | [diff] [blame] | 45 | "video_send_stream_impl.cc", |
| 46 | "video_send_stream_impl.h", |
mflodman | cfc8e3b | 2016-05-03 21:22:04 -0700 | [diff] [blame] | 47 | "video_stream_decoder.cc", |
| 48 | "video_stream_decoder.h", |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 49 | ] |
| 50 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 51 | if (!build_with_chromium && is_clang) { |
| 52 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 53 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 788f058 | 2014-08-28 13:51:08 +0000 | [diff] [blame] | 54 | } |
| 55 | |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 56 | deps = [ |
Erik Språng | 96965ae | 2018-10-23 15:42:37 +0200 | [diff] [blame] | 57 | ":frame_dumping_decoder", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 58 | "..:webrtc_common", |
| 59 | "../api:array_view", |
Ying Wang | 3b790f3 | 2018-01-19 17:58:57 +0100 | [diff] [blame] | 60 | "../api:fec_controller_api", |
Patrik Höglund | be214a2 | 2018-01-04 12:14:35 +0100 | [diff] [blame] | 61 | "../api:libjingle_peerconnection_api", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 62 | "../api:scoped_refptr", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 63 | "../api:transport_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 64 | "../api/video:encoded_image", |
| 65 | "../api/video:video_bitrate_allocation", |
Jiawei Ou | 4206a0a | 2018-07-20 15:49:43 -0700 | [diff] [blame] | 66 | "../api/video:video_bitrate_allocator", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 67 | "../api/video:video_frame", |
| 68 | "../api/video:video_frame_i420", |
Niels Möller | 0327c2d | 2018-05-21 14:09:31 +0200 | [diff] [blame] | 69 | "../api/video:video_stream_encoder", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 70 | "../api/video:video_stream_encoder_create", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 71 | "../api/video_codecs:video_codecs_api", |
Mirko Bonadei | 245660a | 2017-10-10 14:38:11 +0200 | [diff] [blame] | 72 | "../call:bitrate_allocator", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 73 | "../call:call_interfaces", |
nisse | d76b7b2 | 2017-06-01 04:02:35 -0700 | [diff] [blame] | 74 | "../call:rtp_interfaces", |
Stefan Holmer | a2f1533 | 2018-07-11 17:11:31 +0200 | [diff] [blame] | 75 | "../call:rtp_sender", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 76 | "../call:video_stream_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 77 | "../media:rtc_h264_profile_id", |
| 78 | "../modules:module_api_public", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 79 | "../modules/rtp_rtcp:rtp_rtcp_format", |
philipel | 1a4746a | 2018-07-09 15:52:29 +0200 | [diff] [blame] | 80 | "../modules/rtp_rtcp:rtp_video_header", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 81 | "../modules/video_coding:codec_globals_headers", |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 82 | "../modules/video_coding:nack_module", |
| 83 | "../modules/video_coding:packet", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 84 | "../modules/video_coding:video_codec_interface", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 85 | "../rtc_base:checks", |
Stefan Holmer | dbdb3a0 | 2018-07-17 16:03:46 +0200 | [diff] [blame] | 86 | "../rtc_base:rate_limiter", |
Tommi | fef0500 | 2018-02-27 13:51:08 +0100 | [diff] [blame] | 87 | "../rtc_base:stringutils", |
Sebastian Jansson | cabe383 | 2018-01-12 10:54:18 +0100 | [diff] [blame] | 88 | "../rtc_base/experiments:alr_experiment", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 89 | "../rtc_base/experiments:quality_scaling_experiment", |
Erik Språng | cd76eab | 2019-01-21 18:06:46 +0100 | [diff] [blame] | 90 | "../rtc_base/experiments:rate_control_settings", |
Karl Wiberg | 80ba333 | 2018-02-05 10:33:35 +0100 | [diff] [blame] | 91 | "../rtc_base/system:fallthrough", |
Sebastian Jansson | ecb6897 | 2019-01-18 10:30:54 +0100 | [diff] [blame] | 92 | "../rtc_base/task_utils:repeating_task", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 93 | "../system_wrappers:field_trial", |
| 94 | "../system_wrappers:metrics", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 95 | "//third_party/abseil-cpp/absl/memory", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 96 | "//third_party/abseil-cpp/absl/types:optional", |
nisse | ca5706d | 2017-09-11 02:32:16 -0700 | [diff] [blame] | 97 | |
| 98 | # For RtxReceiveStream. |
| 99 | "../call:rtp_receiver", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 100 | "../common_video", |
skvlad | cc91d28 | 2016-10-03 18:31:22 -0700 | [diff] [blame] | 101 | "../logging:rtc_event_log_api", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 102 | "../modules:module_api", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 103 | "../modules/bitrate_controller", |
sprang | ebbf8a8 | 2015-09-21 15:11:14 -0700 | [diff] [blame] | 104 | "../modules/pacing", |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 105 | "../modules/remote_bitrate_estimator", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 106 | "../modules/rtp_rtcp", |
| 107 | "../modules/utility", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 108 | "../modules/video_coding", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 109 | "../modules/video_coding:video_coding_utility", |
Peter Boström | 2ee2439 | 2015-06-22 07:57:16 +0200 | [diff] [blame] | 110 | "../modules/video_processing", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 111 | "../rtc_base:rtc_base_approved", |
| 112 | "../rtc_base:rtc_numerics", |
| 113 | "../rtc_base:rtc_task_queue", |
| 114 | "../rtc_base:sequenced_task_checker", |
| 115 | "../rtc_base:weak_ptr", |
Karl Wiberg | 76b7f51 | 2018-03-22 15:29:03 +0100 | [diff] [blame] | 116 | "../rtc_base/time:timestamp_extrapolator", |
kjellander | 8237abf | 2015-12-08 07:12:06 -0800 | [diff] [blame] | 117 | "../system_wrappers", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 118 | ] |
Dan Minor | 9c68613 | 2018-01-15 10:20:00 -0500 | [diff] [blame] | 119 | |
| 120 | if (!build_with_mozilla) { |
| 121 | deps += [ "../media:rtc_media_base" ] |
| 122 | } |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 123 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 124 | |
philipel | 2fee4d6 | 2018-03-21 16:52:13 +0100 | [diff] [blame] | 125 | rtc_source_set("video_stream_decoder_impl") { |
| 126 | visibility = [ "*" ] |
Anders Carlsson | 51e23ae | 2018-05-24 13:31:30 +0200 | [diff] [blame] | 127 | |
philipel | 2fee4d6 | 2018-03-21 16:52:13 +0100 | [diff] [blame] | 128 | sources = [ |
| 129 | "video_stream_decoder_impl.cc", |
| 130 | "video_stream_decoder_impl.h", |
| 131 | ] |
| 132 | |
| 133 | deps = [ |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 134 | "../api/video:encoded_frame", |
| 135 | "../api/video:video_frame", |
| 136 | "../api/video:video_stream_decoder", |
philipel | 2fee4d6 | 2018-03-21 16:52:13 +0100 | [diff] [blame] | 137 | "../api/video_codecs:video_codecs_api", |
philipel | 9718711 | 2018-03-23 10:43:21 +0100 | [diff] [blame] | 138 | "../modules/video_coding:video_coding", |
philipel | 2fee4d6 | 2018-03-21 16:52:13 +0100 | [diff] [blame] | 139 | "../rtc_base:rtc_base_approved", |
philipel | 9718711 | 2018-03-23 10:43:21 +0100 | [diff] [blame] | 140 | "../rtc_base:rtc_task_queue_api", |
| 141 | "../system_wrappers:system_wrappers", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 142 | "//third_party/abseil-cpp/absl/memory", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 143 | "//third_party/abseil-cpp/absl/types:optional", |
philipel | 2fee4d6 | 2018-03-21 16:52:13 +0100 | [diff] [blame] | 144 | ] |
philipel | 2fee4d6 | 2018-03-21 16:52:13 +0100 | [diff] [blame] | 145 | } |
| 146 | |
Erik Språng | 96965ae | 2018-10-23 15:42:37 +0200 | [diff] [blame] | 147 | rtc_source_set("frame_dumping_decoder") { |
| 148 | visibility = [ "*" ] |
| 149 | |
| 150 | sources = [ |
| 151 | "frame_dumping_decoder.cc", |
| 152 | "frame_dumping_decoder.h", |
| 153 | ] |
| 154 | |
| 155 | deps = [ |
| 156 | "../api/video:encoded_frame", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 157 | "../api/video:encoded_image", |
Erik Språng | 96965ae | 2018-10-23 15:42:37 +0200 | [diff] [blame] | 158 | "../api/video_codecs:video_codecs_api", |
| 159 | "../modules/video_coding:video_codec_interface", |
| 160 | "../modules/video_coding:video_coding", |
| 161 | "../modules/video_coding:video_coding_utility", |
| 162 | "../rtc_base:rtc_base_approved", |
| 163 | "//third_party/abseil-cpp/absl/memory", |
| 164 | ] |
| 165 | } |
| 166 | |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 167 | rtc_source_set("video_stream_encoder_impl") { |
| 168 | visibility = [ "*" ] |
| 169 | |
| 170 | # visibility = [ "../api/video:video_stream_encoder_create" ] |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 171 | sources = [ |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 172 | "encoder_bitrate_adjuster.cc", |
| 173 | "encoder_bitrate_adjuster.h", |
| 174 | "encoder_overshoot_detector.cc", |
| 175 | "encoder_overshoot_detector.h", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 176 | "overuse_frame_detector.cc", |
| 177 | "overuse_frame_detector.h", |
| 178 | "video_stream_encoder.cc", |
| 179 | "video_stream_encoder.h", |
| 180 | ] |
| 181 | |
| 182 | if (!build_with_chromium && is_clang) { |
| 183 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 184 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 185 | } |
| 186 | |
| 187 | deps = [ |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 188 | "../api/units:data_rate", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 189 | "../api/video:encoded_image", |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 190 | "../api/video:video_bitrate_allocation", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 191 | "../api/video:video_bitrate_allocator", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 192 | "../api/video:video_bitrate_allocator_factory", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 193 | "../api/video:video_frame", |
| 194 | "../api/video:video_frame_i420", |
| 195 | "../api/video:video_stream_encoder", |
| 196 | "../api/video_codecs:video_codecs_api", |
| 197 | "../common_video:common_video", |
| 198 | "../modules/video_coding", |
| 199 | "../modules/video_coding:video_coding_utility", |
Sergey Silkin | 8b9b5f9 | 2018-12-10 09:28:53 +0100 | [diff] [blame] | 200 | "../modules/video_coding:webrtc_vp9_helpers", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 201 | "../rtc_base:checks", |
| 202 | "../rtc_base:criticalsection", |
| 203 | "../rtc_base:logging", |
| 204 | "../rtc_base:macromagic", |
| 205 | "../rtc_base:rtc_base_approved", |
| 206 | "../rtc_base:rtc_event", |
| 207 | "../rtc_base:rtc_numerics", |
| 208 | "../rtc_base:rtc_task_queue", |
| 209 | "../rtc_base:sequenced_task_checker", |
| 210 | "../rtc_base:timeutils", |
| 211 | "../rtc_base/experiments:quality_scaling_experiment", |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 212 | "../rtc_base/experiments:rate_control_settings", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 213 | "../rtc_base/system:fallthrough", |
Sebastian Jansson | ecb6897 | 2019-01-18 10:30:54 +0100 | [diff] [blame] | 214 | "../rtc_base/task_utils:repeating_task", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 215 | "../system_wrappers:field_trial", |
Steve Anton | 40d5533 | 2019-01-07 10:21:47 -0800 | [diff] [blame] | 216 | "//third_party/abseil-cpp/absl/memory", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 217 | "//third_party/abseil-cpp/absl/types:optional", |
| 218 | ] |
| 219 | } |
| 220 | |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 221 | if (rtc_include_tests) { |
Sebastian Jansson | 652dc91 | 2018-04-19 17:09:15 +0200 | [diff] [blame] | 222 | rtc_source_set("video_mocks") { |
| 223 | testonly = true |
| 224 | sources = [ |
| 225 | "test/mock_video_stream_encoder.h", |
| 226 | ] |
| 227 | deps = [ |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 228 | "../api/video:video_stream_encoder", |
Sebastian Jansson | 652dc91 | 2018-04-19 17:09:15 +0200 | [diff] [blame] | 229 | "../test:test_support", |
| 230 | ] |
| 231 | } |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 232 | rtc_source_set("video_quality_test") { |
| 233 | testonly = true |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 234 | |
| 235 | # Only targets in this file and api/ can depend on this. |
| 236 | visibility = [ |
| 237 | ":*", |
| 238 | "../api:create_video_quality_test_fixture_api", |
| 239 | ] |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 240 | sources = [ |
Sebastian Jansson | d4c5d63 | 2018-07-10 12:57:37 +0200 | [diff] [blame] | 241 | "video_analyzer.cc", |
| 242 | "video_analyzer.h", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 243 | "video_quality_test.cc", |
| 244 | "video_quality_test.h", |
| 245 | ] |
| 246 | deps = [ |
Erik Språng | 96965ae | 2018-10-23 15:42:37 +0200 | [diff] [blame] | 247 | ":frame_dumping_decoder", |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 248 | "../api:fec_controller_api", |
Patrik Höglund | d8f3c17 | 2018-09-26 14:39:17 +0200 | [diff] [blame] | 249 | "../api:test_dependency_factory", |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 250 | "../api:video_quality_test_fixture_api", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 251 | "../api/video:builtin_video_bitrate_allocator_factory", |
| 252 | "../api/video:video_bitrate_allocator_factory", |
Niels Möller | 1c931c4 | 2018-12-18 16:08:11 +0100 | [diff] [blame] | 253 | "../api/video:video_frame", |
Patrik Höglund | b6b29e0 | 2018-06-21 16:58:01 +0200 | [diff] [blame] | 254 | "../call:fake_network", |
Artem Titov | dd2eebe | 2018-08-20 13:27:45 +0200 | [diff] [blame] | 255 | "../call:simulated_network", |
Niels Möller | 1c931c4 | 2018-12-18 16:08:11 +0100 | [diff] [blame] | 256 | "../common_video", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 257 | "../logging:rtc_event_log_api", |
Qingsi Wang | 970b088 | 2018-02-01 11:04:46 -0800 | [diff] [blame] | 258 | "../logging:rtc_event_log_impl_output", |
Mirko Bonadei | 5f99e65 | 2017-12-19 13:40:40 +0100 | [diff] [blame] | 259 | "../media:rtc_audio_video", |
Florent Castelli | e7862cc | 2018-12-06 13:38:24 +0100 | [diff] [blame] | 260 | "../media:rtc_encoder_simulcast_proxy", |
Anders Carlsson | a114c88 | 2018-01-04 15:10:22 +0100 | [diff] [blame] | 261 | "../media:rtc_internal_video_codecs", |
henrika | 255750b | 2018-08-27 16:13:37 +0200 | [diff] [blame] | 262 | "../modules/audio_device:audio_device_api", |
| 263 | "../modules/audio_device:audio_device_module_from_input_and_output", |
| 264 | "../modules/audio_device:windows_core_audio_utility", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 265 | "../modules/audio_mixer:audio_mixer_impl", |
| 266 | "../modules/rtp_rtcp", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 267 | "../modules/video_coding:video_coding", |
Niels Möller | 1beef1a | 2018-09-03 14:21:44 +0200 | [diff] [blame] | 268 | "../modules/video_coding:video_coding_utility", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 269 | "../modules/video_coding:webrtc_h264", |
Emircan Uysaler | 03e6ec9 | 2018-03-09 15:03:26 -0800 | [diff] [blame] | 270 | "../modules/video_coding:webrtc_multiplex", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 271 | "../modules/video_coding:webrtc_vp8", |
| 272 | "../modules/video_coding:webrtc_vp9", |
mbonadei | 95c8f65 | 2017-08-27 23:40:10 -0700 | [diff] [blame] | 273 | "../rtc_base:rtc_base_approved", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 274 | "../rtc_base:rtc_base_tests_utils", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 275 | "../system_wrappers", |
Emircan Uysaler | 7c03bdc | 2019-01-16 15:07:56 -0500 | [diff] [blame] | 276 | "../test:fake_video_codecs", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 277 | "../test:fileutils", |
Edward Lemur | e66572b | 2018-01-05 15:34:09 +0100 | [diff] [blame] | 278 | "../test:perf_test", |
Jianjun Zhu | 037f3e4 | 2017-08-15 21:48:37 +0800 | [diff] [blame] | 279 | "../test:rtp_test_utils", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 280 | "../test:test_common", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 281 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 282 | "../test:test_support", |
Edward Lemur | af8659a | 2017-09-27 14:46:24 +0200 | [diff] [blame] | 283 | "../test:test_support_test_artifacts", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 284 | "../test:video_test_common", |
ilnik | 59cac99 | 2017-07-25 05:45:03 -0700 | [diff] [blame] | 285 | "../test:video_test_support", |
Florent Castelli | e7862cc | 2018-12-06 13:38:24 +0100 | [diff] [blame] | 286 | "//third_party/abseil-cpp/absl/memory:memory", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 287 | ] |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 288 | if (!build_with_chromium && is_clang) { |
| 289 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 290 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 291 | } |
| 292 | } |
| 293 | |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 294 | rtc_source_set("video_full_stack_tests") { |
| 295 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 296 | |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 297 | sources = [ |
| 298 | "full_stack_tests.cc", |
| 299 | ] |
| 300 | deps = [ |
| 301 | ":video_quality_test", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 302 | "../:webrtc_common", |
| 303 | "../api:simulated_network_api", |
Patrik Höglund | d8f3c17 | 2018-09-26 14:39:17 +0200 | [diff] [blame] | 304 | "../api:test_dependency_factory", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 305 | "../api:video_quality_test_fixture_api", |
| 306 | "../api/video_codecs:video_codecs_api", |
Emircan Uysaler | 0823eec | 2018-07-13 17:10:00 -0700 | [diff] [blame] | 307 | "../media:rtc_vp9_profile", |
sprang | 89c4a7e | 2017-06-30 13:27:40 -0700 | [diff] [blame] | 308 | "../modules/pacing:pacing", |
Emircan Uysaler | 0823eec | 2018-07-13 17:10:00 -0700 | [diff] [blame] | 309 | "../modules/video_coding:webrtc_vp9", |
Sebastian Jansson | f851888 | 2018-05-31 14:52:59 +0200 | [diff] [blame] | 310 | "../rtc_base:rtc_base_approved", |
Sebastian Jansson | cabe383 | 2018-01-12 10:54:18 +0100 | [diff] [blame] | 311 | "../rtc_base/experiments:alr_experiment", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 312 | "../system_wrappers:field_trial", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 313 | "../test:field_trial", |
jianjun.zhu | c024740 | 2017-07-11 06:20:45 -0700 | [diff] [blame] | 314 | "../test:test_common", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 315 | "../test:test_support", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 316 | "//testing/gtest", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 317 | "//third_party/abseil-cpp/absl/memory", |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 318 | ] |
| 319 | if (!build_with_chromium && is_clang) { |
| 320 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 321 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 322 | } |
ehmaldonado | 021eef3 | 2017-01-05 07:09:50 -0800 | [diff] [blame] | 323 | } |
| 324 | |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 325 | rtc_executable("video_loopback") { |
| 326 | testonly = true |
| 327 | sources = [ |
| 328 | "video_loopback.cc", |
| 329 | ] |
| 330 | deps = [ |
| 331 | ":video_quality_test", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 332 | "../api:libjingle_peerconnection_api", |
| 333 | "../api:simulated_network_api", |
| 334 | "../api:video_quality_test_fixture_api", |
| 335 | "../api/video_codecs:video_codecs_api", |
| 336 | "../rtc_base:checks", |
Mirko Bonadei | 45a4c41 | 2018-07-31 15:07:28 +0200 | [diff] [blame] | 337 | "../rtc_base:logging", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 338 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 339 | "../system_wrappers:field_trial", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 340 | "../test:field_trial", |
| 341 | "../test:run_test", |
mbonadei | 9c296b3 | 2017-09-05 05:11:41 -0700 | [diff] [blame] | 342 | "../test:run_test_interface", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 343 | "../test:test_common", |
| 344 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 345 | "../test:test_support", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 346 | "//testing/gtest", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 347 | "//third_party/abseil-cpp/absl/memory", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 348 | ] |
| 349 | if (!build_with_chromium && is_clang) { |
| 350 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 351 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | rtc_executable("screenshare_loopback") { |
| 356 | testonly = true |
| 357 | sources = [ |
| 358 | "screenshare_loopback.cc", |
| 359 | ] |
| 360 | |
| 361 | deps = [ |
| 362 | ":video_quality_test", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 363 | "../api:libjingle_peerconnection_api", |
| 364 | "../api:simulated_network_api", |
| 365 | "../api:video_quality_test_fixture_api", |
| 366 | "../api/video_codecs:video_codecs_api", |
| 367 | "../rtc_base:checks", |
Mirko Bonadei | 45a4c41 | 2018-07-31 15:07:28 +0200 | [diff] [blame] | 368 | "../rtc_base:logging", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 369 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 370 | "../system_wrappers:field_trial", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 371 | "../test:field_trial", |
| 372 | "../test:run_test", |
mbonadei | 9c296b3 | 2017-09-05 05:11:41 -0700 | [diff] [blame] | 373 | "../test:run_test_interface", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 374 | "../test:test_common", |
| 375 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 376 | "../test:test_support", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 377 | "//third_party/abseil-cpp/absl/memory", |
| 378 | "//third_party/abseil-cpp/absl/types:optional", |
kjellander | a3cac05 | 2016-10-24 01:52:39 -0700 | [diff] [blame] | 379 | ] |
| 380 | if (!build_with_chromium && is_clang) { |
| 381 | # Suppress warnings from Chrome's Clang plugins. |
| 382 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 383 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 384 | } |
| 385 | } |
| 386 | |
Ilya Nikolaevskiy | 255d1cd | 2017-12-21 18:02:59 +0100 | [diff] [blame] | 387 | rtc_executable("sv_loopback") { |
| 388 | testonly = true |
| 389 | sources = [ |
| 390 | "sv_loopback.cc", |
| 391 | ] |
| 392 | deps = [ |
| 393 | ":video_quality_test", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 394 | "../api:libjingle_peerconnection_api", |
| 395 | "../api:simulated_network_api", |
| 396 | "../api:video_quality_test_fixture_api", |
| 397 | "../api/video_codecs:video_codecs_api", |
| 398 | "../rtc_base:checks", |
Mirko Bonadei | 45a4c41 | 2018-07-31 15:07:28 +0200 | [diff] [blame] | 399 | "../rtc_base:logging", |
Ilya Nikolaevskiy | 255d1cd | 2017-12-21 18:02:59 +0100 | [diff] [blame] | 400 | "../rtc_base:rtc_base_approved", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 401 | "../system_wrappers:field_trial", |
Ilya Nikolaevskiy | 255d1cd | 2017-12-21 18:02:59 +0100 | [diff] [blame] | 402 | "../test:field_trial", |
| 403 | "../test:run_test", |
| 404 | "../test:run_test_interface", |
| 405 | "../test:test_common", |
| 406 | "../test:test_renderer", |
| 407 | "../test:test_support", |
Ilya Nikolaevskiy | 255d1cd | 2017-12-21 18:02:59 +0100 | [diff] [blame] | 408 | "//testing/gtest", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 409 | "//third_party/abseil-cpp/absl/memory", |
Ilya Nikolaevskiy | 255d1cd | 2017-12-21 18:02:59 +0100 | [diff] [blame] | 410 | ] |
| 411 | if (!build_with_chromium && is_clang) { |
| 412 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 413 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 414 | } |
| 415 | } |
| 416 | |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 417 | rtc_executable("video_replay") { |
| 418 | testonly = true |
| 419 | sources = [ |
Benjamin Wright | 8efafdf | 2019-01-11 10:48:42 -0800 | [diff] [blame] | 420 | "video_replay.cc", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 421 | ] |
| 422 | deps = [ |
Danil Chapovalov | 99b71df | 2018-10-26 15:57:48 +0200 | [diff] [blame] | 423 | "../api/test/video:function_video_factory", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 424 | "../api/video_codecs:video_codecs_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 425 | "../call:call_interfaces", |
| 426 | "../common_video", |
| 427 | "../logging:rtc_event_log_api", |
Niels Möller | cbcbc22 | 2018-09-28 09:07:24 +0200 | [diff] [blame] | 428 | "../media:rtc_internal_video_codecs", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 429 | "../modules/rtp_rtcp", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 430 | "../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 431 | "../rtc_base:rtc_base_approved", |
Benjamin Wright | 90ab76d | 2018-08-23 11:33:29 -0700 | [diff] [blame] | 432 | "../rtc_base:rtc_json", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 433 | "../system_wrappers", |
Benjamin Wright | 8efafdf | 2019-01-11 10:48:42 -0800 | [diff] [blame] | 434 | "../test:call_config_utils", |
Ilya Nikolaevskiy | b0588e6 | 2018-08-27 14:12:27 +0200 | [diff] [blame] | 435 | "../test:fake_video_codecs", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 436 | "../test:rtp_test_utils", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 437 | "../test:run_test", |
mbonadei | 9c296b3 | 2017-09-05 05:11:41 -0700 | [diff] [blame] | 438 | "../test:run_test_interface", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 439 | "../test:test_common", |
| 440 | "../test:test_renderer", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 441 | "../test:test_support", |
| 442 | "../test:video_test_common", |
philipel | 99b6345 | 2017-08-25 07:24:21 -0700 | [diff] [blame] | 443 | "../test:video_test_support", |
Steve Anton | 40d5533 | 2019-01-07 10:21:47 -0800 | [diff] [blame] | 444 | "//third_party/abseil-cpp/absl/memory", |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 445 | ] |
stefan | 64427e5 | 2016-12-20 07:26:58 -0800 | [diff] [blame] | 446 | if (!build_with_chromium && is_clang) { |
| 447 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 448 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 449 | } |
| 450 | } |
| 451 | |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 452 | # TODO(pbos): Rename test suite. |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 453 | rtc_source_set("video_tests") { |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 454 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 455 | |
hta | 9aa9688 | 2016-12-06 05:36:03 -0800 | [diff] [blame] | 456 | defines = [] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 457 | sources = [ |
Benjamin Wright | 0076529 | 2018-11-30 16:18:26 -0800 | [diff] [blame] | 458 | "buffered_frame_decryptor_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 459 | "call_stats_unittest.cc", |
Åsa Persson | cb7eddb | 2018-11-05 14:11:44 +0100 | [diff] [blame] | 460 | "cpu_scaling_tests.cc", |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 461 | "encoder_bitrate_adjuster_unittest.cc", |
Niels Möller | fa89d84 | 2019-01-30 16:33:45 +0100 | [diff] [blame] | 462 | "encoder_key_frame_callback_unittest.cc", |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 463 | "encoder_overshoot_detector_unittest.cc", |
Sebastian Jansson | c501713 | 2018-02-02 16:24:16 +0100 | [diff] [blame] | 464 | "end_to_end_tests/bandwidth_tests.cc", |
| 465 | "end_to_end_tests/call_operation_tests.cc", |
| 466 | "end_to_end_tests/codec_tests.cc", |
| 467 | "end_to_end_tests/config_tests.cc", |
| 468 | "end_to_end_tests/extended_reports_tests.cc", |
| 469 | "end_to_end_tests/fec_tests.cc", |
Benjamin Wright | 150a907 | 2018-10-26 15:43:06 -0700 | [diff] [blame] | 470 | "end_to_end_tests/frame_encryption_tests.cc", |
Sebastian Jansson | c501713 | 2018-02-02 16:24:16 +0100 | [diff] [blame] | 471 | "end_to_end_tests/histogram_tests.cc", |
Åsa Persson | 96c9fc4 | 2018-05-23 12:47:20 +0200 | [diff] [blame] | 472 | "end_to_end_tests/multi_codec_receive_tests.cc", |
Sebastian Jansson | c501713 | 2018-02-02 16:24:16 +0100 | [diff] [blame] | 473 | "end_to_end_tests/multi_stream_tester.cc", |
| 474 | "end_to_end_tests/multi_stream_tester.h", |
| 475 | "end_to_end_tests/multi_stream_tests.cc", |
| 476 | "end_to_end_tests/network_state_tests.cc", |
| 477 | "end_to_end_tests/probing_tests.cc", |
| 478 | "end_to_end_tests/retransmission_tests.cc", |
| 479 | "end_to_end_tests/rtp_rtcp_tests.cc", |
| 480 | "end_to_end_tests/ssrc_tests.cc", |
| 481 | "end_to_end_tests/stats_tests.cc", |
| 482 | "end_to_end_tests/transport_feedback_tests.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 483 | "overuse_frame_detector_unittest.cc", |
Sebastian Jansson | e92f93f | 2017-06-22 14:44:04 +0200 | [diff] [blame] | 484 | "picture_id_tests.cc", |
Åsa Persson | 2027b66 | 2018-05-02 18:08:06 +0200 | [diff] [blame] | 485 | "quality_scaling_tests.cc", |
palmkvist | 349092b | 2016-12-13 02:45:57 -0800 | [diff] [blame] | 486 | "quality_threshold_unittest.cc", |
sakal | e5ba44e | 2016-10-26 07:09:24 -0700 | [diff] [blame] | 487 | "receive_statistics_proxy_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 488 | "report_block_stats_unittest.cc", |
nisse | b1f2ff9 | 2017-06-09 04:01:55 -0700 | [diff] [blame] | 489 | "rtp_video_stream_receiver_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 490 | "send_delay_stats_unittest.cc", |
| 491 | "send_statistics_proxy_unittest.cc", |
| 492 | "stats_counter_unittest.cc", |
| 493 | "stream_synchronization_unittest.cc", |
johan | f2183ff | 2017-02-28 01:33:09 -0800 | [diff] [blame] | 494 | "video_receive_stream_unittest.cc", |
Sebastian Jansson | 652dc91 | 2018-04-19 17:09:15 +0200 | [diff] [blame] | 495 | "video_send_stream_impl_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 496 | "video_send_stream_tests.cc", |
mflodman | cc3d442 | 2017-08-03 08:27:51 -0700 | [diff] [blame] | 497 | "video_stream_encoder_unittest.cc", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 498 | ] |
| 499 | deps = [ |
| 500 | ":video", |
Sebastian Jansson | 652dc91 | 2018-04-19 17:09:15 +0200 | [diff] [blame] | 501 | ":video_mocks", |
Niels Möller | 213618e | 2018-07-24 09:29:58 +0200 | [diff] [blame] | 502 | ":video_stream_encoder_impl", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 503 | "../:webrtc_common", |
Benjamin Wright | 150a907 | 2018-10-26 15:43:06 -0700 | [diff] [blame] | 504 | "../api:fake_frame_decryptor", |
| 505 | "../api:fake_frame_encryptor", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 506 | "../api:libjingle_peerconnection_api", |
Benjamin Wright | 0076529 | 2018-11-30 16:18:26 -0800 | [diff] [blame] | 507 | "../api:mock_frame_decryptor", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 508 | "../api:scoped_refptr", |
Artem Titov | 46c4e60 | 2018-08-17 14:26:54 +0200 | [diff] [blame] | 509 | "../api:simulated_network_api", |
Danil Chapovalov | 99b71df | 2018-10-26 15:57:48 +0200 | [diff] [blame] | 510 | "../api/test/video:function_video_factory", |
Erik Språng | 7ca375c | 2019-02-06 16:20:17 +0100 | [diff] [blame] | 511 | "../api/units:data_rate", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 512 | "../api/video:builtin_video_bitrate_allocator_factory", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 513 | "../api/video:encoded_image", |
Erik Språng | f93eda1 | 2019-01-16 17:10:57 +0100 | [diff] [blame] | 514 | "../api/video:video_bitrate_allocation", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 515 | "../api/video:video_frame", |
| 516 | "../api/video:video_frame_i420", |
Erik Språng | 4529fbc | 2018-10-12 10:30:31 +0200 | [diff] [blame] | 517 | "../api/video_codecs:create_vp8_temporal_layers", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 518 | "../api/video_codecs:video_codecs_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 519 | "../call:call_interfaces", |
Artem Titov | dd2eebe | 2018-08-20 13:27:45 +0200 | [diff] [blame] | 520 | "../call:fake_network", |
Sebastian Jansson | 652dc91 | 2018-04-19 17:09:15 +0200 | [diff] [blame] | 521 | "../call:mock_bitrate_allocator", |
eladalon | e2173d9 | 2017-07-28 10:05:45 -0700 | [diff] [blame] | 522 | "../call:mock_rtp_interfaces", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 523 | "../call:rtp_interfaces", |
nisse | 0f15f92 | 2017-06-21 01:05:22 -0700 | [diff] [blame] | 524 | "../call:rtp_receiver", |
sprang | db2a9fc | 2017-08-09 06:42:32 -0700 | [diff] [blame] | 525 | "../call:rtp_sender", |
Artem Titov | dd2eebe | 2018-08-20 13:27:45 +0200 | [diff] [blame] | 526 | "../call:simulated_network", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 527 | "../call:simulated_packet_receiver", |
aleloi | 440b6d9 | 2017-08-22 05:43:23 -0700 | [diff] [blame] | 528 | "../call:video_stream_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 529 | "../common_video", |
Johannes Kron | f1ab9b9 | 2018-12-14 10:14:07 +0100 | [diff] [blame] | 530 | "../common_video/test:utilities", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 531 | "../logging:rtc_event_log_api", |
Mirko Bonadei | 75baa49 | 2018-01-11 17:07:30 +0100 | [diff] [blame] | 532 | "../media:rtc_audio_video", |
Anders Carlsson | a114c88 | 2018-01-04 15:10:22 +0100 | [diff] [blame] | 533 | "../media:rtc_internal_video_codecs", |
brandtr | 5e17175 | 2017-05-23 03:32:16 -0700 | [diff] [blame] | 534 | "../media:rtc_media", |
magjed | ceecea4 | 2016-11-28 07:20:21 -0800 | [diff] [blame] | 535 | "../media:rtc_media_base", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 536 | "../media:rtc_media_tests_utils", |
Jonathan Yu | 9a5da49 | 2018-10-19 00:51:18 -0700 | [diff] [blame] | 537 | "../media:rtc_simulcast_encoder_adapter", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 538 | "../modules:module_api", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 539 | "../modules/pacing", |
| 540 | "../modules/rtp_rtcp", |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 541 | "../modules/rtp_rtcp:mock_rtp_rtcp", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 542 | "../modules/rtp_rtcp:rtp_rtcp_format", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 543 | "../modules/utility", |
| 544 | "../modules/video_coding", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 545 | "../modules/video_coding:codec_globals_headers", |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 546 | "../modules/video_coding:packet", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 547 | "../modules/video_coding:video_codec_interface", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 548 | "../modules/video_coding:video_coding_utility", |
| 549 | "../modules/video_coding:webrtc_h264", |
Emircan Uysaler | ef76e5a | 2018-02-12 13:36:41 -0800 | [diff] [blame] | 550 | "../modules/video_coding:webrtc_multiplex", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 551 | "../modules/video_coding:webrtc_vp8", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 552 | "../modules/video_coding:webrtc_vp9", |
Elad Alon | 157540a | 2019-02-08 23:37:52 +0100 | [diff] [blame] | 553 | "../rtc_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 554 | "../rtc_base:checks", |
| 555 | "../rtc_base:rate_limiter", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 556 | "../rtc_base:rtc_base_approved", |
| 557 | "../rtc_base:rtc_base_tests_utils", |
Bjorn Terelius | a194e58 | 2017-10-25 13:07:09 +0200 | [diff] [blame] | 558 | "../rtc_base:rtc_numerics", |
Tommi | 38c5d93 | 2018-03-27 23:11:09 +0200 | [diff] [blame] | 559 | "../rtc_base:rtc_task_queue", |
Sebastian Jansson | 652dc91 | 2018-04-19 17:09:15 +0200 | [diff] [blame] | 560 | "../rtc_base:rtc_task_queue_for_test", |
Sebastian Jansson | cabe383 | 2018-01-12 10:54:18 +0100 | [diff] [blame] | 561 | "../rtc_base/experiments:alr_experiment", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 562 | "../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 563 | "../system_wrappers:field_trial", |
| 564 | "../system_wrappers:metrics", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 565 | "../test:direct_transport", |
Ilya Nikolaevskiy | b0588e6 | 2018-08-27 14:12:27 +0200 | [diff] [blame] | 566 | "../test:fake_video_codecs", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 567 | "../test:field_trial", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 568 | "../test:fileutils", |
Edward Lemur | e66572b | 2018-01-05 15:34:09 +0100 | [diff] [blame] | 569 | "../test:perf_test", |
mbonadei | 9087d49 | 2017-04-25 00:35:35 -0700 | [diff] [blame] | 570 | "../test:rtp_test_utils", |
| 571 | "../test:test_common", |
| 572 | "../test:test_support", |
| 573 | "../test:video_test_common", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 574 | "//testing/gtest", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 575 | "//third_party/abseil-cpp/absl/memory", |
Danil Chapovalov | b9b146c | 2018-06-15 12:28:07 +0200 | [diff] [blame] | 576 | "//third_party/abseil-cpp/absl/types:optional", |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 577 | ] |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 578 | if (!build_with_chromium && is_clang) { |
| 579 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 580 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 581 | } |
Dan Minor | 9c68613 | 2018-01-15 10:20:00 -0500 | [diff] [blame] | 582 | if (!build_with_mozilla) { |
| 583 | deps += [ "../media:rtc_media_base" ] |
| 584 | } |
Peter Boström | 0208322 | 2016-06-14 12:52:54 +0200 | [diff] [blame] | 585 | } |
| 586 | } |