Merge "Allow native:vendor to vendor apks"

This commit is contained in:
Treehugger Robot 2018-04-12 17:21:59 +00:00 committed by Gerrit Code Review
commit f2fc1418d3
1 changed files with 3 additions and 0 deletions

View File

@ -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)