Reland "Split perf-test-specific resources in low_bandwidth_audio_test"

This is a reland of 4bbc150b18e961811991e3e524378e703b6d5b31

Now using rtc_source_set to be able to generate runtime deps

Original change's description:
> 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}

No-Try: True
Bug: chromium:755660
Change-Id: I66eda6f016c98e2a8a99f230d9e0323cc09e4976
Reviewed-on: https://webrtc-review.googlesource.com/62020
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22450}
This commit is contained in:
Oleh Prypin
2018-03-15 13:18:53 +01:00
committed by Commit Bot
parent 2cb4105224
commit b3808dcc36
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" ]
}
}
rtc_source_set("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": [