Separate build targets for APM bit exactness tools from unittests.
This places the bit exactness testing tools in audioproc_test_utils,
and removes it from audio_processing_unittests.
Bug: webrtc:8240
Change-Id: I6f54ea3c49c0212888c6f8a779ecc886d1d2baba
Reviewed-on: https://chromium-review.googlesource.com/663545
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Original-Commit-Position: refs/heads/master@{#19815}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: d57f9ddfd154d1a6ae4591fadd3493730b028865
diff --git a/modules/audio_processing/BUILD.gn b/modules/audio_processing/BUILD.gn
index 4887250..3f8b70a 100644
--- a/modules/audio_processing/BUILD.gn
+++ b/modules/audio_processing/BUILD.gn
@@ -598,6 +598,7 @@
deps += [
":audioproc_debug_proto",
":audioproc_protobuf_utils",
+ ":audioproc_test_utils",
":audioproc_unittest_proto",
"../../rtc_base:rtc_task_queue",
"aec_dump",
@@ -655,8 +656,6 @@
"noise_suppression_unittest.cc",
"residual_echo_detector_unittest.cc",
"rms_level_unittest.cc",
- "test/bitexactness_tools.cc",
- "test/bitexactness_tools.h",
"test/debug_dump_replayer.cc",
"test/debug_dump_replayer.h",
"test/debug_dump_test.cc",
@@ -769,6 +768,8 @@
sources = [
"test/audio_buffer_tools.cc",
"test/audio_buffer_tools.h",
+ "test/bitexactness_tools.cc",
+ "test/bitexactness_tools.h",
"test/performance_timer.cc",
"test/performance_timer.h",
"test/simulator_buffers.cc",
@@ -785,6 +786,9 @@
"../../common_audio",
"../../rtc_base:rtc_base_approved",
"../../system_wrappers:system_wrappers",
+ "../../test:test_support",
+ "../audio_coding:neteq_tools",
+ "//testing/gtest",
]
}