blob: 270a06579c8d84d7273b40a5a6efbe6409b44b42 [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
Mirko Bonadei86d053c2019-10-17 21:32:04 +020011rtc_library("audio_frame_api") {
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010012 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 = [
Alessio Bazzica8f319a32019-07-24 16:47:02 +000021 "..:rtp_packet_info",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010022 "../../rtc_base:checks",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010023 "../../rtc_base:rtc_base_approved",
24 ]
25}
26
27rtc_source_set("audio_mixer_api") {
28 visibility = [ "*" ]
29 sources = [
30 "audio_mixer.h",
31 ]
32
33 deps = [
34 ":audio_frame_api",
35 "../../rtc_base:rtc_base_approved",
36 ]
37}
38
Mirko Bonadei86d053c2019-10-17 21:32:04 +020039rtc_library("aec3_config") {
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010040 visibility = [ "*" ]
41 sources = [
Per Åhgrenb6b00dc2018-02-20 22:18:27 +010042 "echo_canceller3_config.cc",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010043 "echo_canceller3_config.h",
44 ]
Sam Zackrissona4c85142018-10-10 10:44:43 +020045 deps = [
Yves Gerey988cc082018-10-23 12:03:01 +020046 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020047 "../../rtc_base:rtc_base_approved",
48 "../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 10:50:45 +020049 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 10:44:43 +020050 ]
51}
52
Mirko Bonadei86d053c2019-10-17 21:32:04 +020053rtc_library("aec3_config_json") {
Sam Zackrissona4c85142018-10-10 10:44:43 +020054 visibility = [ "*" ]
Sam Zackrisson492fdf42019-10-25 10:45:58 +020055 allow_poison = [ "rtc_json" ]
Sam Zackrissona4c85142018-10-10 10:44:43 +020056 sources = [
57 "echo_canceller3_config_json.cc",
58 "echo_canceller3_config_json.h",
59 ]
60 deps = [
61 ":aec3_config",
Yves Gerey3e707812018-11-28 16:47:49 +010062 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020063 "../../rtc_base:rtc_base_approved",
64 "../../rtc_base:rtc_json",
Mirko Bonadei3d255302018-10-11 10:50:45 +020065 "../../rtc_base/system:rtc_export",
Artem Titov94b57c02019-03-21 13:35:10 +010066 "//third_party/abseil-cpp/absl/strings",
Sam Zackrissona4c85142018-10-10 10:44:43 +020067 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010068}
69
Mirko Bonadei86d053c2019-10-17 21:32:04 +020070rtc_library("aec3_factory") {
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010071 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010072 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010073 sources = [
74 "echo_canceller3_factory.cc",
75 "echo_canceller3_factory.h",
76 ]
77
78 deps = [
79 ":aec3_config",
80 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +010081 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010082 "../../rtc_base:rtc_base_approved",
Mirko Bonadei3d255302018-10-11 10:50:45 +020083 "../../rtc_base/system:rtc_export",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010084 ]
85}
86
87rtc_source_set("echo_control") {
88 visibility = [ "*" ]
89 sources = [
90 "echo_control.h",
91 ]
Per Åhgren4e5c7092019-11-01 20:44:11 +010092 deps = [
93 "../../rtc_base:checks",
94 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010095}