BUILD.gn (1481B)
1 # Copyright (c) 2016 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 import("../../webrtc.gni") 9 10 group("utility") { 11 deps = [ ":audio_frame_operations" ] 12 } 13 14 rtc_library("audio_frame_operations") { 15 visibility = [ "*" ] 16 sources = [ 17 "audio_frame_operations.cc", 18 "audio_frame_operations.h", 19 "channel_mixer.cc", 20 "channel_mixer.h", 21 "channel_mixing_matrix.cc", 22 "channel_mixing_matrix.h", 23 ] 24 25 deps = [ 26 "../../api:array_view", 27 "../../api/audio:audio_frame_api", 28 "../../common_audio", 29 "../../rtc_base:checks", 30 "../../rtc_base:logging", 31 "../../rtc_base:safe_conversions", 32 "//third_party/abseil-cpp/absl/base:core_headers", 33 ] 34 } 35 36 if (rtc_include_tests) { 37 rtc_library("utility_tests") { 38 testonly = true 39 sources = [ 40 "audio_frame_operations_unittest.cc", 41 "channel_mixer_unittest.cc", 42 "channel_mixing_matrix_unittest.cc", 43 ] 44 deps = [ 45 ":audio_frame_operations", 46 "../../api/audio:audio_frame_api", 47 "../../rtc_base:checks", 48 "../../rtc_base:logging", 49 "../../rtc_base:stringutils", 50 "../../test:test_support", 51 "//testing/gtest", 52 ] 53 } 54 }