mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
458249e703
This change is a preparation for upcoming optimizations on dictionary file loading. * We can consolidate dictionary files because we are no longer relying on Asset Manager. * Stopping compressing dictionary files as planning to use mmap() on the region in the apk file. * Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor. Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
27 lines
591 B
Makefile
27 lines
591 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := LatinIME
|
|
|
|
LOCAL_CERTIFICATE := shared
|
|
|
|
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := android-common
|
|
|
|
# Do not compress dictionary files to mmap dict data runtime
|
|
LOCAL_AAPT_FLAGS := -0 .dict
|
|
|
|
# Include all the resources regardless of system supported locales
|
|
LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
|
|
|
|
LOCAL_SDK_VERSION := current
|
|
|
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
|
|
|
include $(BUILD_PACKAGE)
|