blob: b66be763431f72b33f000f541dcc0c1da18389af [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 = [
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010019 "../../rtc_base:checks",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010020 "../../rtc_base:rtc_base_approved",
21 ]
22}
23
24rtc_source_set("audio_mixer_api") {
25 visibility = [ "*" ]
26 sources = [
27 "audio_mixer.h",
28 ]
29
30 deps = [
31 ":audio_frame_api",
32 "../../rtc_base:rtc_base_approved",
33 ]
34}
35
36rtc_source_set("aec3_config") {
37 visibility = [ "*" ]
38 sources = [
Per Ã…hgrenb6b00dc2018-02-20 22:18:27 +010039 "echo_canceller3_config.cc",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010040 "echo_canceller3_config.h",
41 ]
Sam Zackrissona4c85142018-10-10 10:44:43 +020042 deps = [
Yves Gerey988cc082018-10-23 12:03:01 +020043 "../../rtc_base:checks",
Sam Zackrissona4c85142018-10-10 10:44:43 +020044 "../../rtc_base:rtc_base_approved",
45 "../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 10:50:45 +020046 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 10:44:43 +020047 ]
48}
49
50rtc_source_set("aec3_config_json") {
51 visibility = [ "*" ]
52 sources = [
53 "echo_canceller3_config_json.cc",
54 "echo_canceller3_config_json.h",
55 ]
56 deps = [
57 ":aec3_config",
58 "../../rtc_base:rtc_base_approved",
59 "../../rtc_base:rtc_json",
Mirko Bonadei3d255302018-10-11 10:50:45 +020060 "../../rtc_base/system:rtc_export",
Sam Zackrissona4c85142018-10-10 10:44:43 +020061 "//third_party/abseil-cpp/absl/strings:strings",
62 ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010063}
64
65rtc_source_set("aec3_factory") {
66 visibility = [ "*" ]
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010067 configs += [ "../../modules/audio_processing:apm_debug_dump" ]
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010068 sources = [
69 "echo_canceller3_factory.cc",
70 "echo_canceller3_factory.h",
71 ]
72
73 deps = [
74 ":aec3_config",
75 ":echo_control",
Gustaf Ullbergf35c6662018-02-23 13:18:29 +010076 "../../modules/audio_processing/aec3",
Gustaf Ullberg0efa9412018-02-27 13:58:45 +010077 "../../rtc_base:rtc_base_approved",
Mirko Bonadei3d255302018-10-11 10:50:45 +020078 "../../rtc_base/system:rtc_export",
Karl Wiberg918f50c2018-07-05 11:40:33 +020079 "//third_party/abseil-cpp/absl/memory",
Gustaf Ullberg2ae140a2018-02-16 13:43:49 +010080 ]
81}
82
83rtc_source_set("echo_control") {
84 visibility = [ "*" ]
85 sources = [
86 "echo_control.h",
87 ]
88}