From d6ba5e4bbe822cf33fe9020284e7c9d71dd489c5 Mon Sep 17 00:00:00 2001 From: Jiuqiang Tang Date: Thu, 10 Nov 2022 15:10:37 -0800 Subject: [PATCH] Map the "com_github_glog_glog" dependency of "com_google_audio_tools" to mediapipe's "com_github_glog_glog_no_gflags". PiperOrigin-RevId: 487651038 --- WORKSPACE | 1 + mediapipe/calculators/audio/BUILD | 3 +++ mediapipe/calculators/tensor/BUILD | 1 + 3 files changed, 5 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index f5594a524..046da997b 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -155,6 +155,7 @@ http_archive( name = "com_google_audio_tools", strip_prefix = "multichannel-audio-tools-master", urls = ["https://github.com/google/multichannel-audio-tools/archive/master.zip"], + repo_mapping = {"@com_github_glog_glog" : "@com_github_glog_glog_no_gflags"}, ) http_archive( diff --git a/mediapipe/calculators/audio/BUILD b/mediapipe/calculators/audio/BUILD index 3f7957552..ba461e4a7 100644 --- a/mediapipe/calculators/audio/BUILD +++ b/mediapipe/calculators/audio/BUILD @@ -277,6 +277,7 @@ cc_test( "//mediapipe/framework/port:gtest_main", "//mediapipe/framework/port:status", "//mediapipe/util:time_series_test_util", + "@com_google_audio_tools//audio/dsp/mfcc", "@eigen_archive//:eigen3", ], ) @@ -352,6 +353,8 @@ cc_test( "//mediapipe/framework/port:status", "//mediapipe/framework/tool:validate_type", "//mediapipe/util:time_series_test_util", + "@com_google_audio_tools//audio/dsp:resampler", + "@com_google_audio_tools//audio/dsp:resampler_q", "@com_google_audio_tools//audio/dsp:signal_vector_util", "@eigen_archive//:eigen3", ], diff --git a/mediapipe/calculators/tensor/BUILD b/mediapipe/calculators/tensor/BUILD index 1a2a6b342..3385bcf47 100644 --- a/mediapipe/calculators/tensor/BUILD +++ b/mediapipe/calculators/tensor/BUILD @@ -156,6 +156,7 @@ cc_test( "//mediapipe/framework/port:parse_text_proto", "@com_google_absl//absl/status", "@com_google_absl//absl/strings", + "@com_google_audio_tools//audio/dsp:window_functions", ], )