Fix compile all in debug mode.

This CL fixes the build for the meta taret "all"
(ninja -C out/Debug all).

More interestingly fixes cascaded_biquad_filter_unittest.cc which
seems not to be run at the moment.

Bug: webrtc:11411
Change-Id: I3d5f83c3898cca96aff8fbdad97d7b48caa9fffa
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169858
Reviewed-by: Per Åhgren <peah@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30722}
This commit is contained in:
Mirko Bonadei
2020-03-06 14:07:45 +01:00
committed by Commit Bot
parent 6a29eb1c0c
commit 2d525fe9bd
2 changed files with 18 additions and 2 deletions

16
DEPS
View File

@ -122,6 +122,11 @@ deps = {
'url': 'https://chromium.googlesource.com/chromium/deps/findbugs.git@4275d9ac8610db6b1bc9a5e887f97e41b33fac67',
'condition': 'checkout_android',
},
# Used for embedded builds. CrOS & Linux use the system version.
'src/third_party/fontconfig/src': {
'url': 'https://chromium.googlesource.com/external/fontconfig.git@452be8125f0e2a18a7dfef469e05d19374d36307',
'condition': 'checkout_linux',
},
'src/third_party/freetype/src':
'https://chromium.googlesource.com/chromium/src/third_party/freetype2.git@6a431038c9113d906d66836cd7d216a5c630be7c',
'src/third_party/harfbuzz-ng/src':
@ -2594,6 +2599,17 @@ hooks = [
'-s', 'src/build/toolchain/win/rc/linux64/rc.sha1',
],
},
{
'name': 'test_fonts',
'pattern': '.',
'action': [ 'download_from_google_storage',
'--no_resume',
'--extract',
'--no_auth',
'--bucket', 'chromium-fonts',
'-s', 'src/third_party/test_fonts/test_fonts.tar.gz.sha1',
],
},
{
'name': 'msan_chained_origins',
'pattern': '.',

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "modules/audio_processing/aec3/cascaded_biquad_filter.h"
#include "modules/audio_processing/utility/cascaded_biquad_filter.h"
#include <vector>
@ -71,7 +71,7 @@ TEST(CascadedBiquadFilter, HighPassConfiguration) {
}
// Verifies that the reset functionality works as intended.
TEST(CascadedBiquadFilter, HighPassConfiguration) {
TEST(CascadedBiquadFilter, HighPassConfigurationResetFunctionality) {
CascadedBiQuadFilter filter(kHighPassFilterCoefficients, 2);
std::vector<float> values1(100, 1.f);