xref: /aosp_15_r20/external/webrtc/video/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1*d9f75844SAndroid Build Coastguard Worker# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2*d9f75844SAndroid Build Coastguard Worker#
3*d9f75844SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license
4*d9f75844SAndroid Build Coastguard Worker# that can be found in the LICENSE file in the root of the source
5*d9f75844SAndroid Build Coastguard Worker# tree. An additional intellectual property rights grant can be found
6*d9f75844SAndroid Build Coastguard Worker# in the file PATENTS.  All contributing project authors may
7*d9f75844SAndroid Build Coastguard Worker# be found in the AUTHORS file in the root of the source tree.
8*d9f75844SAndroid Build Coastguard Worker
9*d9f75844SAndroid Build Coastguard Workerimport("../webrtc.gni")
10*d9f75844SAndroid Build Coastguard Worker
11*d9f75844SAndroid Build Coastguard Workerrtc_library("video_stream_encoder_interface") {
12*d9f75844SAndroid Build Coastguard Worker  sources = [
13*d9f75844SAndroid Build Coastguard Worker    "video_stream_encoder_interface.h",
14*d9f75844SAndroid Build Coastguard Worker    "video_stream_encoder_observer.h",
15*d9f75844SAndroid Build Coastguard Worker  ]
16*d9f75844SAndroid Build Coastguard Worker  deps = [
17*d9f75844SAndroid Build Coastguard Worker    "../api:fec_controller_api",
18*d9f75844SAndroid Build Coastguard Worker    "../api:rtc_error",
19*d9f75844SAndroid Build Coastguard Worker    "../api:rtp_parameters",
20*d9f75844SAndroid Build Coastguard Worker    "../api:rtp_sender_interface",
21*d9f75844SAndroid Build Coastguard Worker    "../api:scoped_refptr",
22*d9f75844SAndroid Build Coastguard Worker    "../api/adaptation:resource_adaptation_api",
23*d9f75844SAndroid Build Coastguard Worker    "../api/units:data_rate",
24*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_adaptation",
25*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocation",
26*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocator",
27*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_codec_constants",
28*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_frame",
29*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_layers_allocation",
30*d9f75844SAndroid Build Coastguard Worker    "../api/video_codecs:video_codecs_api",
31*d9f75844SAndroid Build Coastguard Worker    "../video/config:encoder_config",
32*d9f75844SAndroid Build Coastguard Worker  ]
33*d9f75844SAndroid Build Coastguard Worker  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
34*d9f75844SAndroid Build Coastguard Worker}
35*d9f75844SAndroid Build Coastguard Worker
36*d9f75844SAndroid Build Coastguard Workerrtc_library("video") {
37*d9f75844SAndroid Build Coastguard Worker  sources = [
38*d9f75844SAndroid Build Coastguard Worker    "buffered_frame_decryptor.cc",
39*d9f75844SAndroid Build Coastguard Worker    "buffered_frame_decryptor.h",
40*d9f75844SAndroid Build Coastguard Worker    "call_stats2.cc",
41*d9f75844SAndroid Build Coastguard Worker    "call_stats2.h",
42*d9f75844SAndroid Build Coastguard Worker    "encoder_rtcp_feedback.cc",
43*d9f75844SAndroid Build Coastguard Worker    "encoder_rtcp_feedback.h",
44*d9f75844SAndroid Build Coastguard Worker    "quality_limitation_reason_tracker.cc",
45*d9f75844SAndroid Build Coastguard Worker    "quality_limitation_reason_tracker.h",
46*d9f75844SAndroid Build Coastguard Worker    "quality_threshold.cc",
47*d9f75844SAndroid Build Coastguard Worker    "quality_threshold.h",
48*d9f75844SAndroid Build Coastguard Worker    "receive_statistics_proxy2.cc",
49*d9f75844SAndroid Build Coastguard Worker    "receive_statistics_proxy2.h",
50*d9f75844SAndroid Build Coastguard Worker    "report_block_stats.cc",
51*d9f75844SAndroid Build Coastguard Worker    "report_block_stats.h",
52*d9f75844SAndroid Build Coastguard Worker    "rtp_streams_synchronizer2.cc",
53*d9f75844SAndroid Build Coastguard Worker    "rtp_streams_synchronizer2.h",
54*d9f75844SAndroid Build Coastguard Worker    "rtp_video_stream_receiver2.cc",
55*d9f75844SAndroid Build Coastguard Worker    "rtp_video_stream_receiver2.h",
56*d9f75844SAndroid Build Coastguard Worker    "rtp_video_stream_receiver_frame_transformer_delegate.cc",
57*d9f75844SAndroid Build Coastguard Worker    "rtp_video_stream_receiver_frame_transformer_delegate.h",
58*d9f75844SAndroid Build Coastguard Worker    "send_delay_stats.cc",
59*d9f75844SAndroid Build Coastguard Worker    "send_delay_stats.h",
60*d9f75844SAndroid Build Coastguard Worker    "send_statistics_proxy.cc",
61*d9f75844SAndroid Build Coastguard Worker    "send_statistics_proxy.h",
62*d9f75844SAndroid Build Coastguard Worker    "stats_counter.cc",
63*d9f75844SAndroid Build Coastguard Worker    "stats_counter.h",
64*d9f75844SAndroid Build Coastguard Worker    "stream_synchronization.cc",
65*d9f75844SAndroid Build Coastguard Worker    "stream_synchronization.h",
66*d9f75844SAndroid Build Coastguard Worker    "transport_adapter.cc",
67*d9f75844SAndroid Build Coastguard Worker    "transport_adapter.h",
68*d9f75844SAndroid Build Coastguard Worker    "video_quality_observer2.cc",
69*d9f75844SAndroid Build Coastguard Worker    "video_quality_observer2.h",
70*d9f75844SAndroid Build Coastguard Worker    "video_receive_stream2.cc",
71*d9f75844SAndroid Build Coastguard Worker    "video_receive_stream2.h",
72*d9f75844SAndroid Build Coastguard Worker    "video_send_stream.cc",
73*d9f75844SAndroid Build Coastguard Worker    "video_send_stream.h",
74*d9f75844SAndroid Build Coastguard Worker    "video_send_stream_impl.cc",
75*d9f75844SAndroid Build Coastguard Worker    "video_send_stream_impl.h",
76*d9f75844SAndroid Build Coastguard Worker    "video_stream_decoder2.cc",
77*d9f75844SAndroid Build Coastguard Worker    "video_stream_decoder2.h",
78*d9f75844SAndroid Build Coastguard Worker  ]
79*d9f75844SAndroid Build Coastguard Worker
80*d9f75844SAndroid Build Coastguard Worker  deps = [
81*d9f75844SAndroid Build Coastguard Worker    ":frame_cadence_adapter",
82*d9f75844SAndroid Build Coastguard Worker    ":frame_dumping_decoder",
83*d9f75844SAndroid Build Coastguard Worker    ":task_queue_frame_decode_scheduler",
84*d9f75844SAndroid Build Coastguard Worker    ":unique_timestamp_counter",
85*d9f75844SAndroid Build Coastguard Worker    ":video_stream_buffer_controller",
86*d9f75844SAndroid Build Coastguard Worker    ":video_stream_encoder_impl",
87*d9f75844SAndroid Build Coastguard Worker    ":video_stream_encoder_interface",
88*d9f75844SAndroid Build Coastguard Worker    "../api:array_view",
89*d9f75844SAndroid Build Coastguard Worker    "../api:fec_controller_api",
90*d9f75844SAndroid Build Coastguard Worker    "../api:field_trials_view",
91*d9f75844SAndroid Build Coastguard Worker    "../api:frame_transformer_interface",
92*d9f75844SAndroid Build Coastguard Worker    "../api:rtp_parameters",
93*d9f75844SAndroid Build Coastguard Worker    "../api:scoped_refptr",
94*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
95*d9f75844SAndroid Build Coastguard Worker    "../api:transport_api",
96*d9f75844SAndroid Build Coastguard Worker    "../api/crypto:frame_decryptor_interface",
97*d9f75844SAndroid Build Coastguard Worker    "../api/crypto:options",
98*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
99*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue:pending_task_safety_flag",
100*d9f75844SAndroid Build Coastguard Worker    "../api/transport:field_trial_based_config",
101*d9f75844SAndroid Build Coastguard Worker    "../api/units:data_rate",
102*d9f75844SAndroid Build Coastguard Worker    "../api/units:frequency",
103*d9f75844SAndroid Build Coastguard Worker    "../api/units:time_delta",
104*d9f75844SAndroid Build Coastguard Worker    "../api/units:timestamp",
105*d9f75844SAndroid Build Coastguard Worker    "../api/video:encoded_image",
106*d9f75844SAndroid Build Coastguard Worker    "../api/video:recordable_encoded_frame",
107*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocation",
108*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocator",
109*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_codec_constants",
110*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_frame",
111*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_rtp_headers",
112*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_stream_encoder",
113*d9f75844SAndroid Build Coastguard Worker    "../api/video_codecs:video_codecs_api",
114*d9f75844SAndroid Build Coastguard Worker    "../call:bitrate_allocator",
115*d9f75844SAndroid Build Coastguard Worker    "../call:call_interfaces",
116*d9f75844SAndroid Build Coastguard Worker    "../call:rtp_interfaces",
117*d9f75844SAndroid Build Coastguard Worker    "../call:rtp_receiver",
118*d9f75844SAndroid Build Coastguard Worker    "../call:rtp_sender",
119*d9f75844SAndroid Build Coastguard Worker    "../call:video_stream_api",
120*d9f75844SAndroid Build Coastguard Worker    "../common_video",
121*d9f75844SAndroid Build Coastguard Worker    "../modules:module_api",
122*d9f75844SAndroid Build Coastguard Worker    "../modules:module_api_public",
123*d9f75844SAndroid Build Coastguard Worker    "../modules/pacing",
124*d9f75844SAndroid Build Coastguard Worker    "../modules/remote_bitrate_estimator",
125*d9f75844SAndroid Build Coastguard Worker    "../modules/rtp_rtcp",
126*d9f75844SAndroid Build Coastguard Worker    "../modules/rtp_rtcp:rtp_rtcp_format",
127*d9f75844SAndroid Build Coastguard Worker    "../modules/rtp_rtcp:rtp_video_header",
128*d9f75844SAndroid Build Coastguard Worker    "../modules/utility:utility",
129*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding",
130*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:nack_requester",
131*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:packet_buffer",
132*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_codec_interface",
133*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_coding_utility",
134*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:webrtc_vp9_helpers",
135*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/timing:timing_module",
136*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:checks",
137*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:event_tracer",
138*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:histogram_percentile_counter",
139*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
140*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:macromagic",
141*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:mod_ops",
142*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:moving_max_counter",
143*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:platform_thread",
144*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rate_statistics",
145*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rate_tracker",
146*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_event",
147*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_numerics",
148*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_task_queue",
149*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:safe_conversions",
150*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:sample_counter",
151*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:stringutils",
152*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:threading",
153*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:timeutils",
154*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:alr_experiment",
155*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:field_trial_parser",
156*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:keyframe_interval_settings_experiment",
157*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:min_video_bitrate_experiment",
158*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:normalize_simulcast_size_experiment",
159*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:rate_control_settings",
160*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/synchronization:mutex",
161*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/system:no_unique_address",
162*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/task_utils:repeating_task",
163*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
164*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:field_trial",
165*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:metrics",
166*d9f75844SAndroid Build Coastguard Worker    "../video/config:encoder_config",
167*d9f75844SAndroid Build Coastguard Worker    "adaptation:video_adaptation",
168*d9f75844SAndroid Build Coastguard Worker    "render:incoming_video_stream",
169*d9f75844SAndroid Build Coastguard Worker  ]
170*d9f75844SAndroid Build Coastguard Worker  absl_deps = [
171*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/algorithm:container",
172*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/memory",
173*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/strings",
174*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/types:optional",
175*d9f75844SAndroid Build Coastguard Worker  ]
176*d9f75844SAndroid Build Coastguard Worker
177*d9f75844SAndroid Build Coastguard Worker  if (!build_with_mozilla) {
178*d9f75844SAndroid Build Coastguard Worker    deps += [ "../media:rtc_media_base" ]
179*d9f75844SAndroid Build Coastguard Worker  }
180*d9f75844SAndroid Build Coastguard Worker}
181*d9f75844SAndroid Build Coastguard Worker
182*d9f75844SAndroid Build Coastguard Workerrtc_library("video_stream_decoder_impl") {
183*d9f75844SAndroid Build Coastguard Worker  visibility = [ "*" ]
184*d9f75844SAndroid Build Coastguard Worker
185*d9f75844SAndroid Build Coastguard Worker  sources = [
186*d9f75844SAndroid Build Coastguard Worker    "video_stream_decoder_impl.cc",
187*d9f75844SAndroid Build Coastguard Worker    "video_stream_decoder_impl.h",
188*d9f75844SAndroid Build Coastguard Worker  ]
189*d9f75844SAndroid Build Coastguard Worker
190*d9f75844SAndroid Build Coastguard Worker  deps = [
191*d9f75844SAndroid Build Coastguard Worker    "../api:field_trials_view",
192*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
193*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
194*d9f75844SAndroid Build Coastguard Worker    "../api/transport:field_trial_based_config",
195*d9f75844SAndroid Build Coastguard Worker    "../api/video:encoded_frame",
196*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_frame",
197*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_rtp_headers",
198*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_stream_decoder",
199*d9f75844SAndroid Build Coastguard Worker    "../api/video_codecs:video_codecs_api",
200*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding",
201*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:frame_buffer2",
202*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/timing:timing_module",
203*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
204*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:mod_ops",
205*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:platform_thread",
206*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_task_queue",
207*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:timeutils",
208*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/memory:always_valid_pointer",
209*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/synchronization:mutex",
210*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
211*d9f75844SAndroid Build Coastguard Worker  ]
212*d9f75844SAndroid Build Coastguard Worker  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
213*d9f75844SAndroid Build Coastguard Worker}
214*d9f75844SAndroid Build Coastguard Worker
215*d9f75844SAndroid Build Coastguard Workerrtc_library("frame_dumping_decoder") {
216*d9f75844SAndroid Build Coastguard Worker  visibility = [ "*" ]
217*d9f75844SAndroid Build Coastguard Worker
218*d9f75844SAndroid Build Coastguard Worker  sources = [
219*d9f75844SAndroid Build Coastguard Worker    "frame_dumping_decoder.cc",
220*d9f75844SAndroid Build Coastguard Worker    "frame_dumping_decoder.h",
221*d9f75844SAndroid Build Coastguard Worker  ]
222*d9f75844SAndroid Build Coastguard Worker
223*d9f75844SAndroid Build Coastguard Worker  deps = [
224*d9f75844SAndroid Build Coastguard Worker    "../api/video:encoded_frame",
225*d9f75844SAndroid Build Coastguard Worker    "../api/video:encoded_image",
226*d9f75844SAndroid Build Coastguard Worker    "../api/video_codecs:video_codecs_api",
227*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding",
228*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_codec_interface",
229*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_coding_utility",
230*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/system:file_wrapper",
231*d9f75844SAndroid Build Coastguard Worker  ]
232*d9f75844SAndroid Build Coastguard Worker}
233*d9f75844SAndroid Build Coastguard Worker
234*d9f75844SAndroid Build Coastguard Workerrtc_library("frame_cadence_adapter") {
235*d9f75844SAndroid Build Coastguard Worker  visibility = [ "*" ]
236*d9f75844SAndroid Build Coastguard Worker  sources = [
237*d9f75844SAndroid Build Coastguard Worker    "frame_cadence_adapter.cc",
238*d9f75844SAndroid Build Coastguard Worker    "frame_cadence_adapter.h",
239*d9f75844SAndroid Build Coastguard Worker  ]
240*d9f75844SAndroid Build Coastguard Worker
241*d9f75844SAndroid Build Coastguard Worker  deps = [
242*d9f75844SAndroid Build Coastguard Worker    "../api:field_trials_view",
243*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
244*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
245*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue:pending_task_safety_flag",
246*d9f75844SAndroid Build Coastguard Worker    "../api/units:time_delta",
247*d9f75844SAndroid Build Coastguard Worker    "../api/units:timestamp",
248*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_frame",
249*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:checks",
250*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
251*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:macromagic",
252*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:race_checker",
253*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rate_statistics",
254*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:timeutils",
255*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/synchronization:mutex",
256*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/system:no_unique_address",
257*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/task_utils:repeating_task",
258*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
259*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:field_trial",
260*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:metrics",
261*d9f75844SAndroid Build Coastguard Worker  ]
262*d9f75844SAndroid Build Coastguard Worker  absl_deps = [
263*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/algorithm:container",
264*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/base:core_headers",
265*d9f75844SAndroid Build Coastguard Worker  ]
266*d9f75844SAndroid Build Coastguard Worker}
267*d9f75844SAndroid Build Coastguard Worker
268*d9f75844SAndroid Build Coastguard Workerrtc_library("video_stream_buffer_controller") {
269*d9f75844SAndroid Build Coastguard Worker  sources = [
270*d9f75844SAndroid Build Coastguard Worker    "video_stream_buffer_controller.cc",
271*d9f75844SAndroid Build Coastguard Worker    "video_stream_buffer_controller.h",
272*d9f75844SAndroid Build Coastguard Worker  ]
273*d9f75844SAndroid Build Coastguard Worker  deps = [
274*d9f75844SAndroid Build Coastguard Worker    ":decode_synchronizer",
275*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_scheduler",
276*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_timing",
277*d9f75844SAndroid Build Coastguard Worker    ":task_queue_frame_decode_scheduler",
278*d9f75844SAndroid Build Coastguard Worker    ":video_receive_stream_timeout_tracker",
279*d9f75844SAndroid Build Coastguard Worker    "../api:field_trials_view",
280*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
281*d9f75844SAndroid Build Coastguard Worker    "../api/metronome",
282*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
283*d9f75844SAndroid Build Coastguard Worker    "../api/units:data_size",
284*d9f75844SAndroid Build Coastguard Worker    "../api/video:encoded_frame",
285*d9f75844SAndroid Build Coastguard Worker    "../api/video:frame_buffer",
286*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_rtp_headers",
287*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding",
288*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:frame_helpers",
289*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_codec_interface",
290*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/timing:inter_frame_delay",
291*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/timing:jitter_estimator",
292*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/timing:timing_module",
293*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:checks",
294*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
295*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:macromagic",
296*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:rtt_mult_experiment",
297*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
298*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:field_trial",
299*d9f75844SAndroid Build Coastguard Worker  ]
300*d9f75844SAndroid Build Coastguard Worker  absl_deps = [
301*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/base:core_headers",
302*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/functional:bind_front",
303*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/types:optional",
304*d9f75844SAndroid Build Coastguard Worker  ]
305*d9f75844SAndroid Build Coastguard Worker}
306*d9f75844SAndroid Build Coastguard Worker
307*d9f75844SAndroid Build Coastguard Workerrtc_source_set("frame_decode_scheduler") {
308*d9f75844SAndroid Build Coastguard Worker  sources = [ "frame_decode_scheduler.h" ]
309*d9f75844SAndroid Build Coastguard Worker  deps = [
310*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_timing",
311*d9f75844SAndroid Build Coastguard Worker    "../api/units:timestamp",
312*d9f75844SAndroid Build Coastguard Worker  ]
313*d9f75844SAndroid Build Coastguard Worker  absl_deps = [
314*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/functional:any_invocable",
315*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/types:optional",
316*d9f75844SAndroid Build Coastguard Worker  ]
317*d9f75844SAndroid Build Coastguard Worker}
318*d9f75844SAndroid Build Coastguard Worker
319*d9f75844SAndroid Build Coastguard Workerrtc_library("task_queue_frame_decode_scheduler") {
320*d9f75844SAndroid Build Coastguard Worker  sources = [
321*d9f75844SAndroid Build Coastguard Worker    "task_queue_frame_decode_scheduler.cc",
322*d9f75844SAndroid Build Coastguard Worker    "task_queue_frame_decode_scheduler.h",
323*d9f75844SAndroid Build Coastguard Worker  ]
324*d9f75844SAndroid Build Coastguard Worker  deps = [
325*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_scheduler",
326*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_timing",
327*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
328*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
329*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue:pending_task_safety_flag",
330*d9f75844SAndroid Build Coastguard Worker    "../api/units:timestamp",
331*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:checks",
332*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
333*d9f75844SAndroid Build Coastguard Worker  ]
334*d9f75844SAndroid Build Coastguard Worker  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
335*d9f75844SAndroid Build Coastguard Worker}
336*d9f75844SAndroid Build Coastguard Worker
337*d9f75844SAndroid Build Coastguard Workerrtc_library("frame_decode_timing") {
338*d9f75844SAndroid Build Coastguard Worker  sources = [
339*d9f75844SAndroid Build Coastguard Worker    "frame_decode_timing.cc",
340*d9f75844SAndroid Build Coastguard Worker    "frame_decode_timing.h",
341*d9f75844SAndroid Build Coastguard Worker  ]
342*d9f75844SAndroid Build Coastguard Worker  deps = [
343*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
344*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue:pending_task_safety_flag",
345*d9f75844SAndroid Build Coastguard Worker    "../api/units:time_delta",
346*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/timing:timing_module",
347*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
348*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
349*d9f75844SAndroid Build Coastguard Worker  ]
350*d9f75844SAndroid Build Coastguard Worker  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
351*d9f75844SAndroid Build Coastguard Worker}
352*d9f75844SAndroid Build Coastguard Worker
353*d9f75844SAndroid Build Coastguard Workerrtc_library("video_receive_stream_timeout_tracker") {
354*d9f75844SAndroid Build Coastguard Worker  sources = [
355*d9f75844SAndroid Build Coastguard Worker    "video_receive_stream_timeout_tracker.cc",
356*d9f75844SAndroid Build Coastguard Worker    "video_receive_stream_timeout_tracker.h",
357*d9f75844SAndroid Build Coastguard Worker  ]
358*d9f75844SAndroid Build Coastguard Worker  deps = [
359*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
360*d9f75844SAndroid Build Coastguard Worker    "../api/units:time_delta",
361*d9f75844SAndroid Build Coastguard Worker    "../api/units:timestamp",
362*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
363*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/task_utils:repeating_task",
364*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
365*d9f75844SAndroid Build Coastguard Worker  ]
366*d9f75844SAndroid Build Coastguard Worker}
367*d9f75844SAndroid Build Coastguard Worker
368*d9f75844SAndroid Build Coastguard Workerrtc_library("decode_synchronizer") {
369*d9f75844SAndroid Build Coastguard Worker  sources = [
370*d9f75844SAndroid Build Coastguard Worker    "decode_synchronizer.cc",
371*d9f75844SAndroid Build Coastguard Worker    "decode_synchronizer.h",
372*d9f75844SAndroid Build Coastguard Worker  ]
373*d9f75844SAndroid Build Coastguard Worker  deps = [
374*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_scheduler",
375*d9f75844SAndroid Build Coastguard Worker    ":frame_decode_timing",
376*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
377*d9f75844SAndroid Build Coastguard Worker    "../api/metronome",
378*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue",
379*d9f75844SAndroid Build Coastguard Worker    "../api/units:time_delta",
380*d9f75844SAndroid Build Coastguard Worker    "../api/units:timestamp",
381*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:checks",
382*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
383*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:macromagic",
384*d9f75844SAndroid Build Coastguard Worker  ]
385*d9f75844SAndroid Build Coastguard Worker  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
386*d9f75844SAndroid Build Coastguard Worker}
387*d9f75844SAndroid Build Coastguard Worker
388*d9f75844SAndroid Build Coastguard Workerrtc_library("video_stream_encoder_impl") {
389*d9f75844SAndroid Build Coastguard Worker  visibility = [ "*" ]
390*d9f75844SAndroid Build Coastguard Worker
391*d9f75844SAndroid Build Coastguard Worker  # visibility = [ "../api/video:video_stream_encoder_create" ]
392*d9f75844SAndroid Build Coastguard Worker  sources = [
393*d9f75844SAndroid Build Coastguard Worker    "alignment_adjuster.cc",
394*d9f75844SAndroid Build Coastguard Worker    "alignment_adjuster.h",
395*d9f75844SAndroid Build Coastguard Worker    "encoder_bitrate_adjuster.cc",
396*d9f75844SAndroid Build Coastguard Worker    "encoder_bitrate_adjuster.h",
397*d9f75844SAndroid Build Coastguard Worker    "encoder_overshoot_detector.cc",
398*d9f75844SAndroid Build Coastguard Worker    "encoder_overshoot_detector.h",
399*d9f75844SAndroid Build Coastguard Worker    "frame_encode_metadata_writer.cc",
400*d9f75844SAndroid Build Coastguard Worker    "frame_encode_metadata_writer.h",
401*d9f75844SAndroid Build Coastguard Worker    "video_source_sink_controller.cc",
402*d9f75844SAndroid Build Coastguard Worker    "video_source_sink_controller.h",
403*d9f75844SAndroid Build Coastguard Worker    "video_stream_encoder.cc",
404*d9f75844SAndroid Build Coastguard Worker    "video_stream_encoder.h",
405*d9f75844SAndroid Build Coastguard Worker  ]
406*d9f75844SAndroid Build Coastguard Worker
407*d9f75844SAndroid Build Coastguard Worker  deps = [
408*d9f75844SAndroid Build Coastguard Worker    ":frame_cadence_adapter",
409*d9f75844SAndroid Build Coastguard Worker    ":video_stream_encoder_interface",
410*d9f75844SAndroid Build Coastguard Worker    "../api:field_trials_view",
411*d9f75844SAndroid Build Coastguard Worker    "../api:rtp_parameters",
412*d9f75844SAndroid Build Coastguard Worker    "../api:rtp_sender_interface",
413*d9f75844SAndroid Build Coastguard Worker    "../api:sequence_checker",
414*d9f75844SAndroid Build Coastguard Worker    "../api/adaptation:resource_adaptation_api",
415*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue:pending_task_safety_flag",
416*d9f75844SAndroid Build Coastguard Worker    "../api/task_queue:task_queue",
417*d9f75844SAndroid Build Coastguard Worker    "../api/units:data_rate",
418*d9f75844SAndroid Build Coastguard Worker    "../api/video:encoded_image",
419*d9f75844SAndroid Build Coastguard Worker    "../api/video:render_resolution",
420*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_adaptation",
421*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocation",
422*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocator",
423*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_bitrate_allocator_factory",
424*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_codec_constants",
425*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_frame",
426*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_layers_allocation",
427*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_rtp_headers",
428*d9f75844SAndroid Build Coastguard Worker    "../api/video:video_stream_encoder",
429*d9f75844SAndroid Build Coastguard Worker    "../api/video_codecs:video_codecs_api",
430*d9f75844SAndroid Build Coastguard Worker    "../call/adaptation:resource_adaptation",
431*d9f75844SAndroid Build Coastguard Worker    "../common_video",
432*d9f75844SAndroid Build Coastguard Worker    "../media:rtc_media_base",
433*d9f75844SAndroid Build Coastguard Worker    "../modules:module_api_public",
434*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding",
435*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_codec_interface",
436*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:video_coding_utility",
437*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding:webrtc_vp9_helpers",
438*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/svc:scalability_structures",
439*d9f75844SAndroid Build Coastguard Worker    "../modules/video_coding/svc:svc_rate_allocator",
440*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:checks",
441*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:criticalsection",
442*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:event_tracer",
443*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:logging",
444*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:macromagic",
445*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:race_checker",
446*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rate_statistics",
447*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:refcount",
448*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_event",
449*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_numerics",
450*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:rtc_task_queue",
451*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:safe_conversions",
452*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:stringutils",
453*d9f75844SAndroid Build Coastguard Worker    "../rtc_base:timeutils",
454*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:alr_experiment",
455*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:balanced_degradation_settings",
456*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:encoder_info_settings",
457*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:field_trial_parser",
458*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:quality_rampup_experiment",
459*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:quality_scaler_settings",
460*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:quality_scaling_experiment",
461*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/experiments:rate_control_settings",
462*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/synchronization:mutex",
463*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/system:no_unique_address",
464*d9f75844SAndroid Build Coastguard Worker    "../rtc_base/task_utils:repeating_task",
465*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers",
466*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:field_trial",
467*d9f75844SAndroid Build Coastguard Worker    "../system_wrappers:metrics",
468*d9f75844SAndroid Build Coastguard Worker    "adaptation:video_adaptation",
469*d9f75844SAndroid Build Coastguard Worker    "config:encoder_config",
470*d9f75844SAndroid Build Coastguard Worker    "config:streams_config",
471*d9f75844SAndroid Build Coastguard Worker  ]
472*d9f75844SAndroid Build Coastguard Worker  absl_deps = [
473*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/algorithm:container",
474*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/base:core_headers",
475*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/cleanup",
476*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/container:inlined_vector",
477*d9f75844SAndroid Build Coastguard Worker    "//third_party/abseil-cpp/absl/types:optional",
478*d9f75844SAndroid Build Coastguard Worker  ]
479*d9f75844SAndroid Build Coastguard Worker}
480*d9f75844SAndroid Build Coastguard Worker
481*d9f75844SAndroid Build Coastguard Workerrtc_library("unique_timestamp_counter") {
482*d9f75844SAndroid Build Coastguard Worker  sources = [
483*d9f75844SAndroid Build Coastguard Worker    "unique_timestamp_counter.cc",
484*d9f75844SAndroid Build Coastguard Worker    "unique_timestamp_counter.h",
485*d9f75844SAndroid Build Coastguard Worker  ]
486*d9f75844SAndroid Build Coastguard Worker}
487*d9f75844SAndroid Build Coastguard Worker
488*d9f75844SAndroid Build Coastguard Workerif (rtc_include_tests) {
489*d9f75844SAndroid Build Coastguard Worker  rtc_library("video_mocks") {
490*d9f75844SAndroid Build Coastguard Worker    testonly = true
491*d9f75844SAndroid Build Coastguard Worker    sources = [ "test/mock_video_stream_encoder.h" ]
492*d9f75844SAndroid Build Coastguard Worker    deps = [
493*d9f75844SAndroid Build Coastguard Worker      ":video_stream_encoder_interface",
494*d9f75844SAndroid Build Coastguard Worker      "../api/video:video_stream_encoder",
495*d9f75844SAndroid Build Coastguard Worker      "../test:test_support",
496*d9f75844SAndroid Build Coastguard Worker    ]
497*d9f75844SAndroid Build Coastguard Worker  }
498*d9f75844SAndroid Build Coastguard Worker  if (!build_with_chromium) {
499*d9f75844SAndroid Build Coastguard Worker    rtc_library("video_quality_test") {
500*d9f75844SAndroid Build Coastguard Worker      testonly = true
501*d9f75844SAndroid Build Coastguard Worker
502*d9f75844SAndroid Build Coastguard Worker      # Only targets in this file and api/ can depend on this.
503*d9f75844SAndroid Build Coastguard Worker      visibility = [
504*d9f75844SAndroid Build Coastguard Worker        ":*",
505*d9f75844SAndroid Build Coastguard Worker        "../api:create_video_quality_test_fixture_api",
506*d9f75844SAndroid Build Coastguard Worker      ]
507*d9f75844SAndroid Build Coastguard Worker      sources = [
508*d9f75844SAndroid Build Coastguard Worker        "video_analyzer.cc",
509*d9f75844SAndroid Build Coastguard Worker        "video_analyzer.h",
510*d9f75844SAndroid Build Coastguard Worker        "video_quality_test.cc",
511*d9f75844SAndroid Build Coastguard Worker        "video_quality_test.h",
512*d9f75844SAndroid Build Coastguard Worker      ]
513*d9f75844SAndroid Build Coastguard Worker      deps = [
514*d9f75844SAndroid Build Coastguard Worker        ":frame_dumping_decoder",
515*d9f75844SAndroid Build Coastguard Worker        "../api:create_frame_generator",
516*d9f75844SAndroid Build Coastguard Worker        "../api:fec_controller_api",
517*d9f75844SAndroid Build Coastguard Worker        "../api:frame_generator_api",
518*d9f75844SAndroid Build Coastguard Worker        "../api:libjingle_peerconnection_api",
519*d9f75844SAndroid Build Coastguard Worker        "../api:rtc_event_log_output_file",
520*d9f75844SAndroid Build Coastguard Worker        "../api:test_dependency_factory",
521*d9f75844SAndroid Build Coastguard Worker        "../api:video_quality_test_fixture_api",
522*d9f75844SAndroid Build Coastguard Worker        "../api/numerics",
523*d9f75844SAndroid Build Coastguard Worker        "../api/rtc_event_log:rtc_event_log_factory",
524*d9f75844SAndroid Build Coastguard Worker        "../api/task_queue",
525*d9f75844SAndroid Build Coastguard Worker        "../api/task_queue:default_task_queue_factory",
526*d9f75844SAndroid Build Coastguard Worker        "../api/test/metrics:global_metrics_logger_and_exporter",
527*d9f75844SAndroid Build Coastguard Worker        "../api/test/metrics:metric",
528*d9f75844SAndroid Build Coastguard Worker        "../api/video:builtin_video_bitrate_allocator_factory",
529*d9f75844SAndroid Build Coastguard Worker        "../api/video:video_bitrate_allocator_factory",
530*d9f75844SAndroid Build Coastguard Worker        "../api/video:video_frame",
531*d9f75844SAndroid Build Coastguard Worker        "../api/video:video_rtp_headers",
532*d9f75844SAndroid Build Coastguard Worker        "../api/video_codecs:video_codecs_api",
533*d9f75844SAndroid Build Coastguard Worker        "../call:fake_network",
534*d9f75844SAndroid Build Coastguard Worker        "../call:simulated_network",
535*d9f75844SAndroid Build Coastguard Worker        "../common_video",
536*d9f75844SAndroid Build Coastguard Worker        "../media:rtc_audio_video",
537*d9f75844SAndroid Build Coastguard Worker        "../media:rtc_encoder_simulcast_proxy",
538*d9f75844SAndroid Build Coastguard Worker        "../media:rtc_internal_video_codecs",
539*d9f75844SAndroid Build Coastguard Worker        "../media:rtc_media_base",
540*d9f75844SAndroid Build Coastguard Worker        "../modules/audio_device:audio_device_api",
541*d9f75844SAndroid Build Coastguard Worker        "../modules/audio_device:audio_device_module_from_input_and_output",
542*d9f75844SAndroid Build Coastguard Worker        "../modules/audio_device:windows_core_audio_utility",
543*d9f75844SAndroid Build Coastguard Worker        "../modules/audio_mixer:audio_mixer_impl",
544*d9f75844SAndroid Build Coastguard Worker        "../modules/rtp_rtcp",
545*d9f75844SAndroid Build Coastguard Worker        "../modules/rtp_rtcp:rtp_rtcp_format",
546*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding",
547*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:video_coding_utility",
548*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:webrtc_h264",
549*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:webrtc_multiplex",
550*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:webrtc_vp8",
551*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:webrtc_vp9",
552*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:macromagic",
553*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:platform_thread",
554*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:rtc_base_tests_utils",
555*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:rtc_event",
556*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:rtc_numerics",
557*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:stringutils",
558*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:task_queue_for_test",
559*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:timeutils",
560*d9f75844SAndroid Build Coastguard Worker        "../rtc_base/synchronization:mutex",
561*d9f75844SAndroid Build Coastguard Worker        "../rtc_base/task_utils:repeating_task",
562*d9f75844SAndroid Build Coastguard Worker        "../system_wrappers",
563*d9f75844SAndroid Build Coastguard Worker        "../test:fake_video_codecs",
564*d9f75844SAndroid Build Coastguard Worker        "../test:fileutils",
565*d9f75844SAndroid Build Coastguard Worker        "../test:platform_video_capturer",
566*d9f75844SAndroid Build Coastguard Worker        "../test:rtp_test_utils",
567*d9f75844SAndroid Build Coastguard Worker        "../test:test_common",
568*d9f75844SAndroid Build Coastguard Worker        "../test:test_renderer",
569*d9f75844SAndroid Build Coastguard Worker        "../test:test_support",
570*d9f75844SAndroid Build Coastguard Worker        "../test:test_support_test_artifacts",
571*d9f75844SAndroid Build Coastguard Worker        "../test:video_test_common",
572*d9f75844SAndroid Build Coastguard Worker        "../test:video_test_support",
573*d9f75844SAndroid Build Coastguard Worker        "config:streams_config",
574*d9f75844SAndroid Build Coastguard Worker      ]
575*d9f75844SAndroid Build Coastguard Worker      absl_deps = [
576*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/algorithm:container",
577*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:flag",
578*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:parse",
579*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/strings",
580*d9f75844SAndroid Build Coastguard Worker      ]
581*d9f75844SAndroid Build Coastguard Worker
582*d9f75844SAndroid Build Coastguard Worker      if (is_mac || is_ios) {
583*d9f75844SAndroid Build Coastguard Worker        deps += [ "../test:video_test_mac" ]
584*d9f75844SAndroid Build Coastguard Worker      }
585*d9f75844SAndroid Build Coastguard Worker      if (is_win) {
586*d9f75844SAndroid Build Coastguard Worker        deps += [ "../rtc_base/win:scoped_com_initializer" ]
587*d9f75844SAndroid Build Coastguard Worker      }
588*d9f75844SAndroid Build Coastguard Worker    }
589*d9f75844SAndroid Build Coastguard Worker
590*d9f75844SAndroid Build Coastguard Worker    rtc_library("video_full_stack_tests") {
591*d9f75844SAndroid Build Coastguard Worker      testonly = true
592*d9f75844SAndroid Build Coastguard Worker
593*d9f75844SAndroid Build Coastguard Worker      sources = [ "full_stack_tests.cc" ]
594*d9f75844SAndroid Build Coastguard Worker      deps = [
595*d9f75844SAndroid Build Coastguard Worker        ":video_quality_test",
596*d9f75844SAndroid Build Coastguard Worker        "../api:simulated_network_api",
597*d9f75844SAndroid Build Coastguard Worker        "../api:test_dependency_factory",
598*d9f75844SAndroid Build Coastguard Worker        "../api:video_quality_test_fixture_api",
599*d9f75844SAndroid Build Coastguard Worker        "../api/video_codecs:video_codecs_api",
600*d9f75844SAndroid Build Coastguard Worker        "../modules/pacing",
601*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:webrtc_vp9",
602*d9f75844SAndroid Build Coastguard Worker        "../rtc_base/experiments:alr_experiment",
603*d9f75844SAndroid Build Coastguard Worker        "../system_wrappers:field_trial",
604*d9f75844SAndroid Build Coastguard Worker        "../test:field_trial",
605*d9f75844SAndroid Build Coastguard Worker        "../test:fileutils",
606*d9f75844SAndroid Build Coastguard Worker        "../test:test_common",
607*d9f75844SAndroid Build Coastguard Worker        "../test:test_support",
608*d9f75844SAndroid Build Coastguard Worker        "../video/config:encoder_config",
609*d9f75844SAndroid Build Coastguard Worker        "//testing/gtest",
610*d9f75844SAndroid Build Coastguard Worker      ]
611*d9f75844SAndroid Build Coastguard Worker      absl_deps = [
612*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:flag",
613*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:parse",
614*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/types:optional",
615*d9f75844SAndroid Build Coastguard Worker      ]
616*d9f75844SAndroid Build Coastguard Worker    }
617*d9f75844SAndroid Build Coastguard Worker
618*d9f75844SAndroid Build Coastguard Worker    rtc_library("video_pc_full_stack_tests") {
619*d9f75844SAndroid Build Coastguard Worker      testonly = true
620*d9f75844SAndroid Build Coastguard Worker
621*d9f75844SAndroid Build Coastguard Worker      sources = [ "pc_full_stack_tests.cc" ]
622*d9f75844SAndroid Build Coastguard Worker      deps = [
623*d9f75844SAndroid Build Coastguard Worker        "../api:create_network_emulation_manager",
624*d9f75844SAndroid Build Coastguard Worker        "../api:create_peer_connection_quality_test_frame_generator",
625*d9f75844SAndroid Build Coastguard Worker        "../api:create_peerconnection_quality_test_fixture",
626*d9f75844SAndroid Build Coastguard Worker        "../api:frame_generator_api",
627*d9f75844SAndroid Build Coastguard Worker        "../api:media_stream_interface",
628*d9f75844SAndroid Build Coastguard Worker        "../api:network_emulation_manager_api",
629*d9f75844SAndroid Build Coastguard Worker        "../api:peer_connection_quality_test_fixture_api",
630*d9f75844SAndroid Build Coastguard Worker        "../api:simulated_network_api",
631*d9f75844SAndroid Build Coastguard Worker        "../api:time_controller",
632*d9f75844SAndroid Build Coastguard Worker        "../api/test/metrics:global_metrics_logger_and_exporter",
633*d9f75844SAndroid Build Coastguard Worker        "../api/test/pclf:media_configuration",
634*d9f75844SAndroid Build Coastguard Worker        "../api/test/pclf:media_quality_test_params",
635*d9f75844SAndroid Build Coastguard Worker        "../api/test/pclf:peer_configurer",
636*d9f75844SAndroid Build Coastguard Worker        "../api/video_codecs:video_codecs_api",
637*d9f75844SAndroid Build Coastguard Worker        "../call:simulated_network",
638*d9f75844SAndroid Build Coastguard Worker        "../modules/video_coding:webrtc_vp9",
639*d9f75844SAndroid Build Coastguard Worker        "../system_wrappers:field_trial",
640*d9f75844SAndroid Build Coastguard Worker        "../test:field_trial",
641*d9f75844SAndroid Build Coastguard Worker        "../test:fileutils",
642*d9f75844SAndroid Build Coastguard Worker        "../test:test_support",
643*d9f75844SAndroid Build Coastguard Worker        "../test/pc/e2e:network_quality_metrics_reporter",
644*d9f75844SAndroid Build Coastguard Worker      ]
645*d9f75844SAndroid Build Coastguard Worker    }
646*d9f75844SAndroid Build Coastguard Worker
647*d9f75844SAndroid Build Coastguard Worker    rtc_library("video_loopback_lib") {
648*d9f75844SAndroid Build Coastguard Worker      testonly = true
649*d9f75844SAndroid Build Coastguard Worker      sources = [
650*d9f75844SAndroid Build Coastguard Worker        "video_loopback.cc",
651*d9f75844SAndroid Build Coastguard Worker        "video_loopback.h",
652*d9f75844SAndroid Build Coastguard Worker      ]
653*d9f75844SAndroid Build Coastguard Worker      deps = [
654*d9f75844SAndroid Build Coastguard Worker        ":video_quality_test",
655*d9f75844SAndroid Build Coastguard Worker        "../api:libjingle_peerconnection_api",
656*d9f75844SAndroid Build Coastguard Worker        "../api:simulated_network_api",
657*d9f75844SAndroid Build Coastguard Worker        "../api:video_quality_test_fixture_api",
658*d9f75844SAndroid Build Coastguard Worker        "../api/transport:bitrate_settings",
659*d9f75844SAndroid Build Coastguard Worker        "../api/video_codecs:video_codecs_api",
660*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:checks",
661*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:logging",
662*d9f75844SAndroid Build Coastguard Worker        "../system_wrappers:field_trial",
663*d9f75844SAndroid Build Coastguard Worker        "../test:field_trial",
664*d9f75844SAndroid Build Coastguard Worker        "../test:run_test",
665*d9f75844SAndroid Build Coastguard Worker        "../test:run_test_interface",
666*d9f75844SAndroid Build Coastguard Worker        "../test:test_common",
667*d9f75844SAndroid Build Coastguard Worker        "../test:test_renderer",
668*d9f75844SAndroid Build Coastguard Worker        "../test:test_support",
669*d9f75844SAndroid Build Coastguard Worker        "//testing/gtest",
670*d9f75844SAndroid Build Coastguard Worker      ]
671*d9f75844SAndroid Build Coastguard Worker      absl_deps = [
672*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:flag",
673*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:parse",
674*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/types:optional",
675*d9f75844SAndroid Build Coastguard Worker      ]
676*d9f75844SAndroid Build Coastguard Worker    }
677*d9f75844SAndroid Build Coastguard Worker
678*d9f75844SAndroid Build Coastguard Worker    if (is_mac) {
679*d9f75844SAndroid Build Coastguard Worker      mac_app_bundle("video_loopback") {
680*d9f75844SAndroid Build Coastguard Worker        testonly = true
681*d9f75844SAndroid Build Coastguard Worker        sources = [ "video_loopback_main.mm" ]
682*d9f75844SAndroid Build Coastguard Worker        info_plist = "../test/mac/Info.plist"
683*d9f75844SAndroid Build Coastguard Worker        deps = [ ":video_loopback_lib" ]
684*d9f75844SAndroid Build Coastguard Worker      }
685*d9f75844SAndroid Build Coastguard Worker    } else {
686*d9f75844SAndroid Build Coastguard Worker      rtc_executable("video_loopback") {
687*d9f75844SAndroid Build Coastguard Worker        testonly = true
688*d9f75844SAndroid Build Coastguard Worker        sources = [ "video_loopback_main.cc" ]
689*d9f75844SAndroid Build Coastguard Worker        deps = [ ":video_loopback_lib" ]
690*d9f75844SAndroid Build Coastguard Worker      }
691*d9f75844SAndroid Build Coastguard Worker    }
692*d9f75844SAndroid Build Coastguard Worker
693*d9f75844SAndroid Build Coastguard Worker    rtc_executable("screenshare_loopback") {
694*d9f75844SAndroid Build Coastguard Worker      testonly = true
695*d9f75844SAndroid Build Coastguard Worker      sources = [ "screenshare_loopback.cc" ]
696*d9f75844SAndroid Build Coastguard Worker
697*d9f75844SAndroid Build Coastguard Worker      deps = [
698*d9f75844SAndroid Build Coastguard Worker        ":video_quality_test",
699*d9f75844SAndroid Build Coastguard Worker        "../api:libjingle_peerconnection_api",
700*d9f75844SAndroid Build Coastguard Worker        "../api:simulated_network_api",
701*d9f75844SAndroid Build Coastguard Worker        "../api:video_quality_test_fixture_api",
702*d9f75844SAndroid Build Coastguard Worker        "../api/transport:bitrate_settings",
703*d9f75844SAndroid Build Coastguard Worker        "../api/video_codecs:video_codecs_api",
704*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:checks",
705*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:logging",
706*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:stringutils",
707*d9f75844SAndroid Build Coastguard Worker        "../system_wrappers:field_trial",
708*d9f75844SAndroid Build Coastguard Worker        "../test:field_trial",
709*d9f75844SAndroid Build Coastguard Worker        "../test:run_test",
710*d9f75844SAndroid Build Coastguard Worker        "../test:run_test_interface",
711*d9f75844SAndroid Build Coastguard Worker        "../test:test_common",
712*d9f75844SAndroid Build Coastguard Worker        "../test:test_renderer",
713*d9f75844SAndroid Build Coastguard Worker        "../test:test_support",
714*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:flag",
715*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:parse",
716*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/types:optional",
717*d9f75844SAndroid Build Coastguard Worker      ]
718*d9f75844SAndroid Build Coastguard Worker    }
719*d9f75844SAndroid Build Coastguard Worker
720*d9f75844SAndroid Build Coastguard Worker    rtc_executable("sv_loopback") {
721*d9f75844SAndroid Build Coastguard Worker      testonly = true
722*d9f75844SAndroid Build Coastguard Worker      sources = [ "sv_loopback.cc" ]
723*d9f75844SAndroid Build Coastguard Worker      deps = [
724*d9f75844SAndroid Build Coastguard Worker        ":video_quality_test",
725*d9f75844SAndroid Build Coastguard Worker        "../api:libjingle_peerconnection_api",
726*d9f75844SAndroid Build Coastguard Worker        "../api:simulated_network_api",
727*d9f75844SAndroid Build Coastguard Worker        "../api:video_quality_test_fixture_api",
728*d9f75844SAndroid Build Coastguard Worker        "../api/transport:bitrate_settings",
729*d9f75844SAndroid Build Coastguard Worker        "../api/video_codecs:video_codecs_api",
730*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:checks",
731*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:logging",
732*d9f75844SAndroid Build Coastguard Worker        "../rtc_base:stringutils",
733*d9f75844SAndroid Build Coastguard Worker        "../system_wrappers:field_trial",
734*d9f75844SAndroid Build Coastguard Worker        "../test:field_trial",
735*d9f75844SAndroid Build Coastguard Worker        "../test:run_test",
736*d9f75844SAndroid Build Coastguard Worker        "../test:run_test_interface",
737*d9f75844SAndroid Build Coastguard Worker        "../test:test_common",
738*d9f75844SAndroid Build Coastguard Worker        "../test:test_renderer",
739*d9f75844SAndroid Build Coastguard Worker        "../test:test_support",
740*d9f75844SAndroid Build Coastguard Worker        "//testing/gtest",
741*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:flag",
742*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/flags:parse",
743*d9f75844SAndroid Build Coastguard Worker        "//third_party/abseil-cpp/absl/types:optional",
744*d9f75844SAndroid Build Coastguard Worker      ]
745*d9f75844SAndroid Build Coastguard Worker    }
746*d9f75844SAndroid Build Coastguard Worker  }
747*d9f75844SAndroid Build Coastguard Worker
748*d9f75844SAndroid Build Coastguard Worker  # TODO(pbos): Rename test suite.
749*d9f75844SAndroid Build Coastguard Worker  rtc_library("video_tests") {
750*d9f75844SAndroid Build Coastguard Worker    testonly = true
751*d9f75844SAndroid Build Coastguard Worker
752*d9f75844SAndroid Build Coastguard Worker    defines = []
753*d9f75844SAndroid Build Coastguard Worker    sources = [
754*d9f75844SAndroid Build Coastguard Worker      "alignment_adjuster_unittest.cc",
755*d9f75844SAndroid Build Coastguard Worker      "buffered_frame_decryptor_unittest.cc",
756*d9f75844SAndroid Build Coastguard Worker      "call_stats2_unittest.cc",
757*d9f75844SAndroid Build Coastguard Worker      "cpu_scaling_tests.cc",
758*d9f75844SAndroid Build Coastguard Worker      "decode_synchronizer_unittest.cc",
759*d9f75844SAndroid Build Coastguard Worker      "encoder_bitrate_adjuster_unittest.cc",
760*d9f75844SAndroid Build Coastguard Worker      "encoder_overshoot_detector_unittest.cc",
761*d9f75844SAndroid Build Coastguard Worker      "encoder_rtcp_feedback_unittest.cc",
762*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/bandwidth_tests.cc",
763*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/call_operation_tests.cc",
764*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/codec_tests.cc",
765*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/config_tests.cc",
766*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/extended_reports_tests.cc",
767*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/fec_tests.cc",
768*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/frame_encryption_tests.cc",
769*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/histogram_tests.cc",
770*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/multi_codec_receive_tests.cc",
771*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/multi_stream_tester.cc",
772*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/multi_stream_tester.h",
773*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/multi_stream_tests.cc",
774*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/network_state_tests.cc",
775*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/resolution_bitrate_limits_tests.cc",
776*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/retransmission_tests.cc",
777*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/rtp_rtcp_tests.cc",
778*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/ssrc_tests.cc",
779*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/stats_tests.cc",
780*d9f75844SAndroid Build Coastguard Worker      "end_to_end_tests/transport_feedback_tests.cc",
781*d9f75844SAndroid Build Coastguard Worker      "frame_cadence_adapter_unittest.cc",
782*d9f75844SAndroid Build Coastguard Worker      "frame_decode_timing_unittest.cc",
783*d9f75844SAndroid Build Coastguard Worker      "frame_encode_metadata_writer_unittest.cc",
784*d9f75844SAndroid Build Coastguard Worker      "picture_id_tests.cc",
785*d9f75844SAndroid Build Coastguard Worker      "quality_limitation_reason_tracker_unittest.cc",
786*d9f75844SAndroid Build Coastguard Worker      "quality_scaling_tests.cc",
787*d9f75844SAndroid Build Coastguard Worker      "quality_threshold_unittest.cc",
788*d9f75844SAndroid Build Coastguard Worker      "receive_statistics_proxy2_unittest.cc",
789*d9f75844SAndroid Build Coastguard Worker      "report_block_stats_unittest.cc",
790*d9f75844SAndroid Build Coastguard Worker      "rtp_video_stream_receiver2_unittest.cc",
791*d9f75844SAndroid Build Coastguard Worker      "rtp_video_stream_receiver_frame_transformer_delegate_unittest.cc",
792*d9f75844SAndroid Build Coastguard Worker      "send_delay_stats_unittest.cc",
793*d9f75844SAndroid Build Coastguard Worker      "send_statistics_proxy_unittest.cc",
794*d9f75844SAndroid Build Coastguard Worker      "stats_counter_unittest.cc",
795*d9f75844SAndroid Build Coastguard Worker      "stream_synchronization_unittest.cc",
796*d9f75844SAndroid Build Coastguard Worker      "task_queue_frame_decode_scheduler_unittest.cc",
797*d9f75844SAndroid Build Coastguard Worker      "unique_timestamp_counter_unittest.cc",
798*d9f75844SAndroid Build Coastguard Worker      "video_receive_stream2_unittest.cc",
799*d9f75844SAndroid Build Coastguard Worker      "video_receive_stream_timeout_tracker_unittest.cc",
800*d9f75844SAndroid Build Coastguard Worker      "video_send_stream_impl_unittest.cc",
801*d9f75844SAndroid Build Coastguard Worker      "video_send_stream_tests.cc",
802*d9f75844SAndroid Build Coastguard Worker      "video_source_sink_controller_unittest.cc",
803*d9f75844SAndroid Build Coastguard Worker      "video_stream_buffer_controller_unittest.cc",
804*d9f75844SAndroid Build Coastguard Worker      "video_stream_decoder_impl_unittest.cc",
805*d9f75844SAndroid Build Coastguard Worker      "video_stream_encoder_unittest.cc",
806*d9f75844SAndroid Build Coastguard Worker    ]
807*d9f75844SAndroid Build Coastguard Worker    deps = [
808*d9f75844SAndroid Build Coastguard Worker      ":decode_synchronizer",
809*d9f75844SAndroid Build Coastguard Worker      ":frame_cadence_adapter",
810*d9f75844SAndroid Build Coastguard Worker      ":frame_decode_scheduler",
811*d9f75844SAndroid Build Coastguard Worker      ":frame_decode_timing",
812*d9f75844SAndroid Build Coastguard Worker      ":task_queue_frame_decode_scheduler",
813*d9f75844SAndroid Build Coastguard Worker      ":unique_timestamp_counter",
814*d9f75844SAndroid Build Coastguard Worker      ":video",
815*d9f75844SAndroid Build Coastguard Worker      ":video_mocks",
816*d9f75844SAndroid Build Coastguard Worker      ":video_receive_stream_timeout_tracker",
817*d9f75844SAndroid Build Coastguard Worker      ":video_stream_buffer_controller",
818*d9f75844SAndroid Build Coastguard Worker      ":video_stream_decoder_impl",
819*d9f75844SAndroid Build Coastguard Worker      ":video_stream_encoder_impl",
820*d9f75844SAndroid Build Coastguard Worker      ":video_stream_encoder_interface",
821*d9f75844SAndroid Build Coastguard Worker      "../api:create_frame_generator",
822*d9f75844SAndroid Build Coastguard Worker      "../api:fake_frame_decryptor",
823*d9f75844SAndroid Build Coastguard Worker      "../api:fake_frame_encryptor",
824*d9f75844SAndroid Build Coastguard Worker      "../api:field_trials_view",
825*d9f75844SAndroid Build Coastguard Worker      "../api:frame_generator_api",
826*d9f75844SAndroid Build Coastguard Worker      "../api:libjingle_peerconnection_api",
827*d9f75844SAndroid Build Coastguard Worker      "../api:mock_fec_controller_override",
828*d9f75844SAndroid Build Coastguard Worker      "../api:mock_frame_decryptor",
829*d9f75844SAndroid Build Coastguard Worker      "../api:mock_video_codec_factory",
830*d9f75844SAndroid Build Coastguard Worker      "../api:mock_video_decoder",
831*d9f75844SAndroid Build Coastguard Worker      "../api:mock_video_encoder",
832*d9f75844SAndroid Build Coastguard Worker      "../api:rtp_headers",
833*d9f75844SAndroid Build Coastguard Worker      "../api:rtp_parameters",
834*d9f75844SAndroid Build Coastguard Worker      "../api:scoped_refptr",
835*d9f75844SAndroid Build Coastguard Worker      "../api:sequence_checker",
836*d9f75844SAndroid Build Coastguard Worker      "../api:simulated_network_api",
837*d9f75844SAndroid Build Coastguard Worker      "../api:time_controller",
838*d9f75844SAndroid Build Coastguard Worker      "../api:transport_api",
839*d9f75844SAndroid Build Coastguard Worker      "../api/adaptation:resource_adaptation_api",
840*d9f75844SAndroid Build Coastguard Worker      "../api/crypto:options",
841*d9f75844SAndroid Build Coastguard Worker      "../api/metronome/test:fake_metronome",
842*d9f75844SAndroid Build Coastguard Worker      "../api/rtc_event_log",
843*d9f75844SAndroid Build Coastguard Worker      "../api/task_queue",
844*d9f75844SAndroid Build Coastguard Worker      "../api/task_queue:default_task_queue_factory",
845*d9f75844SAndroid Build Coastguard Worker      "../api/test/metrics:global_metrics_logger_and_exporter",
846*d9f75844SAndroid Build Coastguard Worker      "../api/test/metrics:metric",
847*d9f75844SAndroid Build Coastguard Worker      "../api/test/video:function_video_factory",
848*d9f75844SAndroid Build Coastguard Worker      "../api/transport:field_trial_based_config",
849*d9f75844SAndroid Build Coastguard Worker      "../api/units:data_rate",
850*d9f75844SAndroid Build Coastguard Worker      "../api/units:frequency",
851*d9f75844SAndroid Build Coastguard Worker      "../api/units:time_delta",
852*d9f75844SAndroid Build Coastguard Worker      "../api/units:timestamp",
853*d9f75844SAndroid Build Coastguard Worker      "../api/video:builtin_video_bitrate_allocator_factory",
854*d9f75844SAndroid Build Coastguard Worker      "../api/video:encoded_image",
855*d9f75844SAndroid Build Coastguard Worker      "../api/video:recordable_encoded_frame",
856*d9f75844SAndroid Build Coastguard Worker      "../api/video:video_adaptation",
857*d9f75844SAndroid Build Coastguard Worker      "../api/video:video_bitrate_allocation",
858*d9f75844SAndroid Build Coastguard Worker      "../api/video:video_frame",
859*d9f75844SAndroid Build Coastguard Worker      "../api/video:video_frame_type",
860*d9f75844SAndroid Build Coastguard Worker      "../api/video:video_rtp_headers",
861*d9f75844SAndroid Build Coastguard Worker      "../api/video/test:video_frame_matchers",
862*d9f75844SAndroid Build Coastguard Worker      "../api/video_codecs:video_codecs_api",
863*d9f75844SAndroid Build Coastguard Worker      "../api/video_codecs:vp8_temporal_layers_factory",
864*d9f75844SAndroid Build Coastguard Worker      "../call:call_interfaces",
865*d9f75844SAndroid Build Coastguard Worker      "../call:fake_network",
866*d9f75844SAndroid Build Coastguard Worker      "../call:mock_bitrate_allocator",
867*d9f75844SAndroid Build Coastguard Worker      "../call:mock_rtp_interfaces",
868*d9f75844SAndroid Build Coastguard Worker      "../call:rtp_interfaces",
869*d9f75844SAndroid Build Coastguard Worker      "../call:rtp_receiver",
870*d9f75844SAndroid Build Coastguard Worker      "../call:rtp_sender",
871*d9f75844SAndroid Build Coastguard Worker      "../call:simulated_network",
872*d9f75844SAndroid Build Coastguard Worker      "../call:simulated_packet_receiver",
873*d9f75844SAndroid Build Coastguard Worker      "../call:video_stream_api",
874*d9f75844SAndroid Build Coastguard Worker      "../call/adaptation:resource_adaptation",
875*d9f75844SAndroid Build Coastguard Worker      "../call/adaptation:resource_adaptation_test_utilities",
876*d9f75844SAndroid Build Coastguard Worker      "../common_video",
877*d9f75844SAndroid Build Coastguard Worker      "../common_video/test:utilities",
878*d9f75844SAndroid Build Coastguard Worker      "../media:rtc_audio_video",
879*d9f75844SAndroid Build Coastguard Worker      "../media:rtc_internal_video_codecs",
880*d9f75844SAndroid Build Coastguard Worker      "../media:rtc_media",
881*d9f75844SAndroid Build Coastguard Worker      "../media:rtc_media_base",
882*d9f75844SAndroid Build Coastguard Worker      "../media:rtc_media_tests_utils",
883*d9f75844SAndroid Build Coastguard Worker      "../media:rtc_simulcast_encoder_adapter",
884*d9f75844SAndroid Build Coastguard Worker      "../modules:module_api_public",
885*d9f75844SAndroid Build Coastguard Worker      "../modules/pacing",
886*d9f75844SAndroid Build Coastguard Worker      "../modules/rtp_rtcp",
887*d9f75844SAndroid Build Coastguard Worker      "../modules/rtp_rtcp:mock_rtp_rtcp",
888*d9f75844SAndroid Build Coastguard Worker      "../modules/rtp_rtcp:rtp_rtcp_format",
889*d9f75844SAndroid Build Coastguard Worker      "../modules/utility:utility",
890*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding",
891*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:codec_globals_headers",
892*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:encoded_frame",
893*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:packet_buffer",
894*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:video_codec_interface",
895*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:video_coding_utility",
896*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:webrtc_h264",
897*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:webrtc_multiplex",
898*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:webrtc_vp8",
899*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:webrtc_vp9",
900*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding:webrtc_vp9_helpers",
901*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding/codecs/av1:libaom_av1_encoder",
902*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding/svc:scalability_mode_util",
903*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding/svc:scalability_structures",
904*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding/svc:scalable_video_controller",
905*d9f75844SAndroid Build Coastguard Worker      "../modules/video_coding/timing:timing_module",
906*d9f75844SAndroid Build Coastguard Worker      "../rtc_base",
907*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:byte_buffer",
908*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:checks",
909*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:gunit_helpers",
910*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:logging",
911*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:macromagic",
912*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:platform_thread",
913*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:rate_limiter",
914*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:rate_statistics",
915*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:refcount",
916*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:rtc_base_tests_utils",
917*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:rtc_event",
918*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:rtc_numerics",
919*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:rtc_task_queue",
920*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:safe_conversions",
921*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:stringutils",
922*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:task_queue_for_test",
923*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:threading",
924*d9f75844SAndroid Build Coastguard Worker      "../rtc_base:timeutils",
925*d9f75844SAndroid Build Coastguard Worker      "../rtc_base/containers:flat_map",
926*d9f75844SAndroid Build Coastguard Worker      "../rtc_base/experiments:alr_experiment",
927*d9f75844SAndroid Build Coastguard Worker      "../rtc_base/experiments:encoder_info_settings",
928*d9f75844SAndroid Build Coastguard Worker      "../rtc_base/synchronization:mutex",
929*d9f75844SAndroid Build Coastguard Worker      "../system_wrappers",
930*d9f75844SAndroid Build Coastguard Worker      "../system_wrappers:field_trial",
931*d9f75844SAndroid Build Coastguard Worker      "../system_wrappers:metrics",
932*d9f75844SAndroid Build Coastguard Worker      "../test:direct_transport",
933*d9f75844SAndroid Build Coastguard Worker      "../test:encoder_settings",
934*d9f75844SAndroid Build Coastguard Worker      "../test:fake_encoded_frame",
935*d9f75844SAndroid Build Coastguard Worker      "../test:fake_video_codecs",
936*d9f75844SAndroid Build Coastguard Worker      "../test:field_trial",
937*d9f75844SAndroid Build Coastguard Worker      "../test:fileutils",
938*d9f75844SAndroid Build Coastguard Worker      "../test:frame_utils",
939*d9f75844SAndroid Build Coastguard Worker      "../test:mock_frame_transformer",
940*d9f75844SAndroid Build Coastguard Worker      "../test:mock_transport",
941*d9f75844SAndroid Build Coastguard Worker      "../test:null_transport",
942*d9f75844SAndroid Build Coastguard Worker      "../test:rtp_test_utils",
943*d9f75844SAndroid Build Coastguard Worker      "../test:run_loop",
944*d9f75844SAndroid Build Coastguard Worker      "../test:scoped_key_value_config",
945*d9f75844SAndroid Build Coastguard Worker      "../test:test_common",
946*d9f75844SAndroid Build Coastguard Worker      "../test:test_support",
947*d9f75844SAndroid Build Coastguard Worker      "../test:video_test_common",
948*d9f75844SAndroid Build Coastguard Worker      "../test/time_controller",
949*d9f75844SAndroid Build Coastguard Worker      "adaptation:video_adaptation",
950*d9f75844SAndroid Build Coastguard Worker      "config:encoder_config",
951*d9f75844SAndroid Build Coastguard Worker      "config:streams_config",
952*d9f75844SAndroid Build Coastguard Worker      "config:video_config_tests",
953*d9f75844SAndroid Build Coastguard Worker    ]
954*d9f75844SAndroid Build Coastguard Worker    absl_deps = [
955*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/algorithm:container",
956*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/functional:any_invocable",
957*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/functional:bind_front",
958*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/memory",
959*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/strings",
960*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/types:optional",
961*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/types:variant",
962*d9f75844SAndroid Build Coastguard Worker    ]
963*d9f75844SAndroid Build Coastguard Worker    if (!build_with_mozilla) {
964*d9f75844SAndroid Build Coastguard Worker      deps += [ "../media:rtc_media_base" ]
965*d9f75844SAndroid Build Coastguard Worker    }
966*d9f75844SAndroid Build Coastguard Worker  }
967*d9f75844SAndroid Build Coastguard Worker}
968