From d57f9ddfd154d1a6ae4591fadd3493730b028865 Mon Sep 17 00:00:00 2001 From: Sam Zackrisson Date: Wed, 13 Sep 2017 11:00:04 +0200 Subject: [PATCH] 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 Commit-Queue: Sam Zackrisson Cr-Commit-Position: refs/heads/master@{#19815} --- webrtc/modules/audio_processing/BUILD.gn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/audio_processing/BUILD.gn b/webrtc/modules/audio_processing/BUILD.gn index 4887250d88..3f8b70abe4 100644 --- a/webrtc/modules/audio_processing/BUILD.gn +++ b/webrtc/modules/audio_processing/BUILD.gn @@ -598,6 +598,7 @@ if (rtc_include_tests) { deps += [ ":audioproc_debug_proto", ":audioproc_protobuf_utils", + ":audioproc_test_utils", ":audioproc_unittest_proto", "../../rtc_base:rtc_task_queue", "aec_dump", @@ -655,8 +656,6 @@ if (rtc_include_tests) { "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 @@ if (rtc_include_tests) { 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 @@ if (rtc_include_tests) { "../../common_audio", "../../rtc_base:rtc_base_approved", "../../system_wrappers:system_wrappers", + "../../test:test_support", + "../audio_coding:neteq_tools", + "//testing/gtest", ] }