blob: 058dbfa03d68d5d129f397b4c4245234ab8ad682 [file] [log] [blame]
Alessio Bazzicad4161a32018-08-31 10:41:37 +02001# 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
11visibility = [
12 ":*",
13 "../../../:*",
14]
15
16if (rtc_include_tests) {
17 rtc_static_library("test") {
18 testonly = true
19
20 sources = [
21 "audio_ring_buffer.cc",
22 "audio_ring_buffer.h",
23 "blocker.cc",
24 "blocker.h",
25 "lapped_transform.cc",
26 "lapped_transform.h",
27 ]
28
29 deps = [
30 "../../../../../common_audio:common_audio",
31 "../../../../../common_audio:common_audio_c",
32 "../../../../../rtc_base:checks",
33 "../../../../../rtc_base/memory:aligned_array",
34 ]
35 }
36
37 rtc_source_set("test_unittest") {
38 testonly = true
39
40 sources = [
41 "audio_ring_buffer_unittest.cc",
42 "blocker_unittest.cc",
43 "lapped_transform_unittest.cc",
44 ]
45
46 deps = [
47 ":test",
48 "../../../../../common_audio:common_audio",
49 "../../../../../common_audio:common_audio_c",
50 "../../../../../rtc_base:rtc_base_approved",
51 "../../../../../test:test_support",
52 "//testing/gtest",
53 ]
54 }
55}