Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0757768f authored by Ying Wang's avatar Ying Wang
Browse files

Build hostdex on only Linux.

Change-Id: I9213684e4c65632c54e9929f693f4b6a24beb95a
parent cfc95cf4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
# They will be compiled against libcore and not the host JRE.
#

ifeq ($(HOST_OS),linux)
USE_CORE_LIB_BOOTCLASSPATH := true

#######################################
@@ -108,3 +109,5 @@ $(LOCAL_BUILT_MODULE): $(built_dex) $(java_resource_sources)
	$(add-dex-to-package)

USE_CORE_LIB_BOOTCLASSPATH :=

endif
+3 −0
Original line number Diff line number Diff line
@@ -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