commit | 0b907f39442ff229a5cbee928daef980b89d6413 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Wed Jun 15 20:39:02 2022 -0700 |
committer | Bob Badour <bbadour@google.com> | Fri Jun 17 13:11:22 2022 -0700 |
tree | 6b08322cb1cee58e42ca657d52c6a8196a1fa93c | |
parent | dce80abbe3069d385ec6f13b69193e5ace224ab0 [diff] |
Target dist files not dist goals. It turns out dist goals do not map well to units of code distributed. They often build a combination of files to distribute and files for internal use only. This change creates license texts and lists of projects to share for individual files in dist instead of for dist goals. If a distribution needs the license texts for part of a dist file or for a combination of multiple files, whoever is distributing will have to create a suitable text notice using `gen_notice{}` or `testnotice` and include it among the dist files for the goal using `dist-for-goals` or equivalent. Bug: 151177513 Bug: 210912771 Bug: 235333302 Bug: 232138105 Bug: 235302632 Test: m cts dist Test: m droid dist Test: tapas google-tradefed-all && m dist Change-Id: Id78f032575a2ac1a3cc70643b3ae4d2e6c32da04
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.