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 {