xref: /aosp_15_r20/external/webrtc/video/render/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1# Copyright (c) 2022 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
9import("../../webrtc.gni")
10
11rtc_library("incoming_video_stream") {
12  visibility = [ "*" ]
13
14  sources = [
15    "incoming_video_stream.cc",
16    "incoming_video_stream.h",
17  ]
18
19  deps = [
20    ":video_render_frames",
21    "../../api:sequence_checker",
22    "../../api/task_queue:task_queue",
23    "../../api/units:time_delta",
24    "../../api/video:video_frame",
25    "../../rtc_base:checks",
26    "../../rtc_base:event_tracer",
27    "../../rtc_base:macromagic",
28    "../../rtc_base:race_checker",
29    "../../rtc_base:rtc_task_queue",
30  ]
31
32  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
33}
34
35rtc_library("video_render_frames") {
36  visibility = [ ":*" ]  # Private.
37
38  sources = [
39    "video_render_frames.cc",
40    "video_render_frames.h",
41  ]
42
43  deps = [
44    "../../api/video:video_frame",
45    "../../rtc_base:checks",
46    "../../rtc_base:logging",
47    "../../rtc_base:timeutils",
48    "../../system_wrappers:metrics",
49  ]
50  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
51}
52