From 7b2676fee9bd1f8b491f3832ff688a13261d610b Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Mon, 19 Mar 2018 11:33:03 +0100 Subject: [PATCH] Fix low_bandwidth_audio_perf_test binary dependency on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The split in https://webrtc-review.googlesource.com/c/src/+/62660 broke it. No-Try: True Bug: chromium:755660 Change-Id: I664f022cac9f8e7e0bb64a7cb59992f030543aa6 Reviewed-on: https://webrtc-review.googlesource.com/62801 Commit-Queue: Oleh Prypin Reviewed-by: Patrik Höglund Cr-Commit-Position: refs/heads/master@{#22486} --- audio/BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/audio/BUILD.gn b/audio/BUILD.gn index 83d5b1bf3f..2d7713563b 100644 --- a/audio/BUILD.gn +++ b/audio/BUILD.gn @@ -207,10 +207,15 @@ if (rtc_include_tests) { 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", ] + if (is_win) { + data += [ "${root_out_dir}/low_bandwidth_audio_test.exe" ] + } else { + data += [ "${root_out_dir}/low_bandwidth_audio_test" ] + } + if (is_linux || is_android) { data += [ "../tools_webrtc/audio_quality/linux/PolqaOem64",