Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c507982 authored by Igor Murashkin's avatar Igor Murashkin
Browse files

core: Move core.oat bootjar definitions into core/config

TARGET_CORE_JARS and HOST_CORE_JARS define the minimal
bootclasspath jars necessary to run with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS to reuse TARGET_CORE_JARS.

(These changes are required to figure out what --bootclasspath_entry
to pass to desugar).

Bug: 36902714
Test: make -j32 && make -j32 build-art-host build-art-target
Change-Id: I620e28be41047a1d501d7f144fe415ee4a0af36f
parent cb07cb1a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -799,6 +799,13 @@ else
SUPPORT_LIBRARY_ROOT := frameworks/support
endif

#################################################################
# Set up minimal BOOTCLASSPATH list of jars to build/execute
# java code with dalvikvm/art.
#################################################################
TARGET_CORE_JARS := core-oj core-libart conscrypt okhttp bouncycastle apache-xml
HOST_CORE_JARS := $(addsuffix -hostdex,$(TARGET_CORE_JARS))

# Historical SDK version N is stored in $(HISTORICAL_SDK_VERSIONS_ROOT)/N.
# The 'current' version is whatever this source tree is.
#
+1 −6
Original line number Diff line number Diff line
@@ -85,18 +85,13 @@ PRODUCT_PACKAGES += \

# The order matters
PRODUCT_BOOT_JARS := \
    core-oj \
    core-libart \
    conscrypt \
    okhttp \
    $(TARGET_CORE_JARS) \
    legacy-test \
    bouncycastle \
    ext \
    framework \
    telephony-common \
    voip-common \
    ims-common \
    apache-xml \
    nullwebview \
    org.apache.http.legacy.boot