a511e0b432
Conflicts: java/res/xml/method.xml java/src/com/android/inputmethod/deprecated/VoiceProxy.java java/src/com/android/inputmethod/keyboard/KeyboardId.java java/src/com/android/inputmethod/latin/BinaryDictionary.java java/src/com/android/inputmethod/latin/LatinIME.java java/src/com/android/inputmethod/latin/Settings.java java/src/com/android/inputmethod/latin/SubtypeSwitcher.java java/src/com/android/inputmethod/latin/Utils.java Change-Id: Ic102a0fbfc3b8f9dd65dd6eabb421f9211f5d9a5
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src $(JNI_H_INCLUDE)
|
|
|
|
LOCAL_CFLAGS += -Werror -Wall
|
|
|
|
# To suppress compiler warnings for unused variables/functions used for debug features etc.
|
|
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
|
|
|
LOCAL_SRC_FILES := \
|
|
jni/com_android_inputmethod_keyboard_ProximityInfo.cpp \
|
|
jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
|
|
jni/onload.cpp \
|
|
src/bigram_dictionary.cpp \
|
|
src/char_utils.cpp \
|
|
src/dictionary.cpp \
|
|
src/proximity_info.cpp \
|
|
src/unigram_dictionary.cpp
|
|
|
|
#FLAG_DBG := true
|
|
|
|
TARGETING_UNBUNDLED_FROYO := true
|
|
|
|
ifeq ($(TARGET_ARCH), x86)
|
|
TARGETING_UNBUNDLED_FROYO := false
|
|
endif
|
|
|
|
ifeq ($(FLAG_DBG), true)
|
|
TARGETING_UNBUNDLED_FROYO := false
|
|
endif
|
|
|
|
ifeq ($(TARGETING_UNBUNDLED_FROYO), true)
|
|
LOCAL_NDK_VERSION := 4
|
|
LOCAL_SDK_VERSION := 8
|
|
endif
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
LOCAL_MODULE := libjni_latinime2
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
ifeq ($(FLAG_DBG), true)
|
|
$(warning Making debug version of native library)
|
|
LOCAL_CFLAGS += -DFLAG_DBG
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|