am 21f78782: am 1b140e16: Merge "Build hostdex on only Linux."
* commit '21f78782d5e59a58e664e9ae52f537cee314f407': Build hostdex on only Linux. Fix comma in $(if ...).
This commit is contained in:
commit
40423825da
|
@ -1368,7 +1368,7 @@ define transform-o-to-shared-lib-inner
|
|||
$(hide) $(PRIVATE_CXX) \
|
||||
-nostdlib -Wl,-soname,$(notdir $@) \
|
||||
-Wl,--gc-sections \
|
||||
$(if $(filter true,$(PRIVATE_CLANG)),-shared,-Wl,-shared) \
|
||||
$(if $(filter true,$(PRIVATE_CLANG)),-shared,-Wl$(comma)-shared) \
|
||||
$(PRIVATE_TARGET_GLOBAL_LD_DIRS) \
|
||||
$(if $(filter true,$(PRIVATE_NO_CRT)),,$(PRIVATE_TARGET_CRTBEGIN_SO_O)) \
|
||||
$(PRIVATE_ALL_OBJECTS) \
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
# They will be compiled against libcore and not the host JRE.
|
||||
#
|
||||
|
||||
ifeq ($(HOST_OS),linux)
|
||||
USE_CORE_LIB_BOOTCLASSPATH := true
|
||||
|
||||
#######################################
|
||||
|
@ -135,3 +136,5 @@ $(LOCAL_BUILT_MODULE): $(built_dex) $(java_resource_sources)
|
|||
endif # LOCAL_USE_JACK
|
||||
|
||||
USE_CORE_LIB_BOOTCLASSPATH :=
|
||||
|
||||
endif
|
||||
|
|
|
@ -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
|
||||
|
@ -43,3 +44,5 @@ $(full_classes_jack): $(java_sources) $(java_resource_sources) $(full_jack_lib_d
|
|||
$(java-to-jack)
|
||||
|
||||
USE_CORE_LIB_BOOTCLASSPATH :=
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue