aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2014-04-03 13:07:10 +0900
committerKen Wakasa <kwakasa@google.com>2014-04-03 13:07:10 +0900
commited2781cf91b15a70f49fdec29cc9206e02aed1e4 (patch)
treeb3b5953762d0997d11c5b0acaef39428f6f596d1
parentde2b312c6d00509a313c076d0be37eea5c2d41f3 (diff)
downloadlatinime-ed2781cf91b15a70f49fdec29cc9206e02aed1e4.tar.gz
latinime-ed2781cf91b15a70f49fdec29cc9206e02aed1e4.tar.xz
latinime-ed2781cf91b15a70f49fdec29cc9206e02aed1e4.zip
Exclude liblatinime_host_unittests from Mac build
Change-Id: I786c0ad92ba7ce95182e617686c6466a8b2f400e
-rw-r--r--native/jni/HostUnitTests.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/native/jni/HostUnitTests.mk b/native/jni/HostUnitTests.mk
index 828edce61..967099a53 100644
--- a/native/jni/HostUnitTests.mk
+++ b/native/jni/HostUnitTests.mk
@@ -12,6 +12,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)
######################################
@@ -47,7 +51,10 @@ LOCAL_SRC_FILES := $(addprefix $(LATIN_IME_TEST_SRC_DIR)/, $(LATIN_IME_CORE_TEST
LOCAL_STATIC_LIBRARIES += liblatinime_host_static_for_unittests libgtest_host libgtest_main_host
include $(BUILD_HOST_NATIVE_TEST)
+endif # Darwin - TODO: Remove this
+
#################### Clean up the tmp vars
+LATINIME_HOST_OSNAME :=
LATIN_IME_SRC_DIR :=
LATIN_IME_TEST_SRC_DIR :=
include $(LOCAL_PATH)/CleanupNativeFileList.mk