summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/video/render/BUILD.gn
blob: ff721dc61c208ee81e473384f1d7042e50f7b7c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS.  All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../webrtc.gni")

rtc_library("incoming_video_stream") {
  visibility = [ "*" ]

  sources = [
    "incoming_video_stream.cc",
    "incoming_video_stream.h",
  ]

  deps = [
    ":video_render_frames",
    "../../api:sequence_checker",
    "../../api/task_queue:task_queue",
    "../../api/units:time_delta",
    "../../api/video:video_frame",
    "../../rtc_base:checks",
    "../../rtc_base:event_tracer",
    "../../rtc_base:macromagic",
    "../../rtc_base:race_checker",
    "../../rtc_base:rtc_task_queue",
  ]

  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
}

rtc_library("video_render_frames") {
  visibility = [ ":*" ]  # Private.

  sources = [
    "video_render_frames.cc",
    "video_render_frames.h",
  ]

  deps = [
    "../../api/video:video_frame",
    "../../rtc_base:checks",
    "../../rtc_base:logging",
    "../../rtc_base:timeutils",
    "../../system_wrappers:metrics",
  ]
  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
}