• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2018 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("audio_frame_api") {
12  visibility = [ "*" ]
13  sources = [
14    "audio_frame.cc",
15    "audio_frame.h",
16    "channel_layout.cc",
17    "channel_layout.h",
18  ]
19
20  deps = [
21    "..:rtp_packet_info",
22    "../../rtc_base:checks",
23    "../../rtc_base:rtc_base_approved",
24  ]
25}
26
27rtc_source_set("audio_mixer_api") {
28  visibility = [ "*" ]
29  sources = [ "audio_mixer.h" ]
30
31  deps = [
32    ":audio_frame_api",
33    "../../rtc_base:rtc_base_approved",
34  ]
35}
36
37rtc_library("aec3_config") {
38  visibility = [ "*" ]
39  sources = [
40    "echo_canceller3_config.cc",
41    "echo_canceller3_config.h",
42  ]
43  deps = [
44    "../../rtc_base:checks",
45    "../../rtc_base:rtc_base_approved",
46    "../../rtc_base:safe_minmax",
47    "../../rtc_base/system:rtc_export",
48  ]
49}
50
51rtc_library("aec3_config_json") {
52  visibility = [ "*" ]
53  allow_poison = [ "rtc_json" ]
54  sources = [
55    "echo_canceller3_config_json.cc",
56    "echo_canceller3_config_json.h",
57  ]
58  deps = [
59    ":aec3_config",
60    "../../rtc_base:checks",
61    "../../rtc_base:rtc_base_approved",
62    "../../rtc_base:rtc_json",
63    "../../rtc_base/system:rtc_export",
64  ]
65  absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
66}
67
68rtc_library("aec3_factory") {
69  visibility = [ "*" ]
70  configs += [ "../../modules/audio_processing:apm_debug_dump" ]
71  sources = [
72    "echo_canceller3_factory.cc",
73    "echo_canceller3_factory.h",
74  ]
75
76  deps = [
77    ":aec3_config",
78    ":echo_control",
79    "../../modules/audio_processing/aec3",
80    "../../rtc_base:rtc_base_approved",
81    "../../rtc_base/system:rtc_export",
82  ]
83}
84
85rtc_source_set("echo_control") {
86  visibility = [ "*" ]
87  sources = [ "echo_control.h" ]
88  deps = [ "../../rtc_base:checks" ]
89}
90
91rtc_source_set("echo_detector_creator") {
92  visibility = [ "*" ]
93  sources = [
94    "echo_detector_creator.cc",
95    "echo_detector_creator.h",
96  ]
97  deps = [
98    "../../api:scoped_refptr",
99    "../../modules/audio_processing:api",
100    "../../modules/audio_processing:audio_processing",
101    "../../rtc_base:refcount",
102  ]
103}
104