Files
build_soong/java
Ulya Trafimovich d5df949385 Package dexpreopt artifacts for libcore jars in the ART apex.
This patch adds dexpreopt files for the libore part of the
bootclasspath to the ART apex.

Since this is specific to the ART apex and makes not sense for other
apexes, the patch does not add a new module property, but only a
boolean flag denoting that this is an ART apex.

Dexpreopt artifacts packaged into the ART apex differ from those that
are packaged in the system image: it inludes only the libcore part of
bootclasspath jars, but not the framework part. When the boot image
extension is implementd, dexpreopt artifacts for the libcore jars will
be removed from the system image (but for now they are both in the
apex and in the system image).

Build rules for the new set of dexpreopt artifacts are created using
a new variant of the global boot image config. Previously we had two
variants: "default" (for the system image) and "apex" (for the
JIT-zygote experiment). This patch adds the third "libcore" variant.

Test: m
Test: m com.android.art deapexer \
    && find $ANDROID_BUILD_TOP -type f -name 'com.android.art.*.apex \
        | xargs deapexer | grep boot \
    Expect to find dexpreopt/$ARCH/boot-art*.{art,oat,vdex} files.
Test: m art/build/apex/runtests.sh

Change-Id: I353ef90304bc5e18c3055ea379b3b223e5c38948
2019-10-28 14:03:08 +00:00
..
2019-09-29 23:26:37 -07:00
2019-10-11 16:38:14 +01:00
2019-10-18 14:52:16 +01:00
2019-10-18 01:30:39 +00:00
2019-10-18 14:52:16 +01:00
2019-10-04 14:00:36 -07:00
2019-10-19 02:45:42 +00:00
2019-01-23 18:05:18 +00:00
2019-07-17 11:15:09 -07:00
2019-06-13 05:22:03 +00:00
2019-07-17 11:15:09 -07:00
2019-10-11 16:38:14 +01:00
2019-09-27 10:38:06 +01:00
2019-10-18 15:14:15 -07:00