summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Ulyana Trafimovich <skvadrik@google.com> 2019-11-06 17:20:49 +0000
committer Ulya Trafimovich <skvadrik@google.com> 2019-11-07 10:34:45 +0000
commit66b3e99649bc1ddae670cc9028d7c85e7787078f (patch)
tree0b75511ea5b0dfb5018580d497f097b3c90f3e21 /java/java_test.go
parentaf60d490ff6fdd716b343e0b29ce5b2bb95e7829 (diff)
Revert^2 "Package dexpreopt artifacts for libcore jars in the ART apex."
This reverts commit 24babe3a66fca3a5237708bab825440a32c2cb71. Build failures are fixed after reworking the patch: - 'missing dependencies' on aosp-master-art branch is fixed by disabling profile generation in case default profile is not found (it is part of framework absent in aosp-master-art) - invalid dex2oat invocation should no longer happen after disabling dexpreopt on targets that do not use default ART config (fixed in CL If2d4fe2cdcb6a81c7c6d730d18c2b681a74fb0b7) Dexpreopt artifacts for the libcore part of the boot class path are now packaged in the ART apex. The system image still contains dexpreopt artifacts for the full set of boot class path libraries (both libcore and framework); the libcore part will be removed and boot image extension will be used in a follow-up CL. Since this is specific to the ART apex and makes no sense for other apexes, the implementation adds a boolean flag "is ART apex" rather than a new apex module property. 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 a third "art" variant. Bug: 143594594 Bug: 143593500 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 javalib/$ARCH/boot*.{art,oat,vdex} files. Test: m art/build/apex/runtests.sh Change-Id: Ib37acaec8401bd23c8d547dadf773565406ef448
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions