diff options
author | 2011-01-05 00:39:41 +0900 | |
---|---|---|
committer | 2011-01-05 11:31:58 +0900 | |
commit | 458249e703bded3a1cbd25a2ab2249f9366a8188 (patch) | |
tree | 9a2f02ed25db681adb72e6ddf54049b3dc22291c /native/Android.mk | |
parent | a96574fdd5e38a237a35b21a2b7c20a29138c648 (diff) | |
download | latinime-458249e703bded3a1cbd25a2ab2249f9366a8188.tar.gz latinime-458249e703bded3a1cbd25a2ab2249f9366a8188.tar.xz latinime-458249e703bded3a1cbd25a2ab2249f9366a8188.zip |
Consolidate main dictionary files.
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
Diffstat (limited to 'native/Android.mk')
-rw-r--r-- | native/Android.mk | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/native/Android.mk b/native/Android.mk index 2de3892db..38465acf3 100644 --- a/native/Android.mk +++ b/native/Android.mk @@ -12,13 +12,20 @@ LOCAL_SRC_FILES := \ #FLAG_DBG := true -ifneq ($(TARGET_ARCH),x86) -ifneq ($(FLAG_DBG), true) - LOCAL_NDK_VERSION := 4 +TARGETING_UNBUNDLED_FROYO := true + +ifeq ($(TARGET_ARCH), x86) + TARGETING_UNBUNDLED_FROYO := false endif -LOCAL_SDK_VERSION := 8 -endif #TARGET_ARCH = x86 +ifeq ($(FLAG_DBG), true) + TARGETING_UNBUNDLED_FROYO := false +endif + +ifeq ($(TARGETING_UNBUNDLED_FROYO), true) + LOCAL_NDK_VERSION := 4 + LOCAL_SDK_VERSION := 8 +endif LOCAL_MODULE := libjni_latinime |