Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee87c60f authored by Colin Cross's avatar Colin Cross
Browse files

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
parent f9aabd71
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"`