Merge "Move remaining libcore JNI libraries to APEX."

am: 93626d9616

Change-Id: Id031131da1fcfd27ecdbf7e9da95bba2ade3ff36
This commit is contained in:
Nicolas Geoffray 2019-01-28 01:28:53 -08:00 committed by android-build-merger
commit 8b227ab6d9
2 changed files with 6 additions and 9 deletions

View file

@ -535,6 +535,12 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
# Remove corrupt generated rule due to using toybox's sed
$(call add-clean-step, rm -rf $(SOONG_OUT_DIR)/.intermediates/system/core/init/generated_stub_builtin_function_map)
# Clean up core JNI libraries moved to runtime apex
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib*/libjavacore.so)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib*/libopenjdk.so)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib*/libexpat.so)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

View file

@ -33,15 +33,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
ext \
# Why are we pulling in expat, which is used in frameworks, only, it seem?
PRODUCT_PACKAGES += \
libexpat \
# Libcore.
PRODUCT_PACKAGES += \
libjavacore \
libopenjdk \
# Libcore ICU. TODO: Try to figure out if/why we need them explicitly.
PRODUCT_PACKAGES += \
libicui18n \