commit | 5f681e1dd79e4fb34d3151af3035a6c75c445aec | [log] [tgz] |
---|---|---|
author | Dario Freni <dariofreni@google.com> | Tue May 29 13:09:01 2018 +0100 |
committer | Dario Freni <dariofreni@google.com> | Thu Jul 19 11:15:11 2018 +0100 |
tree | 5831987ef14e346f8db6abcdeb36da8b4d1481dd | |
parent | f1429b1c31511c5675bced83c94cab6013bd5099 [diff] |
Add support for /product-services partition This CL is largely an adaptation of Change-Id I774e6a38003734421591e51bed103802ff84f432 It adds the following variables: - BOARD_AVB_PRODUCT_SERVICES_KEY_PATH - BOARD_AVB_PRODUCT_SERVICES_ALGORITHM - BOARD_AVB_PRODUCT_SERVICES_ROLLBACK_INDEX_LOCATION - BOARD_PRODUCT_SERVICESIMAGE_FILE_SYSTEM_TYPE - BOARD_PRODUCT_SERVICESIMAGE_EXTFS_INODE_COUNT - BOARD_PRODUCT_SERVICESIMAGE_EXTFS_RSV_PCT - BOARD_PRODUCT_SERVICESIMAGE_PARTITION_SIZE - BOARD_PRODUCT_SERVICESIMAGE_JOURNAL_SIZE - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_BLOCK_SIZE - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_COMPRESSOR - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_COMPRESSOR_OPT - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_DISABLE_4K_ALIGN - BOARD_PREBUILT_PRODUCT_SERVICESIMAGE - BOARD_USES_PRODUCT_SERVICESIMAGE - LOCAL_PRODUCT_SERVICES_MODULE - PRODUCT_PRODUCT_SERVICES_BASE_FS_PATH - PRODUCT_PRODUCT_SERVICES_VERITY_PARTITION - PRODUCT_PRODUCT_SERVICES_PROPERTIES - TARGET_COPY_OUT_PRODUCT_SERVICES - TARGET_OUT_PRODUCT_SERVICES - TARGET_OUT_PRODUCT_SERVICES_* Bug: 80741439 Test: Successfully built product-services.img with one module in it, and flashed on device. Also successfully built image with /system/product-services directory and no /product-services partition. Change-Id: I5d229f6ac729ea6df9ff1f14cee2e28972cd9b4d
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.