commit | f63abb1cae1f389482aac2994a2fa107ce3b3de6 | [log] [tgz] |
---|---|---|
author | Huang Jianan <huangjianan@oppo.com> | Thu Apr 29 15:24:50 2021 +0800 |
committer | Jianan Huang <huangjianan@oppo.com> | Thu Apr 29 07:40:46 2021 +0000 |
tree | f19ac906ac04089e4775adc9420236067e2b4698 | |
parent | a6d2d8c79a1d51d3066ca26d6b08e26717ffa012 [diff] |
Avoid to print undefined image_size and partition_size If dynamic partitioning is enabled and the partition size is not set, we will get a KeyError before image_size or partition_size is calculated when we try to catch exception in BuildImageMkfs. Bug: 186704243 Test: build_image.py can correctly throw exception Change-Id: I3d8c143ad5603d07fe94afb8bb911ead244f0bf7 Signed-off-by: Huang Jianan <huangjianan@oppo.com>
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.