commit | 9cda3979487d0c72b12684a5594c5c440327fd3e | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Tue Oct 12 22:59:12 2021 +0900 |
committer | Inseob Kim <inseob@google.com> | Thu Nov 11 17:30:19 2021 +0900 |
tree | 3bc87f3a8513e31496134b9af02d4c5b7ab51435 | |
parent | 372d74a8c9c0bce6c9c6b2f179fd71edd0eb4f86 [diff] |
Implement fsverity metadata generator Using fsverity tool, fsverity metadata for specific artifacts in system mage can be generated. Users can do that by setting a makefile variable PRODUCT_SYSTEM_FSVERITY_GENERATE_METADATA to true. If set to true, the following artifacts will be signed. - system/framework/*.jar - system/framework/oat/<arch>/*.{oat,vdex,art} - system/etc/boot-image.prof - system/etc/dirty-image-objects One fsverity metadata container file per one input file will be generated in system.img, with a suffix ".fsv_meta". e.g. a container file for "system/framework/foo.jar" will be "system/framework/foo.jar.fsv_meta". Bug: 193113311 Test: build with PRODUCT_SYSTEM_FSVERITY_GENERATE_METADATA := true Change-Id: Ib70d591a72d23286b5debcb05fbad799dfd79b94
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.