Apks are again allowed to use vendor libs as before
When BOARD_VNDK_VERSION is set, native libs that were labeled as native:platform are now divided into native:platform and native:vendor sets depending on their install locations. In order to keep the existing apks to use all the libraries that they have been using, native:vendor is also added to the allowed types for apks. However, in the future when we have vendor SDK and enforce all vendor apks to use the vendor SDK, we will disallow native:vendor to app:platform and native:vendor will be allowed only to those vendor apks (probably labeled as app:vendor). Bug: 33241851 Test: BOARD_VNDK_VERSION=current m <a vendor lib using vendor jni> (e.g. ModemDiagnosticSystem in internal master) Change-Id: I6ad0967ab17f07be9657b58c20fa9b96bd1a342b Merged-In: I6ad0967ab17f07be9657b58c20fa9b96bd1a342b
This commit is contained in:
parent
0f61372f57
commit
eb2e568df2
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ my_allowed_types := native:ndk
|
|||
else
|
||||
my_link_type := app:platform
|
||||
my_warn_types :=
|
||||
my_allowed_types := native:ndk native:platform
|
||||
my_allowed_types := native:ndk native:platform native:vendor
|
||||
endif
|
||||
|
||||
my_link_deps := $(addprefix SHARED_LIBRARIES:,$(LOCAL_JNI_SHARED_LIBRARIES))
|
||||
|
|
Loading…
Reference in a new issue