aboutsummaryrefslogtreecommitdiffstats
path: root/common/Android.mk
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2014-10-22 18:24:44 +0900
committerKen Wakasa <kwakasa@google.com>2014-10-22 19:26:21 +0900
commit54a1b8ec54c0a001cae93af43e25a8e35de02ff1 (patch)
treee0ca148b9a408ab752d62a6a69146632d0ad957c /common/Android.mk
parent90aa229f01f2a14ae5b4542e065d27d000dafb82 (diff)
downloadlatinime-54a1b8ec54c0a001cae93af43e25a8e35de02ff1.tar.gz
latinime-54a1b8ec54c0a001cae93af43e25a8e35de02ff1.tar.xz
latinime-54a1b8ec54c0a001cae93af43e25a8e35de02ff1.zip
Add latinime-common local lib
This is just a placeholder in this CL. It will be shared by LatinIME, dicttool, and tests. Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
Diffstat (limited to 'common/Android.mk')
-rw-r--r--common/Android.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/Android.mk b/common/Android.mk
new file mode 100644
index 000000000..99aed4c5d
--- /dev/null
+++ b/common/Android.mk
@@ -0,0 +1,26 @@
+# Copyright (C) 2014 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_MODULE := latinime-common
+LOCAL_SDK_VERSION := 21
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# Also build a host side library
+include $(CLEAR_VARS)
+LOCAL_MODULE := latinime-common-host
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+include $(BUILD_HOST_JAVA_LIBRARY)