From 4e013482fceea2b3bd2d6c80fc8d735e33ea2fc7 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Mon, 10 Oct 2022 15:47:31 +0000 Subject: [PATCH] Add missing dependency and remove nogncheck. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: b/251890128 Change-Id: Ie511aa9de38601914948c2583778fa4b6c891f98 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/278681 Commit-Queue: Xavier Lepaul‎ Reviewed-by: Xavier Lepaul‎ Cr-Commit-Position: refs/heads/main@{#38350} --- sdk/android/BUILD.gn | 1 + sdk/android/src/jni/pc/audio.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sdk/android/BUILD.gn b/sdk/android/BUILD.gn index 667cac1072..b3f641a2f7 100644 --- a/sdk/android/BUILD.gn +++ b/sdk/android/BUILD.gn @@ -570,6 +570,7 @@ if (current_os == "linux" || is_android) { "../../api:scoped_refptr", "../../api:sequence_checker", "../../api/task_queue:pending_task_safety_flag", + "../../modules/audio_processing:api", "../../rtc_base", "../../rtc_base:checks", "../../rtc_base:ip_address", diff --git a/sdk/android/src/jni/pc/audio.h b/sdk/android/src/jni/pc/audio.h index 7a79bed986..09fcaf1c56 100644 --- a/sdk/android/src/jni/pc/audio.h +++ b/sdk/android/src/jni/pc/audio.h @@ -12,9 +12,7 @@ #define SDK_ANDROID_SRC_JNI_PC_AUDIO_H_ #include "api/scoped_refptr.h" -// Adding 'nogncheck' to disable the gn include headers check. -// We don't want this target depend on audio related targets -#include "modules/audio_processing/include/audio_processing.h" // nogncheck +#include "modules/audio_processing/include/audio_processing.h" namespace webrtc { namespace jni {