commit | 433f822d76074943a7ab54de147be0889f4c3bef | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Mon Aug 13 13:01:14 2018 -0700 |
committer | David Anderson <dvander@google.com> | Wed Aug 22 11:40:22 2018 -0700 |
tree | 5977527dae8b2f65bc2ef0e609be4f3599a0aa02 | |
parent | 0de30815ff51487fc2522845bcb72a8f8a0fc4ec [diff] |
Build image for clean super partition. This adds a new super_empty.img output to the build when PRODUCT_USE_LOGICAL_PARTITIONS is true and a super partition size is set. This will be used by fastboot flashall in fastbootd, since it needs a record of the partition layout in case the super partition is corrupt or not yet flashed. Unlike the full super.img, super_empty.img is not a sparse image. It contains the minimal data sequence needed to format the super partition. It also does not contain partition sizes, since flashing is responsible for choosing the correct partition size. The full super.img (which contains embedded partition data) is still available via "make dist". Bug: 78793464 Test: super_empty.img generated when PRODUCT_USE_LOGICAL_PARTITIONS is true. mmm system/extras/partition_tools && lpdump super_empty.img works Change-Id: I34e915a1fead806287dde554d190474785e52500
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.