| Index: webrtc/modules/audio_coding/BUILD.gn
|
| diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
|
| index a75fbaa124096f5196d1fa9eb21446953c090125..9b90959d1b74e9eb650ca6a5a07ab3d22541c3cb 100644
|
| --- a/webrtc/modules/audio_coding/BUILD.gn
|
| +++ b/webrtc/modules/audio_coding/BUILD.gn
|
| @@ -868,6 +868,25 @@ rtc_static_library("neteq") {
|
| }
|
| }
|
|
|
| +# Although providing only test support, this target must be outside of the
|
| +# rtc_include_tests conditional. The reason is that it supports fuzzer tests
|
| +# that ultimately are built and run as a part of the Chromium ecosystem, which
|
| +# does not set the rtc_include_tests flag.
|
| +rtc_source_set("neteq_test_minimal") {
|
| + testonly = true
|
| + sources = [
|
| + "neteq/tools/encode_neteq_input.cc",
|
| + "neteq/tools/encode_neteq_input.h",
|
| + "neteq/tools/neteq_test.cc",
|
| + "neteq/tools/neteq_test.h",
|
| + ]
|
| +
|
| + if (is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| +}
|
| +
|
| if (rtc_include_tests) {
|
| rtc_source_set("acm_receive_test") {
|
| testonly = true
|
| @@ -1156,8 +1175,6 @@ if (rtc_include_tests) {
|
| "neteq/tools/neteq_packet_source_input.h",
|
| "neteq/tools/neteq_replacement_input.cc",
|
| "neteq/tools/neteq_replacement_input.h",
|
| - "neteq/tools/neteq_test.cc",
|
| - "neteq/tools/neteq_test.h",
|
| "neteq/tools/output_audio_file.h",
|
| "neteq/tools/output_wav_file.h",
|
| "neteq/tools/packet.cc",
|
| @@ -1180,6 +1197,7 @@ if (rtc_include_tests) {
|
| }
|
|
|
| deps = [
|
| + ":neteq_test_minimal",
|
| "../../common_audio",
|
| "../../test:rtp_test_utils",
|
| "../rtp_rtcp",
|
|
|