summaryrefslogtreecommitdiffstats
path: root/core/host_dalvik_static_java_library.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-01-26 09:52:28 -0800
committerYing Wang <wangying@google.com>2015-01-26 09:52:28 -0800
commit0757768f4309664a357c5ccb4728eb9407ad3700 (patch)
tree88610df73c751e1407428b82f539f542f1de2b59 /core/host_dalvik_static_java_library.mk
parentcfc95cf435cd9e6deabcac3c38cc8cba0272244b (diff)
downloadbuild-0757768f4309664a357c5ccb4728eb9407ad3700.zip
build-0757768f4309664a357c5ccb4728eb9407ad3700.tar.gz
build-0757768f4309664a357c5ccb4728eb9407ad3700.tar.bz2
Build hostdex on only Linux.
Change-Id: I9213684e4c65632c54e9929f693f4b6a24beb95a
Diffstat (limited to 'core/host_dalvik_static_java_library.mk')
-rw-r--r--core/host_dalvik_static_java_library.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/host_dalvik_static_java_library.mk b/core/host_dalvik_static_java_library.mk
index 3ae74e4..9e5aaa3 100644
--- a/core/host_dalvik_static_java_library.mk
+++ b/core/host_dalvik_static_java_library.mk
@@ -19,6 +19,7 @@
# These libraries will be compiled against libcore and not the host
# JRE.
#
+ifeq ($(HOST_OS),linux)
USE_CORE_LIB_BOOTCLASSPATH := true
LOCAL_JAVA_LIBRARIES += core-libart-hostdex
@@ -26,3 +27,5 @@ LOCAL_JAVA_LIBRARIES += core-libart-hostdex
include $(BUILD_SYSTEM)/host_java_library.mk
USE_CORE_LIB_BOOTCLASSPATH :=
+
+endif