forked from openkylin/platform_build
am c292927f: am e1926260: Treat prebuilt SDKs and the stub as normal java libraries.
Merge commit 'c292927f05ff6955b1e5ffe40b8b9777328eba55' * commit 'c292927f05ff6955b1e5ffe40b8b9777328eba55': Treat prebuilt SDKs and the stub as normal java libraries.
This commit is contained in:
commit
d46905b787
|
@ -381,20 +381,8 @@ full_java_libs := $(addprefix $(HOST_OUT_JAVA_LIBRARIES)/,$(addsuffix $(COMMON_J
|
||||||
full_java_lib_deps := $(full_java_libs)
|
full_java_lib_deps := $(full_java_libs)
|
||||||
endif # LOCAL_BUILD_HOST_DEX
|
endif # LOCAL_BUILD_HOST_DEX
|
||||||
else
|
else
|
||||||
ifdef LOCAL_SDK_VERSION
|
|
||||||
ifneq ($(LOCAL_SDK_VERSION),current)
|
|
||||||
full_java_libs := $(call java-lib-files,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
|
||||||
# For prebuilt sdk versions, we can't depend on the javalib.jar but classes.jar.
|
|
||||||
full_java_lib_deps := $(call java-lib-deps,$(filter-out sdk_v$(LOCAL_SDK_VERSION),$(LOCAL_JAVA_LIBRARIES)),$(LOCAL_IS_HOST_MODULE))
|
|
||||||
full_java_lib_deps += $(call java-lib-files,sdk_v$(LOCAL_SDK_VERSION),$(LOCAL_IS_HOST_MODULE))
|
|
||||||
else
|
|
||||||
full_java_libs := $(call java-lib-files,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
full_java_libs := $(call java-lib-files,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
||||||
full_java_lib_deps := $(call java-lib-deps,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
full_java_lib_deps := $(call java-lib-deps,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
||||||
endif # !current
|
|
||||||
else
|
|
||||||
full_java_libs := $(call java-lib-files,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
|
||||||
full_java_lib_deps := $(call java-lib-deps,$(LOCAL_JAVA_LIBRARIES),$(LOCAL_IS_HOST_MODULE))
|
|
||||||
endif # LOCAL_SDK_VERSION
|
|
||||||
endif # !LOCAL_IS_HOST_MODULE
|
endif # !LOCAL_IS_HOST_MODULE
|
||||||
full_java_libs += $(full_static_java_libs) $(LOCAL_CLASSPATH)
|
full_java_libs += $(full_static_java_libs) $(LOCAL_CLASSPATH)
|
||||||
full_java_lib_deps += $(full_static_java_libs) $(LOCAL_CLASSPATH)
|
full_java_lib_deps += $(full_static_java_libs) $(LOCAL_CLASSPATH)
|
||||||
|
|
Loading…
Reference in New Issue