Added GN target for webrtc_opus_fec_test.

BUG=webrtc:6191
NOTRY=True
NOPRESUBMIT=True

Review-Url: https://codereview.webrtc.org/2268213002
Cr-Commit-Position: refs/heads/master@{#13893}
This commit is contained in:
ivoc 2016-08-24 06:11:18 -07:00 committed by Commit bot
parent 7a0ff2f700
commit 2c670dbf13
3 changed files with 26 additions and 0 deletions

1
.gn
View File

@ -24,6 +24,7 @@ check_targets = [
"//webrtc/modules/audio_coding:g722_test",
"//webrtc/modules/audio_coding:isac_fix_test",
"//webrtc/modules/audio_coding:isac_test",
"//webrtc/modules/audio_coding:webrtc_opus_fec_test",
"//webrtc/modules/audio_device/*",
"//webrtc/modules/audio_mixer:audio_conference_mixer",
"//webrtc/voice_engine:level_indicator",

View File

@ -1600,4 +1600,28 @@ if (rtc_include_tests) {
"../..:webrtc_common",
]
}
executable("webrtc_opus_fec_test") {
testonly = true
sources = [
"codecs/opus/opus_fec_test.cc",
]
deps = [
":webrtc_opus",
"../../base:rtc_base",
"../../common_audio",
"../../test:test_support",
"../../test:test_support_main",
"//build/config/sanitizers:deps",
"//testing/gtest",
]
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" ]
}
}
}

View File

@ -58,6 +58,7 @@
'type': 'executable',
'dependencies': [
'webrtc_opus',
'<(webrtc_root)/base/base.gyp:rtc_base',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/test/test.gyp:test_support_main',
'<(DEPTH)/testing/gtest.gyp:gtest',