Remove testonly from unpack_aecdump.

This CL duplicates a few lines of utility code from
//modules/audio_processing:audioproc_test_utils (which contains more
testonly things) and allows the possibility to remove testonly from
the unpack_aecdump tool.

Bug: b/237526033
Change-Id: If2e1dd4cc825429c496091cf8640c67069fb6e6f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267701
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37437}
This commit is contained in:
Mirko Bonadei
2022-07-05 10:16:11 +02:00
committed by WebRTC LUCI CQ
parent 6939f63ca1
commit 2ad75b3956
4 changed files with 71 additions and 85 deletions

View File

@ -574,7 +574,6 @@ if (rtc_include_tests) {
rtc_executable("unpack_aecdump") {
visibility = [ "*" ]
testonly = true
sources = [ "unpack_aecdump/unpack.cc" ]
deps = [
@ -584,11 +583,12 @@ if (rtc_include_tests) {
"../modules/audio_processing:audioproc_debug_proto",
"../modules/audio_processing:audioproc_debug_proto",
"../modules/audio_processing:audioproc_protobuf_utils",
"../modules/audio_processing:audioproc_test_utils",
"../rtc_base:checks",
"../rtc_base:ignore_wundef",
"../rtc_base:macromagic",
"../rtc_base:protobuf_utils",
"../rtc_base:stringutils",
"../rtc_base/system:arch",
"//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/flags:parse",
]