commit | 2f5358d38bcf21266ed02bbcd052329c20a5d2c1 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed Dec 20 22:48:19 2017 -0800 |
committer | Tao Bao <tbao@google.com> | Wed Dec 20 23:06:02 2017 -0800 |
tree | b49506419bf254f97997531c97c99554a90fa5d5 | |
parent | b379762089108c56fb35f865af83c4cca7c6e5f1 [diff] |
releasetools: Fix the bug that skips loading OEM dict. The CL in [1] unintentionally breaks the OEM dict loading logic in the incremental BBOTA path. We should always require and load the OEM property dict if _either_ of the source and target builds uses OEM properties. Otherwise with the current "and" operator, it skips loading the OEM property dict and thus fails to generate an OTA package that has OEM property changes (e.g. updating from build with fingerprint to another one using thumbprint). The CL in [1] actually makes the right change in the file-based OTA path, but introduces the bug in the block-based OTA path. This CL also cleans up the line that reads recovery_mount_options. [1] commit 7f804ba71fd5fa32e6d9735ec2544075a63b9684 ("releasetools: allow for multiple OEM property values."). Test: Genearte an OTA that has OEM property changes successfully. Change-Id: Idce4ad59825d432618535ce09ab22bd7ddc524f2
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.