blob: deff5b7f557ff5d97f1b54f7d9e02b2ee8234260 [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 = [
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
39rtc_source_set("aec3_config") {
40 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
53rtc_source_set("aec3_config_json") {
54 visibility = [ "*" ]
55 sources = [
56 "echo_canceller3_config_json.cc",
57 "echo_canceller3_config_json.h",
58 ]
59 deps = [
60 ":aec3_config",
Yves Gerey3e707812018-11-28 16:47:49 +010061 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020062 "../../rtc_base:rtc_base_approved",
63 "../../rtc_base:rtc_json",
Mirko Bonadei3d255302018-10-11 10:50:45 +020064 "../../rtc_base/system:rtc_export",
Artem Titov94b57c02019-03-21 13:35:10 +010065 "//third_party/abseil-cpp/absl/strings",
Sam Zackrissona4c85142018-10-10 10:44:43 +020066 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010067}
68
69rtc_source_set("aec3_factory") {
70 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010071 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010072 sources = [
73 "echo_canceller3_factory.cc",
74 "echo_canceller3_factory.h",
75 ]
76
77 deps = [
78 ":aec3_config",
79 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +010080 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010081 "../../rtc_base:rtc_base_approved",
Mirko Bonadei3d255302018-10-11 10:50:45 +020082 "../../rtc_base/system:rtc_export",
Karl Wiberg918f50c2018-07-05 11:40:33 +020083 "//third_party/abseil-cpp/absl/memory",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010084 ]
85}
86
87rtc_source_set("echo_control") {
88 visibility = [ "*" ]
89 sources = [
90 "echo_control.h",
91 ]
92}