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

This is a reland of 4bbc150b18e961811991e3e524378e703b6d5b31

Now with explicitly specified `write_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}

Bug: chromium:755660
TBR: phoglund@webrtc.org
Change-Id: I3d4bcc5156ee25de399ab23773ecb73cd995075c
Reviewed-on: https://webrtc-review.googlesource.com/62660
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22483}
This commit is contained in:
Oleh Prypin 2018-03-18 22:31:06 +01:00 committed by Commit Bot
parent 73ac90863d
commit 8cf0a87bc3
2 changed files with 21 additions and 7 deletions

View File

@ -189,10 +189,27 @@ 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 = [
"test/low_bandwidth_audio_test.py",
"${root_out_dir}/low_bandwidth_audio_test",
"../resources/voice_engine/audio_tiny16.wav",
"../resources/voice_engine/audio_tiny48.wav",
"test/low_bandwidth_audio_test.py",
]
if (is_linux || is_android) {
data += [
@ -212,10 +229,7 @@ if (rtc_include_tests) {
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" ]
}
write_runtime_deps = "${root_out_dir}/${target_name}.runtime_deps"
}
}

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": [