GN conversion of audio_decoder_unittests

BUG=webrtc 6036

Review-Url: https://codereview.webrtc.org/2180853006
Cr-Commit-Position: refs/heads/master@{#13588}
This commit is contained in:
charujain 2016-08-01 07:49:42 -07:00 committed by Commit bot
parent 32cd2c4103
commit ddf3e4accd
2 changed files with 42 additions and 0 deletions

View File

@ -997,6 +997,47 @@ if (rtc_include_tests) {
]
} # insert_packet_with_timing
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 = []
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_android) {
deps += [ "//testing/android/native_test:native_test_native_code" ]
}
if (is_ios) {
data = [
"//resources/audio_coding/testfile32kHz.pcm",
]
}
} # audio_decoder_unittests
if (rtc_enable_protobuf) {
proto_library("neteq_unittest_proto") {
sources = [

View File

@ -28,3 +28,4 @@ if (!build_with_mozilla && !build_with_chromium) {
}
audio_coding_defines = audio_codec_defines
neteq_defines = audio_codec_defines