summaryrefslogtreecommitdiffstats
path: root/JavaLibrary.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-16 19:48:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-16 19:48:30 +0000
commit2c0ffd5f475716e747e4fd47bc8f7996ad8d1b56 (patch)
treedb99f5c2dd8f65a39992907d3c033faf6caa66a2 /JavaLibrary.mk
parent510742b01e0662c1c6078783d0ef0c4184ba9945 (diff)
parente983a0b31601050b9dd81026d6ed6a802f3f5fa8 (diff)
downloadlibcore-2c0ffd5f475716e747e4fd47bc8f7996ad8d1b56.zip
libcore-2c0ffd5f475716e747e4fd47bc8f7996ad8d1b56.tar.gz
libcore-2c0ffd5f475716e747e4fd47bc8f7996ad8d1b56.tar.bz2
Merge "Only bother building the host tests for Linux."
Diffstat (limited to 'JavaLibrary.mk')
-rw-r--r--JavaLibrary.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/JavaLibrary.mk b/JavaLibrary.mk
index c857390..9670d1b 100644
--- a/JavaLibrary.mk
+++ b/JavaLibrary.mk
@@ -148,6 +148,8 @@ $(LOCAL_INTERMEDIATE_TARGETS): $(TMP_RESOURCE_DIR)$(TMP_RESOURCE_FILE)
# Build for the host.
#
+ifeq ($(HOST_OS),linux)
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-main-java-files-under, dex)
LOCAL_MODULE_TAGS := optional
@@ -199,6 +201,8 @@ ifeq ($(LIBCORE_SKIP_TESTS),)
include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)
endif
+endif # HOST_OS == linux
+
#
# Local droiddoc for faster libcore testing
#