commit | 2a40cc6996cf2fa1e09404e065c30babf70c5318 | [log] [tgz] |
---|---|---|
author | Bryan Henry <bryanhenry@google.com> | Sat Apr 14 23:10:32 2018 -0700 |
committer | Bryan Henry <bryanhenry@google.com> | Thu Apr 26 12:42:59 2018 -0700 |
tree | 7bd4b7546982f3b871238dabb81f3def03f28a90 | |
parent | 69d3feb23a7da56d4548298b7775fb4619d37b01 [diff] |
Support regenerating partition table with bpttool in sign_target_files_apks For Android Things targets (or any other target which has BOARD_BPT_INPUT_FILES defined), add_img_to_target_files will generate a partition-table.img using bpttool. It also adds the final combined .bpt definition file into target-files in IMAGES/partition-table.bpt. When we're signing using sign_target_files_apks, add_img_to_target_files needs to regenerate the partition table, but META/misc_info.txt still contains the original list of bpt input files from the build that aren't available. This change extracts the final bpt from the input target-files, adds it to META/ in the output target-files, and then updates the board_bpt_input_files property to point to it. Bug: 72837107 Test: Local sign_target_files_apks run of locally built target-files Change-Id: Id79125208f31c78b1ac2079172f9c91a9203849b
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.