blob: 43dc420aef1b28c9ca3131c4f56cae0cb096d3f1 [file] [log] [blame]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +01001# 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_source_set("audio_frame_api") {
12 visibility = [ "*" ]
13 sources = [
14 "audio_frame.cc",
15 "audio_frame.h",
16 ]
17
18 deps = [
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010019 "../../rtc_base:checks",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010020 "../../rtc_base:rtc_base_approved",
21 ]
22}
23
24rtc_source_set("audio_mixer_api") {
25 visibility = [ "*" ]
26 sources = [
27 "audio_mixer.h",
28 ]
29
30 deps = [
31 ":audio_frame_api",
32 "../../rtc_base:rtc_base_approved",
33 ]
34}
35
36rtc_source_set("aec3_config") {
37 visibility = [ "*" ]
38 sources = [
Per Ã…hgrenb6b00dc2018-02-20 22:18:27 +010039 "echo_canceller3_config.cc",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010040 "echo_canceller3_config.h",
41 ]
Sam Zackrissona4c85142018-10-10 10:44:43 +020042 deps = [
43 "../../rtc_base:rtc_base_approved",
44 "../../rtc_base:safe_minmax",
45 ]
46}
47
48rtc_source_set("aec3_config_json") {
49 visibility = [ "*" ]
50 sources = [
51 "echo_canceller3_config_json.cc",
52 "echo_canceller3_config_json.h",
53 ]
54 deps = [
55 ":aec3_config",
56 "../../rtc_base:rtc_base_approved",
57 "../../rtc_base:rtc_json",
58 "//third_party/abseil-cpp/absl/strings:strings",
59 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010060}
61
62rtc_source_set("aec3_factory") {
63 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010064 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010065 sources = [
66 "echo_canceller3_factory.cc",
67 "echo_canceller3_factory.h",
68 ]
69
70 deps = [
71 ":aec3_config",
72 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +010073 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010074 "../../rtc_base:rtc_base_approved",
Karl Wiberg918f50c2018-07-05 11:40:33 +020075 "//third_party/abseil-cpp/absl/memory",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010076 ]
77}
78
79rtc_source_set("echo_control") {
80 visibility = [ "*" ]
81 sources = [
82 "echo_control.h",
83 ]
84}