commit | 7b179ae17702758f56230260ad9b95be5ae47fce | [log] [tgz] |
---|---|---|
author | Tobias Thierer <tobiast@google.com> | Thu Feb 22 14:33:55 2018 +0000 |
committer | Tobias Thierer <tobiast@google.com> | Thu Feb 22 14:42:28 2018 +0000 |
tree | 79999c673d3533ccd09cb7227d5e5e2e6211bcd0 | |
parent | 1d7d1eb65e25a338a18f5ccf0a71dcf9c745fbaa [diff] |
Clarify error message for bootclasspath whitelist. Before this CL, the build could fail with error messages such as: Error: out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jar contains class file jdk/internal/HotSpotIntrinsicCandidate.class, which is not in the whitelist This error message was only moderately helpful because it left a few questions unanswered or misled ("Whitelist for what?", "Where does the whitelist live?", "Is it a whitelist of class files or of packages?"). This CL clarifies that: - it's a whitelist of packages allowed on the bootclasspath, - where it lives (currently build/make/core/tasks/check_boot_jars/package_whitelist.txt) which makes the error message more actionable. Test: manually checked that the error message now looks okay. Bug: 17434570 Change-Id: I2f52a5e2eb532bc4945bedf9811de5857f67a9a3
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.