Add jni_uses_platform_api property to android_app
Add a jni_uses_platform_api property that will be used to allow an app that builds against the SDK to use JNI libraries that build against platform APIs. For now it is a noop, but the next CL will make it enforcing. Bug: 149591057 Test: m checkbuild Change-Id: Id7b7c8186bf0e28498a4cfb15c6a6ccc95df3679
This commit is contained in:
@@ -79,6 +79,10 @@ type appProperties struct {
|
|||||||
// list of native libraries that will be provided in or alongside the resulting jar
|
// list of native libraries that will be provided in or alongside the resulting jar
|
||||||
Jni_libs []string `android:"arch_variant"`
|
Jni_libs []string `android:"arch_variant"`
|
||||||
|
|
||||||
|
// if true, allow JNI libraries that link against platform APIs even if this module sets
|
||||||
|
// sdk_version.
|
||||||
|
Jni_uses_platform_apis *bool
|
||||||
|
|
||||||
// STL library to use for JNI libraries.
|
// STL library to use for JNI libraries.
|
||||||
Stl *string `android:"arch_variant"`
|
Stl *string `android:"arch_variant"`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user