2016-11-29 07:32:07 -08:00
|
|
|
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../../webrtc.gni")
|
2016-11-29 07:32:07 -08:00
|
|
|
|
|
|
|
|
group("utility") {
|
2020-01-21 12:10:10 +01:00
|
|
|
deps = [ ":audio_frame_operations" ]
|
2016-12-05 01:46:09 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_frame_operations") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2016-12-05 01:46:09 -08:00
|
|
|
sources = [
|
|
|
|
|
"audio_frame_operations.cc",
|
|
|
|
|
"audio_frame_operations.h",
|
2019-07-04 11:27:52 +02:00
|
|
|
"channel_mixer.cc",
|
|
|
|
|
"channel_mixer.h",
|
|
|
|
|
"channel_mixing_matrix.cc",
|
|
|
|
|
"channel_mixing_matrix.h",
|
2016-12-05 01:46:09 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-04-12 22:44:09 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2019-01-28 16:38:38 +01:00
|
|
|
"../../common_audio",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2019-11-22 15:35:57 +01:00
|
|
|
"../../system_wrappers:field_trial",
|
2016-12-05 01:46:09 -08:00
|
|
|
]
|
2021-02-22 12:43:39 +01:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/base:core_headers" ]
|
2016-11-29 07:32:07 -08:00
|
|
|
}
|
2017-01-05 06:03:24 -08:00
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("utility_tests") {
|
2017-01-05 06:03:24 -08:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_frame_operations_unittest.cc",
|
2019-07-04 11:27:52 +02:00
|
|
|
"channel_mixer_unittest.cc",
|
|
|
|
|
"channel_mixing_matrix_unittest.cc",
|
2017-01-05 06:03:24 -08:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_frame_operations",
|
2019-07-04 11:27:52 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2019-11-22 15:35:57 +01:00
|
|
|
"../../test:field_trial",
|
2017-01-05 06:03:24 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|