diff options
| author | 2018-04-14 23:10:32 -0700 | |
|---|---|---|
| committer | 2018-04-26 12:42:59 -0700 | |
| commit | 2a40cc6996cf2fa1e09404e065c30babf70c5318 (patch) | |
| tree | 7bd4b7546982f3b871238dabb81f3def03f28a90 /tools/normalize_path.py | |
| 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
Diffstat (limited to 'tools/normalize_path.py')
0 files changed, 0 insertions, 0 deletions