From ae1b71c6a8e0669dcdfef439a80ab72148a0cbb9 Mon Sep 17 00:00:00 2001
From: Ken Wakasa <kwakasa@google.com>
Date: Sat, 24 Jul 2010 10:15:57 +0900
Subject: [PATCH] Move Google's proprietary dictionaries for LatinIME to
 vendor/google/apps/LatinImeGoogle.

bug: 2811749

Refer to https://android-git.corp.google.com/g/58621

Change-Id: I3721ad3b3a29673f1ddd32871b1575a45c7365ee
---
 java/Android.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/java/Android.mk b/java/Android.mk
index c89e1c6bbf..0d5a93db07 100755
--- a/java/Android.mk
+++ b/java/Android.mk
@@ -23,4 +23,11 @@ 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)
-- 
GitLab