webrtc/api/audio_codecs/test/BUILD.gn
Danil Chapovalov ea233be459 Remove passing FieldTrialsView into AudioDecoderFactory as unused
Plan is to pass field trials using Environment when creating individual AudioDecoder rather than providing single set of field trials for the factory.
Current implementation is not used, and doesn't pass field trials when actually creating an AudioDecoder

Bug: webrtc:356878416
Change-Id: I0f79f09f7a6aa63e20fbdd783e90e8d026158330
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/359221
Reviewed-by: Jakob Ivarsson‎ <jakobi@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42762}
2024-08-12 14:42:37 +00:00

43 lines
1.4 KiB
Text

# Copyright (c) 2017 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.
import("../../../webrtc.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
}
if (rtc_include_tests) {
rtc_library("audio_codecs_api_unittests") {
testonly = true
sources = [
"audio_decoder_factory_template_unittest.cc",
"audio_encoder_factory_template_unittest.cc",
]
deps = [
"..:audio_codecs_api",
"../..:make_ref_counted",
"../..:scoped_refptr",
"../../../test:audio_codec_mocks",
"../../../test:test_support",
"../../environment",
"../../environment:environment_factory",
"../L16:audio_decoder_L16",
"../L16:audio_encoder_L16",
"../g711:audio_decoder_g711",
"../g711:audio_encoder_g711",
"../g722:audio_decoder_g722",
"../g722:audio_encoder_g722",
"../ilbc:audio_decoder_ilbc",
"../ilbc:audio_encoder_ilbc",
"../opus:audio_decoder_opus",
"../opus:audio_encoder_opus",
"//third_party/abseil-cpp/absl/types:optional",
]
}
}