blob: 446d8ab5286fe5d0cc63187b033302982b64d6d2 [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",
henrika2250b052019-07-04 11:27:52 +020016 "channel_layout.cc",
17 "channel_layout.h",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010018 ]
19
20 deps = [
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010021 "../../rtc_base:checks",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010022 "../../rtc_base:rtc_base_approved",
23 ]
24}
25
26rtc_source_set("audio_mixer_api") {
27 visibility = [ "*" ]
28 sources = [
29 "audio_mixer.h",
30 ]
31
32 deps = [
33 ":audio_frame_api",
34 "../../rtc_base:rtc_base_approved",
35 ]
36}
37
38rtc_source_set("aec3_config") {
39 visibility = [ "*" ]
40 sources = [
Per Ã…hgrenb6b00dc2018-02-20 22:18:27 +010041 "echo_canceller3_config.cc",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010042 "echo_canceller3_config.h",
43 ]
Sam Zackrissona4c85142018-10-10 10:44:43 +020044 deps = [
Yves Gerey988cc082018-10-23 12:03:01 +020045 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020046 "../../rtc_base:rtc_base_approved",
47 "../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 10:50:45 +020048 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 10:44:43 +020049 ]
50}
51
52rtc_source_set("aec3_config_json") {
53 visibility = [ "*" ]
54 sources = [
55 "echo_canceller3_config_json.cc",
56 "echo_canceller3_config_json.h",
57 ]
58 deps = [
59 ":aec3_config",
Yves Gerey3e707812018-11-28 16:47:49 +010060 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020061 "../../rtc_base:rtc_base_approved",
62 "../../rtc_base:rtc_json",
Mirko Bonadei3d255302018-10-11 10:50:45 +020063 "../../rtc_base/system:rtc_export",
Artem Titov94b57c02019-03-21 13:35:10 +010064 "//third_party/abseil-cpp/absl/strings",
Sam Zackrissona4c85142018-10-10 10:44:43 +020065 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010066}
67
68rtc_source_set("aec3_factory") {
69 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010070 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010071 sources = [
72 "echo_canceller3_factory.cc",
73 "echo_canceller3_factory.h",
74 ]
75
76 deps = [
77 ":aec3_config",
78 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +010079 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010080 "../../rtc_base:rtc_base_approved",
Mirko Bonadei3d255302018-10-11 10:50:45 +020081 "../../rtc_base/system:rtc_export",
Karl Wiberg918f50c2018-07-05 11:40:33 +020082 "//third_party/abseil-cpp/absl/memory",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010083 ]
84}
85
86rtc_source_set("echo_control") {
87 visibility = [ "*" ]
88 sources = [
89 "echo_control.h",
90 ]
91}