blob: 4851e77b032158780e162db725c92b370c9bee51 [file] [log] [blame]
Sam Zackrissonb2e17652018-07-05 16:41:55 +02001# Copyright (c) 2014 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
Sam Zackrissonb2e17652018-07-05 16:41:55 +02009import("../../../webrtc.gni")
10
Mirko Bonadei86d053c2019-10-17 21:32:04 +020011rtc_library("cascaded_biquad_filter") {
Per Åhgren0aefbf02019-08-23 21:29:17 +020012 sources = [
13 "cascaded_biquad_filter.cc",
14 "cascaded_biquad_filter.h",
15 ]
16 deps = [
17 "../../../api:array_view",
18 "../../../rtc_base:checks",
19 ]
20}
21
Mirko Bonadei86d053c2019-10-17 21:32:04 +020022rtc_library("legacy_delay_estimator") {
Sam Zackrissonb2e17652018-07-05 16:41:55 +020023 sources = [
24 "delay_estimator.cc",
25 "delay_estimator.h",
26 "delay_estimator_internal.h",
27 "delay_estimator_wrapper.cc",
28 "delay_estimator_wrapper.h",
29 ]
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010030 deps = [ "../../../rtc_base:checks" ]
Sam Zackrissonb2e17652018-07-05 16:41:55 +020031}
32
Mirko Bonadei86d053c2019-10-17 21:32:04 +020033rtc_library("pffft_wrapper") {
Alessio Bazzicac8ba8b22019-03-27 09:30:14 +010034 visibility = [ "../*" ]
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010035 sources = [
36 "pffft_wrapper.cc",
37 "pffft_wrapper.h",
38 ]
39 deps = [
40 "../../../api:array_view",
41 "../../../rtc_base:checks",
42 "//third_party/pffft",
43 ]
44}
45
Sam Zackrissonb2e17652018-07-05 16:41:55 +020046if (rtc_include_tests) {
Mirko Bonadei86d053c2019-10-17 21:32:04 +020047 rtc_library("cascaded_biquad_filter_unittest") {
Per Åhgren0aefbf02019-08-23 21:29:17 +020048 testonly = true
49
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010050 sources = [ "cascaded_biquad_filter_unittest.cc" ]
Per Åhgren0aefbf02019-08-23 21:29:17 +020051 deps = [
52 ":cascaded_biquad_filter",
Per Åhgren0aefbf02019-08-23 21:29:17 +020053 "../../../test:test_support",
54 "//testing/gtest",
55 ]
56 }
57
Mirko Bonadei86d053c2019-10-17 21:32:04 +020058 rtc_library("legacy_delay_estimator_unittest") {
Sam Zackrissonb2e17652018-07-05 16:41:55 +020059 testonly = true
60
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010061 sources = [ "delay_estimator_unittest.cc" ]
Sam Zackrissonb2e17652018-07-05 16:41:55 +020062 deps = [
63 ":legacy_delay_estimator",
Sam Zackrissonb2e17652018-07-05 16:41:55 +020064 "../../../test:test_support",
65 "//testing/gtest",
66 ]
67 }
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010068
Mirko Bonadei86d053c2019-10-17 21:32:04 +020069 rtc_library("pffft_wrapper_unittest") {
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010070 testonly = true
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010071 sources = [ "pffft_wrapper_unittest.cc" ]
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010072 deps = [
73 ":pffft_wrapper",
74 "../../../test:test_support",
75 "//testing/gtest",
76 "//third_party/pffft",
77 ]
78 }
Sam Zackrissonb2e17652018-07-05 16:41:55 +020079}