commit | c230b0b0c90da793a36678760f3881cfc86cd077 | [log] [tgz] |
---|---|---|
author | SzuWei Lin <szuweilin@google.com> | Thu Dec 30 13:48:01 2021 +0800 |
committer | SzuWei Lin <szuweilin@google.com> | Thu Dec 30 13:48:01 2021 +0800 |
tree | f21a7d00c43d9ddceb01ae06e861293da6561b0a | |
parent | 8c861cec97383a30eaef1ea4f68b2ed04f41f5b8 [diff] |
Fix build error on empty root folder If a build target does not contain system image, it doesn't output anything to root folder. The patch fix the build error for the case the root folder is empty. Bug: 212486689 Test: make bootimage dist Test: Build pass Change-Id: I4f1376eb7e615f48171ed9c3057c5a78074abaa6
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.