blob: ca9c4c4d4fd46821100c8474e7cf5798256a8dae [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) {
Mirko Bonadei86d053c2019-10-17 21:32:04 +020017 rtc_library("test") {
Alessio Bazzicad4161a32018-08-31 10:41:37 +020018 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 = [
Artem Titov94b57c02019-03-21 13:35:10 +010030 "../../../../../common_audio",
Alessio Bazzicad4161a32018-08-31 10:41:37 +020031 "../../../../../common_audio:common_audio_c",
32 "../../../../../rtc_base:checks",
33 "../../../../../rtc_base/memory:aligned_array",
34 ]
35 }
36
Mirko Bonadei86d053c2019-10-17 21:32:04 +020037 rtc_library("test_unittest") {
Alessio Bazzicad4161a32018-08-31 10:41:37 +020038 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",
Artem Titov94b57c02019-03-21 13:35:10 +010048 "../../../../../common_audio",
Alessio Bazzicad4161a32018-08-31 10:41:37 +020049 "../../../../../common_audio:common_audio_c",
50 "../../../../../rtc_base:rtc_base_approved",
51 "../../../../../test:test_support",
52 "//testing/gtest",
53 ]
54 }
55}