blob: d0465bbc40d1faf9642a3f0983c00bd14e771f11 [file] [log] [blame]
Gustaf Ullberg2ae140a2018-02-16 12:43:491# 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 19:32:0411rtc_library("audio_frame_api") {
Gustaf Ullberg2ae140a2018-02-16 12:43:4912 visibility = [ "*" ]
13 sources = [
14 "audio_frame.cc",
15 "audio_frame.h",
henrika2250b052019-07-04 09:27:5216 "channel_layout.cc",
17 "channel_layout.h",
Gustaf Ullberg2ae140a2018-02-16 12:43:4918 ]
19
20 deps = [
Alessio Bazzica8f319a32019-07-24 16:47:0221 "..:rtp_packet_info",
Gustaf Ullberg2ae140a2018-02-16 12:43:4922 "../../rtc_base:checks",
Gustaf Ullberg2ae140a2018-02-16 12:43:4923 "../../rtc_base:rtc_base_approved",
24 ]
25}
26
Olga Sharonova09ceed22020-09-30 16:27:3927rtc_source_set("audio_frame_processor") {
28 visibility = [ "*" ]
29 sources = [ "audio_frame_processor.h" ]
30}
31
Gustaf Ullberg2ae140a2018-02-16 12:43:4932rtc_source_set("audio_mixer_api") {
33 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:1034 sources = [ "audio_mixer.h" ]
Gustaf Ullberg2ae140a2018-02-16 12:43:4935
36 deps = [
37 ":audio_frame_api",
38 "../../rtc_base:rtc_base_approved",
39 ]
40}
41
Mirko Bonadei86d053c2019-10-17 19:32:0442rtc_library("aec3_config") {
Gustaf Ullberg2ae140a2018-02-16 12:43:4943 visibility = [ "*" ]
44 sources = [
Per Ã…hgrenb6b00dc2018-02-20 21:18:2745 "echo_canceller3_config.cc",
Gustaf Ullberg2ae140a2018-02-16 12:43:4946 "echo_canceller3_config.h",
47 ]
Sam Zackrissona4c85142018-10-10 08:44:4348 deps = [
Yves Gerey988cc082018-10-23 10:03:0149 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 08:44:4350 "../../rtc_base:rtc_base_approved",
51 "../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 08:50:4552 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 08:44:4353 ]
54}
55
Mirko Bonadei86d053c2019-10-17 19:32:0456rtc_library("aec3_config_json") {
Sam Zackrissona4c85142018-10-10 08:44:4357 visibility = [ "*" ]
Sam Zackrisson492fdf42019-10-25 08:45:5858 allow_poison = [ "rtc_json" ]
Sam Zackrissona4c85142018-10-10 08:44:4359 sources = [
60 "echo_canceller3_config_json.cc",
61 "echo_canceller3_config_json.h",
62 ]
63 deps = [
64 ":aec3_config",
Yves Gerey3e707812018-11-28 15:47:4965 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 08:44:4366 "../../rtc_base:rtc_base_approved",
67 "../../rtc_base:rtc_json",
Mirko Bonadei3d255302018-10-11 08:50:4568 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 08:44:4369 ]
Mirko Bonadei2dcf3482020-06-05 12:30:4170 absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
Gustaf Ullberg2ae140a2018-02-16 12:43:4971}
72
Mirko Bonadei86d053c2019-10-17 19:32:0473rtc_library("aec3_factory") {
Gustaf Ullberg2ae140a2018-02-16 12:43:4974 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 12:58:4575 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 12:43:4976 sources = [
77 "echo_canceller3_factory.cc",
78 "echo_canceller3_factory.h",
79 ]
80
81 deps = [
82 ":aec3_config",
83 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 12:18:2984 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 12:58:4585 "../../rtc_base:rtc_base_approved",
Mirko Bonadei3d255302018-10-11 08:50:4586 "../../rtc_base/system:rtc_export",
Gustaf Ullberg2ae140a2018-02-16 12:43:4987 ]
88}
89
90rtc_source_set("echo_control") {
91 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 11:10:1092 sources = [ "echo_control.h" ]
93 deps = [ "../../rtc_base:checks" ]
Gustaf Ullberg2ae140a2018-02-16 12:43:4994}
Sam Zackrissonb0bd0702020-05-12 08:48:1995
96rtc_source_set("echo_detector_creator") {
97 visibility = [ "*" ]
98 sources = [
99 "echo_detector_creator.cc",
100 "echo_detector_creator.h",
101 ]
102 deps = [
103 "../../api:scoped_refptr",
104 "../../modules/audio_processing:api",
105 "../../modules/audio_processing:audio_processing",
106 "../../rtc_base:refcount",
107 ]
108}