mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
ae1b71c6a8
bug: 2811749 Refer to https://android-git.corp.google.com/g/58621 Change-Id: I3721ad3b3a29673f1ddd32871b1575a45c7365ee
34 lines
998 B
Makefile
Executable File
34 lines
998 B
Makefile
Executable File
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
|
|
|
LOCAL_PACKAGE_NAME := LatinIME
|
|
|
|
LOCAL_CERTIFICATE := shared
|
|
|
|
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := android-common
|
|
|
|
#LOCAL_AAPT_FLAGS := -0 .dict
|
|
# The following flag is required because we use a different package name
|
|
# com.google.android.inputmethod.latin than Java package name
|
|
# com.android.inputmethod.latin
|
|
LOCAL_AAPT_FLAGS := --custom-package com.android.inputmethod.latin
|
|
|
|
LOCAL_SDK_VERSION := 8
|
|
|
|
LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
|
|
|
|
# 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
|
|
|
|
include $(BUILD_PACKAGE)
|