commit | 78369ebbc199ad4507cc0a67f42ed5d67bcf4e77 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Tue Apr 23 12:28:44 2019 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Tue Apr 23 12:55:10 2019 +0800 |
tree | 3467acd098ae2208385d25630ba42c094c8e29e6 | |
parent | 7b3e97b1ea8062df0610c8e82f6bcef3803be785 [diff] |
Avoid signing debuggable boot-debug.img The boot-debug.img should NOT be release signed and can only be used if the device is unlocked. Adding a check to prevent the tool from signing this debuggable boot.img. See the following for more details about boot-debug.img: https://android-review.googlesource.com/c/platform/build/+/947857 Bug: 126493225 Test: put a file /force_debuggable into boot.img, checks the following command fails: ./build/tools/releasetools/sign_target_files_apks \ out/dist/*-target_files-*.zip signed-target_files.zip Change-Id: Ia5232949cb9582d2b4eaa171d9e9f3fe7317d418
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.