use the phony module name to install org.apache.http.legacy

org.apache.http.legacy.boot which is the runtime library for
org.apache.http.legacy API is now renamed to org.apache.http.legacy.impl
as a result of migration to java_sdk_library.

Installing the runtime library can now be done via the sdk lib name
(org.apache.http.legacy) which internally includes the .impl runtime
lib.

Bug: 77577799
Test: m -j
Test: device boots to the UI. No error related to org.apache.http.legacy
shown in the logcat log.
Test: adb shell cmd package list libraries | grep http shows the
library.

Merged-In: I224bc0f8c58958240130aa7874851ecfdf6f7317
Change-Id: I224bc0f8c58958240130aa7874851ecfdf6f7317
(cherry picked from commit 6ac30d5270)
This commit is contained in:
Jiyong Park 2018-05-02 15:29:56 +09:00
parent 9684a90e8a
commit d0ee38b43a

View file

@ -18,7 +18,7 @@
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
20-dns.conf \ 20-dns.conf \
95-configured \ 95-configured \
org.apache.http.legacy.boot \ org.apache.http.legacy \
appwidget \ appwidget \
appops \ appops \
am \ am \