commit | d5fe8626283085fa8f201f52f701c3d5fdd484c5 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Wed Jan 08 17:01:11 2020 -0800 |
committer | Daniel Norman <danielnorman@google.com> | Mon Mar 02 19:05:20 2020 +0000 |
tree | 326d1447b0d980a5fa26fcc3eb942c0205d553c2 | |
parent | 47b08fbab5fb76037a8f8eb4f96284b69f598e12 [diff] |
Uses a per-partition fingerprint for building images and avb_salt. This causes the output image files of a merged build to be identical to the image files of the input partial builds, for each images in PARTITIONS_WITH_CARE_MAP. Test: python -m unittest test_common Test: `m dist`; `unzip out/dist/target_files.zip IMAGES/\*`; `zip -d out/dist/target_files.zip IMAGES/\*` `add_img_to_target_files -a out/dist/target_files.zip`. Verify that the rebuilt images are identical to the deleted ones. Test: Build a merged target (using merge_target_files.py). Verify that the partial target-files.zip IMAGES are identical to the merged target-files.zip IMAGES for PARTITIONS_WITH_CARE_MAP images. Bug: 150405807 Change-Id: I5fdf5783c1aff9c14cf5408090389b1f65b69ca6
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.