| Index: webrtc/modules/audio_coding/BUILD.gn
|
| diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
|
| index 1b0ceb0b4a1387c1f5b15e62afa2593ae8868ef3..6e92e990a67d6a0896cdaeea3db153f87c694f8e 100644
|
| --- a/webrtc/modules/audio_coding/BUILD.gn
|
| +++ b/webrtc/modules/audio_coding/BUILD.gn
|
| @@ -938,6 +938,46 @@ if (rtc_include_tests) {
|
| ]
|
| }
|
|
|
| + test("audio_decoder_unittests") {
|
| + testonly = true
|
| + sources = [
|
| + "neteq/audio_decoder_unittest.cc",
|
| + ]
|
| +
|
| + configs += [ "../..:common_config" ]
|
| + public_configs = [ "../..:common_inherited_config" ]
|
| +
|
| + if (is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
|
| + configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| +
|
| + deps = []
|
| + if (is_android) {
|
| + deps += [ "//testing/android/native_test:native_test_native_code" ]
|
| + }
|
| +
|
| + defines = neteq_defines
|
| +
|
| + deps += audio_coding_deps
|
| + deps += [
|
| + ":audio_decoder_interface",
|
| + ":isac",
|
| + ":isac_fix",
|
| + ":neteq",
|
| + ":neteq_unittest_tools",
|
| + "../../common_audio/",
|
| + "../../test:test_support_main",
|
| + "//testing/gtest",
|
| + ]
|
| +
|
| + if (is_ios) {
|
| + data = [
|
| + "//resources/audio_coding/testfile32kHz.pcm",
|
| + ]
|
| + }
|
| + } # audio_decoder_unittests
|
| +
|
| if (rtc_enable_protobuf) {
|
| proto_library("neteq_unittest_proto") {
|
| sources = [
|
|
|