Merge "Remove REMOVE_OAHL_FROM_BCP flag"

This commit is contained in:
Paul Duffin 2019-01-24 16:01:40 +00:00 committed by Gerrit Code Review
commit 22efcc114e
2 changed files with 0 additions and 14 deletions

View File

@ -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
# ###############################################################

View File

@ -290,15 +290,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 \