1# 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 9import("../../../webrtc.gni") 10 11rtc_library("cascaded_biquad_filter") { 12 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 22rtc_library("legacy_delay_estimator") { 23 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 ] 30 deps = [ "../../../rtc_base:checks" ] 31} 32 33rtc_library("pffft_wrapper") { 34 visibility = [ "../*" ] 35 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 46if (rtc_include_tests) { 47 rtc_library("cascaded_biquad_filter_unittest") { 48 testonly = true 49 50 sources = [ "cascaded_biquad_filter_unittest.cc" ] 51 deps = [ 52 ":cascaded_biquad_filter", 53 "../../../rtc_base:rtc_base_approved", 54 "../../../test:test_support", 55 "//testing/gtest", 56 ] 57 } 58 59 rtc_library("legacy_delay_estimator_unittest") { 60 testonly = true 61 62 sources = [ "delay_estimator_unittest.cc" ] 63 deps = [ 64 ":legacy_delay_estimator", 65 "../../../rtc_base:rtc_base_approved", 66 "../../../test:test_support", 67 "//testing/gtest", 68 ] 69 } 70 71 rtc_library("pffft_wrapper_unittest") { 72 testonly = true 73 sources = [ "pffft_wrapper_unittest.cc" ] 74 deps = [ 75 ":pffft_wrapper", 76 "../../../test:test_support", 77 "//testing/gtest", 78 "//third_party/pffft", 79 ] 80 } 81} 82