blob: 437b544fc9ac5e366db69c5428e9a0389719ae1f [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",
53 "../../../rtc_base:rtc_base_approved",
54 "../../../test:test_support",
55 "//testing/gtest",
56 ]
57 }
58
Mirko Bonadei86d053c2019-10-17 21:32:04 +020059 rtc_library("legacy_delay_estimator_unittest") {
Sam Zackrissonb2e17652018-07-05 16:41:55 +020060 testonly = true
61
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010062 sources = [ "delay_estimator_unittest.cc" ]
Sam Zackrissonb2e17652018-07-05 16:41:55 +020063 deps = [
64 ":legacy_delay_estimator",
Sam Zackrissonb2e17652018-07-05 16:41:55 +020065 "../../../rtc_base:rtc_base_approved",
66 "../../../test:test_support",
67 "//testing/gtest",
68 ]
69 }
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010070
Mirko Bonadei86d053c2019-10-17 21:32:04 +020071 rtc_library("pffft_wrapper_unittest") {
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010072 testonly = true
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010073 sources = [ "pffft_wrapper_unittest.cc" ]
Alessio Bazzicacaa499b2019-02-21 17:35:43 +010074 deps = [
75 ":pffft_wrapper",
76 "../../../test:test_support",
77 "//testing/gtest",
78 "//third_party/pffft",
79 ]
80 }
Sam Zackrissonb2e17652018-07-05 16:41:55 +020081}