mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Make the JNI lib an optional module
Make it a user module will force it installed no matter the IME is actually required by the product or not. Replace the user by optional and add requiring the libjni_latinime by using LOCAL_REQUIRED_MODULES Change-Id: Ibfc37cf2e2391021d45538c7cea342894b56fbf8
This commit is contained in:
parent
23c45bac20
commit
bd1ed5b859
@ -10,6 +10,7 @@ LOCAL_PACKAGE_NAME := LatinIME
|
||||
LOCAL_CERTIFICATE := shared
|
||||
|
||||
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime
|
||||
LOCAL_REQUIRED_MODULES := libjni_latinime
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-common
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += inputmethod-common
|
||||
|
@ -43,7 +43,7 @@ endif
|
||||
|
||||
LOCAL_MODULE := libjni_latinime
|
||||
|
||||
LOCAL_MODULE_TAGS := user
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
ifeq ($(FLAG_DO_PROFILE), true)
|
||||
$(warning Making profiling version of native library)
|
||||
|
Loading…
x
Reference in New Issue
Block a user