| Index: webrtc/modules/audio_coding/BUILD.gn
|
| diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
|
| index 2cfd159be0af96975b96ec60470624ffd6a86f2f..8d4209faae339ef68eb0a7be5ea82c671c9d5eab 100644
|
| --- a/webrtc/modules/audio_coding/BUILD.gn
|
| +++ b/webrtc/modules/audio_coding/BUILD.gn
|
| @@ -1124,6 +1124,50 @@ if (rtc_include_tests) {
|
| }
|
| }
|
|
|
| + rtc_source_set("audio_coding_modules_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "test/APITest.cc",
|
| + "test/Channel.cc",
|
| + "test/EncodeDecodeTest.cc",
|
| + "test/PCMFile.cc",
|
| + "test/PacketLossTest.cc",
|
| + "test/RTPFile.cc",
|
| + "test/TestAllCodecs.cc",
|
| + "test/TestRedFec.cc",
|
| + "test/TestStereo.cc",
|
| + "test/TestVADDTX.cc",
|
| + "test/Tester.cc",
|
| + "test/TwoWayCommunication.cc",
|
| + "test/iSACTest.cc",
|
| + "test/opus_test.cc",
|
| + "test/target_delay_unittest.cc",
|
| + "test/utility.cc",
|
| + ]
|
| + deps = [
|
| + ":audio_coding",
|
| + ":audio_format_conversion",
|
| + ":builtin_audio_decoder_factory",
|
| + ":pcm16b_c",
|
| + "../..:webrtc_common",
|
| + "../../base:rtc_base_approved",
|
| + "../../system_wrappers:system_wrappers",
|
| + "../../test:fileutils",
|
| + "../../test:test_support",
|
| + ]
|
| + defines = audio_coding_defines
|
| + if (is_win) {
|
| + cflags = [
|
| + # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
|
| + "/wd4373", # virtual function override.
|
| + ]
|
| + }
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| + }
|
| +
|
| rtc_source_set("audio_coding_perf_tests") {
|
| testonly = true
|
| sources = [
|
|
|