diff --git a/audio/BUILD.gn b/audio/BUILD.gn index b086971785..83d5b1bf3f 100644 --- a/audio/BUILD.gn +++ b/audio/BUILD.gn @@ -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" } } diff --git a/tools_webrtc/mb/gn_isolate_map.pyl b/tools_webrtc/mb/gn_isolate_map.pyl index 3dbb4a860e..8c7a887acf 100644 --- a/tools_webrtc/mb/gn_isolate_map.pyl +++ b/tools_webrtc/mb/gn_isolate_map.pyl @@ -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": [