forked from openkylin/platform_build
Merge "Get rid of obsolete Make variable TARGET_CORE_JARS."
This commit is contained in:
commit
f488574666
|
@ -259,8 +259,6 @@ endef
|
|||
# Jars present in the ART apex. These should match exactly the list of
|
||||
# Java libraries in the ART apex build rule.
|
||||
ART_APEX_JARS := core-oj core-libart core-icu4j okhttp bouncycastle apache-xml
|
||||
TARGET_CORE_JARS := $(ART_APEX_JARS) conscrypt
|
||||
HOST_CORE_JARS := $(addsuffix -hostdex,$(TARGET_CORE_JARS))
|
||||
#################################################################
|
||||
|
||||
# Read the product specs so we can get TARGET_DEVICE and other
|
||||
|
|
|
@ -312,8 +312,8 @@ PRODUCT_HOST_PACKAGES += \
|
|||
tz_version_host \
|
||||
tz_version_host_tzdata_apex \
|
||||
|
||||
ifeq ($(TARGET_CORE_JARS),)
|
||||
$(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
|
||||
ifeq ($(ART_APEX_JARS),)
|
||||
$(error ART_APEX_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
|
||||
endif
|
||||
|
||||
# The order matters for runtime class lookup performance.
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
|
||||
# Provides a functioning ART environment without Android frameworks
|
||||
|
||||
ifeq ($(TARGET_CORE_JARS),)
|
||||
$(error TARGET_CORE_JARS is empty; cannot update PRODUCT_PACKAGES variable)
|
||||
endif
|
||||
|
||||
# Additional mixins to the boot classpath.
|
||||
PRODUCT_PACKAGES += \
|
||||
android.test.base \
|
||||
|
@ -33,8 +29,7 @@ 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.
|
||||
# ART_APEX_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 New Issue