commit | 5f99923ef17b37713f77266e3e1b2303d48758ea | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Sep 04 11:42:53 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Sep 06 09:25:22 2018 -0700 |
tree | e8bd794e776034305a9085caca66bb4e3b9d7f1b | |
parent | 71034e3764c7d9c463fa3ebc0b7e0bcbc24d0768 [diff] |
Expose libminui related variables as vendor default properties. TARGET_RECOVERY_DEFAULT_ROTATION, TARGET_RECOVERY_OVERSCAN_PERCENT and TARGET_RECOVERY_PIXEL_FORMAT are vendor-specific properties used by libminui. So they are needed by both of recovery and charger modes. We used to pass them to libminui as build-time flags (pre-Q), and switched them to runtime properties recently (available to recovery only). Since /sbin/charger lives on system image, the values should be still passed as runtime properties, but need to be additionally available under charger mode, and overridable by vendor-init. This CL writes these variables as vendor default properties (i.e. /vendor/default.prop if property_overrides_split_enabled is true, otherwise into /default.prop). Note that writing them as vendor build properties doesn't work, as init doesn't load /vendor/build.prop under charger mode. Bug: 113567255 Test: Build along with other CLs in the topic (for sepolicy and libminui changes). Boot into charger mode. Test: Boot into recovery. Run graphics test. Change-Id: Iccc4de0fbff508d489fc93b45c2ecfd0fb96053c
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.