blob: 46396d6730b3cf9bcad8b2ca6de37593a58bacc0 [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 = [
Chen Xing3e8ef942019-07-01 17:16:32 +020019 "..:rtp_packet_info",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010020 "../../rtc_base:checks",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010021 "../../rtc_base:rtc_base_approved",
22 ]
23}
24
25rtc_source_set("audio_mixer_api") {
26 visibility = [ "*" ]
27 sources = [
28 "audio_mixer.h",
29 ]
30
31 deps = [
32 ":audio_frame_api",
33 "../../rtc_base:rtc_base_approved",
34 ]
35}
36
37rtc_source_set("aec3_config") {
38 visibility = [ "*" ]
39 sources = [
Per Ã…hgrenb6b00dc2018-02-20 22:18:27 +010040 "echo_canceller3_config.cc",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010041 "echo_canceller3_config.h",
42 ]
Sam Zackrissona4c85142018-10-10 10:44:43 +020043 deps = [
Yves Gerey988cc082018-10-23 12:03:01 +020044 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020045 "../../rtc_base:rtc_base_approved",
46 "../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 10:50:45 +020047 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 10:44:43 +020048 ]
49}
50
51rtc_source_set("aec3_config_json") {
52 visibility = [ "*" ]
53 sources = [
54 "echo_canceller3_config_json.cc",
55 "echo_canceller3_config_json.h",
56 ]
57 deps = [
58 ":aec3_config",
Yves Gerey3e707812018-11-28 16:47:49 +010059 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020060 "../../rtc_base:rtc_base_approved",
61 "../../rtc_base:rtc_json",
Mirko Bonadei3d255302018-10-11 10:50:45 +020062 "../../rtc_base/system:rtc_export",
Artem Titov94b57c02019-03-21 13:35:10 +010063 "//third_party/abseil-cpp/absl/strings",
Sam Zackrissona4c85142018-10-10 10:44:43 +020064 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010065}
66
67rtc_source_set("aec3_factory") {
68 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010069 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010070 sources = [
71 "echo_canceller3_factory.cc",
72 "echo_canceller3_factory.h",
73 ]
74
75 deps = [
76 ":aec3_config",
77 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +010078 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010079 "../../rtc_base:rtc_base_approved",
Mirko Bonadei3d255302018-10-11 10:50:45 +020080 "../../rtc_base/system:rtc_export",
Karl Wiberg918f50c2018-07-05 11:40:33 +020081 "//third_party/abseil-cpp/absl/memory",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010082 ]
83}
84
85rtc_source_set("echo_control") {
86 visibility = [ "*" ]
87 sources = [
88 "echo_control.h",
89 ]
90}