Merge "Reland "Remove Core Library JARs from /system/framework
."" am: 3596fc60c8
am: 6dc4d94f1f
Change-Id: I798e74483ad1cf7d85c218e6b184f93f68b04129
This commit is contained in:
commit
a3f6fa20aa
3 changed files with 9 additions and 5 deletions
|
@ -695,6 +695,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/vndk-*)
|
|||
# Switch to symlinks for VNDK libs
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/vndk-*)
|
||||
|
||||
# Remove Android Core Library artifacts from the system partition
|
||||
# again, as the original change removing them was reverted.
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*.jar)
|
||||
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
|
|
@ -1250,6 +1250,8 @@ else
|
|||
endef
|
||||
endif
|
||||
|
||||
# TODO(b/142944799): Implement Java library absence check for Core Libraries.
|
||||
|
||||
ifdef FULL_BUILD
|
||||
ifneq (true,$(ALLOW_MISSING_DEPENDENCIES))
|
||||
# Check to ensure that all modules in PRODUCT_PACKAGES exist (opt in per product)
|
||||
|
|
|
@ -20,11 +20,6 @@ ifeq ($(TARGET_CORE_JARS),)
|
|||
$(error TARGET_CORE_JARS is empty; cannot update PRODUCT_PACKAGES variable)
|
||||
endif
|
||||
|
||||
# Minimal boot classpath. This should be a subset of PRODUCT_BOOT_JARS, and equivalent to
|
||||
# TARGET_CORE_JARS.
|
||||
PRODUCT_PACKAGES += \
|
||||
$(TARGET_CORE_JARS)
|
||||
|
||||
# Additional mixins to the boot classpath.
|
||||
PRODUCT_PACKAGES += \
|
||||
android.test.base \
|
||||
|
@ -37,6 +32,9 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += com.android.runtime
|
||||
|
||||
# ART APEX module.
|
||||
# Note that this package includes the minimal boot classpath JARs (listed in
|
||||
# TARGET_CORE_JARS), which should no longer be added directly to
|
||||
# PRODUCT_PACKAGES.
|
||||
PRODUCT_PACKAGES += com.android.art
|
||||
PRODUCT_HOST_PACKAGES += com.android.art
|
||||
|
||||
|
|
Loading…
Reference in a new issue