From 00730c724d97647e06ac6c122d2cb686c10f59d1 Mon Sep 17 00:00:00 2001 From: aleloi Date: Thu, 28 Jul 2016 01:27:10 -0700 Subject: [PATCH] Migrated GN target insert_packet_with_timing. Review-Url: https://codereview.webrtc.org/2187003002 Cr-Commit-Position: refs/heads/master@{#13548} --- webrtc/modules/audio_coding/BUILD.gn | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn index 7042f6b494..ea0905c61d 100644 --- a/webrtc/modules/audio_coding/BUILD.gn +++ b/webrtc/modules/audio_coding/BUILD.gn @@ -968,6 +968,35 @@ if (rtc_include_tests) { ] } # delay_test + executable("insert_packet_with_timing") { + testonly = true + sources = [ + "test/Channel.cc", + "test/PCMFile.cc", + "test/insert_packet_with_timing.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", + ] + } # insert_packet_with_timing + if (rtc_enable_protobuf) { proto_library("neteq_unittest_proto") { sources = [