BUILD.gn (1987B)
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 9 import("../../../webrtc.gni") 10 11 rtc_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 22 rtc_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 33 rtc_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 46 if (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:checks", 54 "../../../test:test_support", 55 "//api:array_view", 56 "//rtc_base:checks", 57 "//testing/gtest", 58 ] 59 } 60 61 rtc_library("legacy_delay_estimator_unittest") { 62 testonly = true 63 64 sources = [ "delay_estimator_unittest.cc" ] 65 deps = [ 66 ":legacy_delay_estimator", 67 "../../../test:test_support", 68 "//testing/gtest", 69 ] 70 } 71 72 rtc_library("pffft_wrapper_unittest") { 73 testonly = true 74 sources = [ "pffft_wrapper_unittest.cc" ] 75 deps = [ 76 ":pffft_wrapper", 77 "../../../api:array_view", 78 "../../../test:test_support", 79 "//testing/gtest", 80 "//third_party/pffft", 81 ] 82 } 83 }