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
2 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue