diff --git a/core/install_jni_libs_internal.mk b/core/install_jni_libs_internal.mk index ab5fd2ced..a99d88ad7 100644 --- a/core/install_jni_libs_internal.mk +++ b/core/install_jni_libs_internal.mk @@ -109,6 +109,9 @@ ifneq ($(LOCAL_SDK_VERSION),) my_link_type := app:sdk my_warn_types := native:platform $(my_warn_ndk_types) my_allowed_types := $(my_allowed_ndk_types) + ifneq (,$(filter true,$(LOCAL_VENDOR_MODULE) $(LOCAL_ODM_MODULE) $(LOCAL_PROPRIETARY_MODULE))) + my_allowed_types += native:vendor native:vndk + endif else my_link_type := app:platform my_warn_types := $(my_warn_ndk_types)