diff options
author | Elliott Hughes <enh@google.com> | 2015-01-16 10:47:17 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-01-16 10:47:17 -0800 |
commit | e983a0b31601050b9dd81026d6ed6a802f3f5fa8 (patch) | |
tree | 5b1d5a857723a2d5d5a8c64c0447e315bc23a91b /JavaLibrary.mk | |
parent | 6bfd8701461f0794a529e00dd12c61b67a5497d3 (diff) | |
download | libcore-e983a0b31601050b9dd81026d6ed6a802f3f5fa8.zip libcore-e983a0b31601050b9dd81026d6ed6a802f3f5fa8.tar.gz libcore-e983a0b31601050b9dd81026d6ed6a802f3f5fa8.tar.bz2 |
Only bother building the host tests for Linux.
It's the only place you can run the host tests anyway.
Change-Id: I5fe2b5b74e70a17696baf8ceaacaf4fca52d71ca
Diffstat (limited to 'JavaLibrary.mk')
-rw-r--r-- | JavaLibrary.mk | 4 |
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 # |