87f60017b9
boot-test-harness.img is used to allow adb root on user build images. It also sets properties: ro.audio.silent=1 & ro.test_harness=1. GKI 2.0 devices will use BOARD_PREBUILT_BOOTIMAGE so boot-test-harness.img will not be generated. Therefore, we have to introduce the vendor_boot-test-harness.img as an alternative for boot-test-harness.img. In the future, we'll simplify the flow as: + If a device has a /vendor_boot partition, builds vendor_boot-(test-harness|debug).img. + Otherwise, builds boot-(test-harness|debug).img. boot-(test-harness|debug).img needs to be kept for some clients to gracefully transit to using vendor_boot-(test-harness|debug).img. Bug: 194654549 Test: make then `unpack_bootimg --boot_img $OUT/vendor_boot-test-harness.img` Test: Check the ramdisk content in ./out/vendor_ramdisk Change-Id: If3a1393b4ff3e69bb9b62f3b843b7858437d47bf |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Android.bp | ||
banchanHelp.sh | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
METADATA | ||
navbar.md | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rbesetup.sh | ||
README.md | ||
tapasHelp.sh | ||
Usage.txt |
Android Make Build System
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.