commit | 139c7270361a421592705836391ebb48dafaba57 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Jul 31 13:26:54 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Jul 31 21:09:40 2018 -0700 |
tree | c530c64fff471990583999321f93266d8e98fa4f | |
parent | ca52cd4b643e46f258ac393f2e3c78c52371b8b0 [diff] |
Write custom recovery UI vars as recovery build prop. We used to consume target-specific recovery UI variables at build time, by passing them as macros, which prevents from building recovery with Soong. This CL writes these vars as build properties, which can be queried by recovery at runtime. With this CL (and the change to recovery), it also allows customizing these properties at boot time, e.g. by init based on the device SKU. Bug: 110380063 Test: `m bootimage` with aosp_taimen-userdebug. Check that recovery build property file ($OUT/recovery/root/prop.default) has `ro.recovery.ui.margin_height=105`. Change-Id: I53409593779e604b8d8c727d522d9eb76e14508a
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.