diff --git a/core/config.mk b/core/config.mk index b0805fc27..2ad4488a8 100644 --- a/core/config.mk +++ b/core/config.mk @@ -212,11 +212,6 @@ endif HIDDENAPI_EXTRA_APP_USAGE_JARS := \ core-oj-hiddenapi \ -# Default to remove the org.apache.http.legacy from bootclasspath -ifeq ($(REMOVE_OAHL_FROM_BCP),) -REMOVE_OAHL_FROM_BCP := true -endif - # ############################################################### # Broken build defaults # ############################################################### diff --git a/target/product/base_system.mk b/target/product/base_system.mk index a220188ce..39e2074ab 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -291,15 +291,6 @@ PRODUCT_UPDATABLE_BOOT_LOCATIONS := \ /apex/com.android.conscrypt/javalib/conscrypt.jar -# Add the compatibility library that is needed when org.apache.http.legacy -# is removed from the bootclasspath. -ifeq ($(REMOVE_OAHL_FROM_BCP),true) -PRODUCT_PACKAGES += framework-oahl-backward-compatibility -PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility -else -PRODUCT_BOOT_JARS += org.apache.http.legacy -endif - PRODUCT_COPY_FILES += \ system/core/rootdir/init.usb.rc:root/init.usb.rc \ system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \