commit | 92d41de8f225d70616ac3ab9a4723bf019e60c52 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Jun 17 17:22:40 2020 +0100 |
committer | Paul Duffin <paulduffin@google.com> | Wed Jun 17 17:38:24 2020 +0100 |
tree | 5a85dbd7aaba78b173a227f2bc4ffc36600c21ce | |
parent | d9673e768a5e5558100278be8c7f5284bc710085 [diff] |
Fail check-boot-jars if boot jar contains 0 .class files Protect against an invalid boot jar, e.g. one containing .dex files is used instead of .class files. Test: add a prebuilt for framework-tethering Run `m check-boot-jars` with the first fix from https://r.android.com/1341756 and the build fails due to no .class files because a dex jar is used. Run `m check-boot-jars` with all fixeds from https://r.android.com/1341756 and the build works. Bug: 158304459 Bug: 159112414 Change-Id: I0e8ebd318312949bc58ba7a5c89f9e265b8bedf2
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.