diff options
Diffstat (limited to 'webrtc/common_audio/resampler/sinc_resampler.h')
-rw-r--r-- | webrtc/common_audio/resampler/sinc_resampler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webrtc/common_audio/resampler/sinc_resampler.h b/webrtc/common_audio/resampler/sinc_resampler.h index 189112b..95ce44e 100644 --- a/webrtc/common_audio/resampler/sinc_resampler.h +++ b/webrtc/common_audio/resampler/sinc_resampler.h @@ -17,7 +17,9 @@ #include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/system_wrappers/interface/aligned_malloc.h" +#ifndef WEBRTC_AUDIO_PROCESSING_ONLY_BUILD #include "webrtc/test/testsupport/gtest_prod_util.h" +#endif #include "webrtc/typedefs.h" namespace webrtc { @@ -85,8 +87,10 @@ class SincResampler { float* get_kernel_for_testing() { return kernel_storage_.get(); } private: +#ifndef WEBRTC_AUDIO_PROCESSING_ONLY_BUILD FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, Convolve); FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, ConvolveBenchmark); +#endif void InitializeKernel(); void UpdateRegions(bool second_load); |