forked from openkylin/platform_build
Merge changes from topic "java_sdk_library" into pi-dev-plus-aosp
* changes: org.apache.http.legacy.boot is renamed to org.apache.http.legacy.impl use the phony module name to install org.apache.http.legacy
This commit is contained in:
commit
cb04d86495
|
@ -165,7 +165,7 @@ my_2nd_arch_prefix :=
|
|||
# $(2): the output .odex file
|
||||
# In the case where LOCAL_ENFORCE_USES_LIBRARIES is true, PRIVATE_DEX2OAT_CLASS_LOADER_CONTEXT
|
||||
# contains the normalized path list of the libraries. This makes it easier to conditionally prepend
|
||||
# org.apache.http.legacy.boot based on the SDK level if required.
|
||||
# org.apache.http.legacy.impl based on the SDK level if required.
|
||||
define dex2oat-one-file
|
||||
$(hide) rm -f $(2)
|
||||
$(hide) mkdir -p $(dir $(2))
|
||||
|
|
|
@ -78,12 +78,12 @@ else
|
|||
my_stored_preopt_class_loader_context_libs := $(call normalize-path-list, \
|
||||
$(foreach lib_name,$(my_filtered_uses_libraries),/system/framework/$(lib_name).jar))
|
||||
|
||||
# Fix up org.apache.http.legacy.boot since it should be org.apache.http.legacy in the manifest.
|
||||
my_lib_names := $(patsubst org.apache.http.legacy.boot,org.apache.http.legacy,$(my_lib_names))
|
||||
my_optional_lib_names := $(patsubst org.apache.http.legacy.boot,org.apache.http.legacy,$(my_optional_lib_names))
|
||||
# Fix up org.apache.http.legacy.impl since it should be org.apache.http.legacy in the manifest.
|
||||
my_lib_names := $(patsubst org.apache.http.legacy.impl,org.apache.http.legacy,$(my_lib_names))
|
||||
my_optional_lib_names := $(patsubst org.apache.http.legacy.impl,org.apache.http.legacy,$(my_optional_lib_names))
|
||||
ifeq (,$(filter org.apache.http.legacy,$(my_lib_names) $(my_optional_lib_names)))
|
||||
my_conditional_uses_libraries_host := $(call intermediates-dir-for,JAVA_LIBRARIES,org.apache.http.legacy.boot,,COMMON)/javalib.jar
|
||||
my_conditional_uses_libraries_target := /system/framework/org.apache.http.legacy.boot.jar
|
||||
my_conditional_uses_libraries_host := $(call intermediates-dir-for,JAVA_LIBRARIES,org.apache.http.legacy.impl,,COMMON)/javalib.jar
|
||||
my_conditional_uses_libraries_target := /system/framework/org.apache.http.legacy.impl.jar
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
PRODUCT_PACKAGES += \
|
||||
20-dns.conf \
|
||||
95-configured \
|
||||
org.apache.http.legacy.boot \
|
||||
org.apache.http.legacy \
|
||||
appwidget \
|
||||
appops \
|
||||
am \
|
||||
|
|
|
@ -121,7 +121,7 @@ PRODUCT_BOOT_JARS := \
|
|||
ifeq ($(REMOVE_OAHL_FROM_BCP),true)
|
||||
PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility
|
||||
else
|
||||
PRODUCT_BOOT_JARS += org.apache.http.legacy.boot
|
||||
PRODUCT_BOOT_JARS += org.apache.http.legacy.impl
|
||||
endif
|
||||
|
||||
ifeq ($(REMOVE_ATB_FROM_BCP),true)
|
||||
|
|
|
@ -106,7 +106,7 @@ PRODUCT_BOOT_JARS := \
|
|||
ifeq ($(REMOVE_OAHL_FROM_BCP),true)
|
||||
PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility
|
||||
else
|
||||
PRODUCT_BOOT_JARS += org.apache.http.legacy.boot
|
||||
PRODUCT_BOOT_JARS += org.apache.http.legacy.impl
|
||||
endif
|
||||
|
||||
ifeq ($(REMOVE_ATB_FROM_BCP),true)
|
||||
|
|
Loading…
Reference in New Issue