commit | 5d2b56b1298b31df328c91e93949edfe23e8ea26 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Fri Jun 26 11:37:28 2020 -0400 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Mon Jun 29 16:08:45 2020 -0400 |
tree | 4234bb0680f7e6c228a9b701e4f4919f662b13ac | |
parent | 8add8cb1459446c1ae7a33bc764bbc49efdd4f32 [diff] |
Fix validate_target_files for target files modified by add_img_to_target_files.py See bug description: "When resigning images, the validate_target_files.py can be used to verify the images using avbtool. The script will use the vbmeta.img to achieve this, and all relevant images need to be in the IMAGES folder. However, due to changes on add_img_to_target_files.py and specifically the commit 5277d1015, some images (e.g. acpio.img and tos.img) are no longer copied from RADIO to the IMAGES folder. This causes an error on validate_target_files.py indicating that it cannot find image such as IMAGES/acpio.img." This CL fixes this by symlink images under RADIO directory to IMAGES directory before invoking avbtool. Bug: 159299583 Test: python3 -m unittest test_validate_target_files Change-Id: I5769ee2ab5230d2a3a7cef10706dcc5788e654f8
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.