2010-03-09 20:46:57 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
|
|
|
|
2010-07-20 07:20:15 +00:00
|
|
|
LOCAL_PACKAGE_NAME := LatinIME
|
2010-03-09 20:46:57 +00:00
|
|
|
|
2010-07-20 07:20:15 +00:00
|
|
|
LOCAL_CERTIFICATE := shared
|
2010-03-09 20:46:57 +00:00
|
|
|
|
2010-07-20 07:20:15 +00:00
|
|
|
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime
|
2010-03-09 20:46:57 +00:00
|
|
|
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := android-common
|
|
|
|
|
|
|
|
#LOCAL_AAPT_FLAGS := -0 .dict
|
2010-04-19 16:24:57 +00:00
|
|
|
# The following flag is required because we use a different package name
|
2010-07-20 07:20:15 +00:00
|
|
|
# com.google.android.inputmethod.latin than Java package name
|
|
|
|
# com.android.inputmethod.latin
|
2010-04-19 16:24:57 +00:00
|
|
|
LOCAL_AAPT_FLAGS := --custom-package com.android.inputmethod.latin
|
2010-03-09 20:46:57 +00:00
|
|
|
|
2010-07-15 00:32:12 +00:00
|
|
|
LOCAL_SDK_VERSION := 8
|
2010-03-09 20:46:57 +00:00
|
|
|
|
|
|
|
LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
|
|
|
|
|
2010-07-24 01:15:57 +00:00
|
|
|
# Define LOCAL_DICTIONARY_RESOURCE_DIR in order to overlay dictionaries.
|
|
|
|
# The overlay dictionary resource directory should have dictionary files such
|
|
|
|
# as raw-en/main.dict, raw-es/main.dict per locale.
|
|
|
|
ifneq ($(strip $(LOCAL_DICTIONARY_RESOURCE_DIR)),)
|
|
|
|
LOCAL_RESOURCE_DIR := $(LOCAL_DICTIONARY_RESOURCE_DIR) $(LOCAL_PATH)/res
|
|
|
|
endif
|
|
|
|
|
2010-03-09 20:46:57 +00:00
|
|
|
include $(BUILD_PACKAGE)
|