aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/NativeLib.mk
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2014-03-07 12:37:40 +0900
committerKen Wakasa <kwakasa@google.com>2014-03-07 15:04:27 +0900
commit344742b0d1bd592c648db83d7e49137866305bba (patch)
treeaed52e25c8cc6a4069d83bbe5d84d6afa50708df /tools/dicttool/NativeLib.mk
parentce2ac1c835e9794dde41fe14e4e953177c8333cc (diff)
downloadlatinime-344742b0d1bd592c648db83d7e49137866305bba.tar.gz
latinime-344742b0d1bd592c648db83d7e49137866305bba.tar.xz
latinime-344742b0d1bd592c648db83d7e49137866305bba.zip
Recover the dicttool build except for Mac
With a hack: Temporarily disable host tool build on Mac until the build system is ready for C++11. Change-Id: Ib412ba0d7fecc968cc09b4d8fde4e838bdc0618a
Diffstat (limited to 'tools/dicttool/NativeLib.mk')
-rw-r--r--tools/dicttool/NativeLib.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/dicttool/NativeLib.mk b/tools/dicttool/NativeLib.mk
index 26b677447..95f767dc9 100644
--- a/tools/dicttool/NativeLib.mk
+++ b/tools/dicttool/NativeLib.mk
@@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# HACK: Temporarily disable host tool build on Mac until the build system is ready for C++11.
+LATINIME_HOST_OSNAME := $(shell uname -s)
+ifneq ($(LATINIME_HOST_OSNAME), Darwin) # TODO: Remove this
+
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -49,9 +53,13 @@ LOCAL_SRC_FILES := \
$(addprefix $(LATINIME_NATIVE_SRC_DIR)/, $(LATIN_IME_CORE_SRC_FILES))
LOCAL_MODULE := $(LATINIME_HOST_NATIVE_LIBNAME)
+LOCAL_IS_HOST_MODULE := true
include $(BUILD_HOST_SHARED_LIBRARY)
+endif # Darwin - TODO: Remove this
+
# Clear our private variables
include $(LOCAL_PATH)/$(LATINIME_NATIVE_JNI_DIR)/CleanupNativeFileList.mk
LATINIME_DIR_RELATIVE_TO_DICTTOOL := ../..
+LATINIME_HOST_OSNAME :=