commit | 3cd2460edc190d16be46388f2d39cac59f2ac182 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Nov 07 07:40:31 2018 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Thu Nov 08 15:42:22 2018 -0800 |
tree | e62a200a627eabca9d784a877bac0c7d040eaec8 | |
parent | c21c709f0b2929bc3e52c890d975572ac9a9e84e [diff] |
build: Split out mkfs in BuildImageMkfs (retry) NB: second attempt, issue with scope for mkfs_output. Separate out BuildImageMkfs from BuildImage, which just makes the filesystem without any verity, avb, or other decisions. BuildImage does all the wrapping for such. This will hopefully ease maintenance and drop the issues surrounding BuildImage reentrancy. Change right-size estimation path to use BuildImageMkfs, and thus do so without verity or avb wrappings. Add partition_headroom to space consideration. This makes the results of the estimation more accurate and predictable. Test: build Bug: 111302946 Change-Id: I2549bd4e403c21290470b2fa1835492ae883f0fd
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.