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. 8import("../../webrtc.gni") 9 10group("utility") { 11 deps = [ ":audio_frame_operations" ] 12} 13 14rtc_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/audio:audio_frame_api", 27 "../../common_audio", 28 "../../rtc_base:checks", 29 "../../rtc_base:deprecation", 30 "../../rtc_base:rtc_base_approved", 31 "../../system_wrappers:field_trial", 32 ] 33} 34 35if (rtc_include_tests) { 36 rtc_library("utility_tests") { 37 testonly = true 38 sources = [ 39 "audio_frame_operations_unittest.cc", 40 "channel_mixer_unittest.cc", 41 "channel_mixing_matrix_unittest.cc", 42 ] 43 deps = [ 44 ":audio_frame_operations", 45 "../../api/audio:audio_frame_api", 46 "../../rtc_base:checks", 47 "../../rtc_base:rtc_base_approved", 48 "../../test:field_trial", 49 "../../test:test_support", 50 "//testing/gtest", 51 ] 52 } 53} 54