commit | c7c4a766f094ed9f7449539f93c2c278a967af35 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Mon Oct 28 20:07:57 2019 +0000 |
committer | Roland Levillain <rpl@google.com> | Wed Oct 30 16:25:19 2019 +0000 |
tree | ac94ecd8faa33dc880537a289d4f2fef8df6a76e | |
parent | 10954b52ee068988ce8245a05033ed2fcdf81c4b [diff] |
Reland "Remove Core Library JARs from `/system/framework`." These JARs are part of the ART APEX, and are now located in `/apex/com.android.art/javalib`. Remove the supernumerary copies in `/system/framework` and save ~11 MiB on the system partition. This change no longer breaks coverage builds, as module `jacocoagent` has been removed from `TARGET_CORE_JARS` in CL https://android-review.googlesource.com/c/platform/build/+/1151464. This reverts commit 7c39368927ca6226e6071a9f0613945ee0755268. Test: Device boot test Test: Check that: export EMMA_INSTRUMENT=true && unset EMMA_INSTRUMENT_STATIC && m installclean && m systemimage generates a system image that contains these files: /system/framework/apex-jacocoagent.vdex /system/framework/boot-jacocoagent.vdex /system/framework/jacocoagent.jar /system/framework/<arch>/apex-jacocoagent.art /system/framework/<arch>/apex-jacocoagent.oat /system/framework/<arch>/apex-jacocoagent.vdex /system/framework/<arch>/boot-jacocoagent.art /system/framework/<arch>/boot-jacocoagent.oat /system/framework/<arch>/boot-jacocoagent.vdex Test: Run test ATP test avd/avd_boot_health_check on build target cf_x86_phone-userdebug_coverage Bug: 142944799 Bug: 143304991 Change-Id: Ifdb2331c5dcb992adbfd6c5a3983d8b9b13d16b2
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.