Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES
Without this if a Java libraryw with LOCAL_NO_STANDARD_LIBRARIES doesn't have core-libart in its LOCAL_JAVA_LIBRARIES, it would use core-libart as bootclasspath but without having dependency on it. Change-Id: I611a5a5df2bf0ad59e0be50ed1ad1afe8b843e90
This commit is contained in:
@@ -24,8 +24,7 @@ ifeq ($(HOST_OS),linux)
|
||||
LOCAL_UNINSTALLABLE_MODULE := true
|
||||
LOCAL_IS_STATIC_JAVA_LIBRARY := true
|
||||
USE_CORE_LIB_BOOTCLASSPATH := true
|
||||
LOCAL_JAVA_LIBRARIES += core-oj-hostdex
|
||||
LOCAL_JAVA_LIBRARIES += core-libart-hostdex
|
||||
LOCAL_JAVA_LIBRARIES += core-oj-hostdex core-libart-hostdex
|
||||
|
||||
intermediates.COMMON := $(call intermediates-dir-for,JAVA_LIBRARIES,$(LOCAL_MODULE),true,COMMON,)
|
||||
full_classes_jack := $(intermediates.COMMON)/classes.jack
|
||||
|
Reference in New Issue
Block a user