diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn index f30caf8037..7042f6b494 100644 --- a/webrtc/modules/audio_coding/BUILD.gn +++ b/webrtc/modules/audio_coding/BUILD.gn @@ -938,6 +938,36 @@ if (rtc_include_tests) { ] } + executable("delay_test") { + testonly = true + sources = [ + "test/Channel.cc", + "test/PCMFile.cc", + "test/delay_test.cc", + "test/utility.cc", + ] + + configs += [ "../..:common_config" ] + public_configs = [ "../..:common_inherited_config" ] + + if (is_clang) { + # Suppress warnings from Chrome's Clang plugins. + # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. + configs -= [ "//build/config/clang:find_bad_constructs" ] + } + + deps = [ + ":audio_coding", + "../../:webrtc_common", + "../../system_wrappers", + "../../system_wrappers:system_wrappers_default", + "../../test:test_support", + "../rtp_rtcp", + "//testing/gtest", + "//third_party/gflags:gflags", + ] + } # delay_test + if (rtc_enable_protobuf) { proto_library("neteq_unittest_proto") { sources = [