diff options
| author | 2020-02-19 16:57:15 -0800 | |
|---|---|---|
| committer | 2020-02-19 19:07:11 -0800 | |
| commit | ee87c60fc31cd9d11fa671aa03e5ef0675cc965d (patch) | |
| tree | b9da5e6270a6a26dd6ebca8c4bf7dcaa40f1faf5 | |
| parent | f9aabd719a9e4a0b01bcd61d1dc092112c288ff0 (diff) | |
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
| -rwxr-xr-x | java/app.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/app.go b/java/app.go index 71bad683c..bcf08a775 100755 --- a/java/app.go +++ b/java/app.go @@ -79,6 +79,10 @@ type appProperties struct { // list of native libraries that will be provided in or alongside the resulting jar 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 *string `android:"arch_variant"` |