Alessio Bazzica | d4161a3 | 2018-08-31 10:41:37 +0200 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../../../../webrtc.gni") |
| 10 | |
| 11 | visibility = [ |
| 12 | ":*", |
| 13 | "../../../:*", |
| 14 | ] |
| 15 | |
| 16 | if (rtc_include_tests) { |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame^] | 17 | rtc_library("test") { |
Alessio Bazzica | d4161a3 | 2018-08-31 10:41:37 +0200 | [diff] [blame] | 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 = [ |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 30 | "../../../../../common_audio", |
Alessio Bazzica | d4161a3 | 2018-08-31 10:41:37 +0200 | [diff] [blame] | 31 | "../../../../../common_audio:common_audio_c", |
| 32 | "../../../../../rtc_base:checks", |
| 33 | "../../../../../rtc_base/memory:aligned_array", |
| 34 | ] |
| 35 | } |
| 36 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame^] | 37 | rtc_library("test_unittest") { |
Alessio Bazzica | d4161a3 | 2018-08-31 10:41:37 +0200 | [diff] [blame] | 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", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 48 | "../../../../../common_audio", |
Alessio Bazzica | d4161a3 | 2018-08-31 10:41:37 +0200 | [diff] [blame] | 49 | "../../../../../common_audio:common_audio_c", |
| 50 | "../../../../../rtc_base:rtc_base_approved", |
| 51 | "../../../../../test:test_support", |
| 52 | "//testing/gtest", |
| 53 | ] |
| 54 | } |
| 55 | } |