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

Commit bd1ed5b8 authored by Robert CH Chou's avatar Robert CH Chou Committed by Robert_CH_Chou
Browse files

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
parent 23c45bac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)