Split perf-test-specific resources in low_bandwidth_audio_test

Bug: chromium:755660
Change-Id: I7c60a47b26ad86892218497f28a09a04574077e6
Reviewed-on: https://webrtc-review.googlesource.com/61961
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22439}
This commit is contained in:
Oleh Prypin 2018-03-15 10:29:27 +01:00 committed by Commit Bot
parent a12b1d625c
commit 4bbc150b18
2 changed files with 18 additions and 7 deletions

View File

@ -188,7 +188,23 @@ if (rtc_include_tests) {
}
data = [
"../resources/voice_engine/audio_dtx16.wav",
"../resources/voice_engine/audio_tiny16.wav",
]
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" ]
}
}
group("low_bandwidth_audio_perf_test") {
testonly = true
deps = [
":low_bandwidth_audio_test",
]
data = [
"../resources/voice_engine/audio_tiny16.wav",
"../resources/voice_engine/audio_tiny48.wav",
"test/low_bandwidth_audio_test.py",
@ -210,11 +226,6 @@ if (rtc_include_tests) {
if (is_mac) {
data += [ "../tools_webrtc/audio_quality/mac/pesq" ]
}
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" ]
}
}
}

View File

@ -67,7 +67,7 @@
],
},
"low_bandwidth_audio_perf_test": {
"label": "//audio:low_bandwidth_audio_test",
"label": "//audio:low_bandwidth_audio_perf_test",
"type": "script",
"script": "//audio/test/low_bandwidth_audio_test.py",
"args": [