1*d9f75844SAndroid Build Coastguard Worker# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2*d9f75844SAndroid Build Coastguard Worker# 3*d9f75844SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license 4*d9f75844SAndroid Build Coastguard Worker# that can be found in the LICENSE file in the root of the source 5*d9f75844SAndroid Build Coastguard Worker# tree. An additional intellectual property rights grant can be found 6*d9f75844SAndroid Build Coastguard Worker# in the file PATENTS. All contributing project authors may 7*d9f75844SAndroid Build Coastguard Worker# be found in the AUTHORS file in the root of the source tree. 8*d9f75844SAndroid Build Coastguard Workerimport("../../webrtc.gni") 9*d9f75844SAndroid Build Coastguard Worker 10*d9f75844SAndroid Build Coastguard Workergroup("utility") { 11*d9f75844SAndroid Build Coastguard Worker deps = [ ":audio_frame_operations" ] 12*d9f75844SAndroid Build Coastguard Worker} 13*d9f75844SAndroid Build Coastguard Worker 14*d9f75844SAndroid Build Coastguard Workerrtc_library("audio_frame_operations") { 15*d9f75844SAndroid Build Coastguard Worker visibility = [ "*" ] 16*d9f75844SAndroid Build Coastguard Worker sources = [ 17*d9f75844SAndroid Build Coastguard Worker "audio_frame_operations.cc", 18*d9f75844SAndroid Build Coastguard Worker "audio_frame_operations.h", 19*d9f75844SAndroid Build Coastguard Worker "channel_mixer.cc", 20*d9f75844SAndroid Build Coastguard Worker "channel_mixer.h", 21*d9f75844SAndroid Build Coastguard Worker "channel_mixing_matrix.cc", 22*d9f75844SAndroid Build Coastguard Worker "channel_mixing_matrix.h", 23*d9f75844SAndroid Build Coastguard Worker ] 24*d9f75844SAndroid Build Coastguard Worker 25*d9f75844SAndroid Build Coastguard Worker deps = [ 26*d9f75844SAndroid Build Coastguard Worker "../../api/audio:audio_frame_api", 27*d9f75844SAndroid Build Coastguard Worker "../../common_audio", 28*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:checks", 29*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:logging", 30*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:safe_conversions", 31*d9f75844SAndroid Build Coastguard Worker "../../system_wrappers:field_trial", 32*d9f75844SAndroid Build Coastguard Worker ] 33*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/base:core_headers" ] 34*d9f75844SAndroid Build Coastguard Worker} 35*d9f75844SAndroid Build Coastguard Worker 36*d9f75844SAndroid Build Coastguard Workerif (rtc_include_tests) { 37*d9f75844SAndroid Build Coastguard Worker rtc_library("utility_tests") { 38*d9f75844SAndroid Build Coastguard Worker testonly = true 39*d9f75844SAndroid Build Coastguard Worker sources = [ 40*d9f75844SAndroid Build Coastguard Worker "audio_frame_operations_unittest.cc", 41*d9f75844SAndroid Build Coastguard Worker "channel_mixer_unittest.cc", 42*d9f75844SAndroid Build Coastguard Worker "channel_mixing_matrix_unittest.cc", 43*d9f75844SAndroid Build Coastguard Worker ] 44*d9f75844SAndroid Build Coastguard Worker deps = [ 45*d9f75844SAndroid Build Coastguard Worker ":audio_frame_operations", 46*d9f75844SAndroid Build Coastguard Worker "../../api/audio:audio_frame_api", 47*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:checks", 48*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:logging", 49*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:macromagic", 50*d9f75844SAndroid Build Coastguard Worker "../../rtc_base:stringutils", 51*d9f75844SAndroid Build Coastguard Worker "../../test:field_trial", 52*d9f75844SAndroid Build Coastguard Worker "../../test:test_support", 53*d9f75844SAndroid Build Coastguard Worker "//testing/gtest", 54*d9f75844SAndroid Build Coastguard Worker ] 55*d9f75844SAndroid Build Coastguard Worker } 56*d9f75844SAndroid Build Coastguard Worker} 57