commit | 427fea8b493f4c6e1fe34a3992da61e0401c7c1c | [log] [tgz] |
---|---|---|
author | Daniel Zheng <zhengdaniel@google.com> | Wed May 15 11:14:11 2024 -0700 |
committer | Daniel Zheng <zhengdaniel@google.com> | Wed May 15 16:00:15 2024 -0700 |
tree | abd789134384ce98edba6cba4cca19d82370593e | |
parent | 43b6834425ab13c43e88f2236b760cd2fe788af2 [diff] |
Add build configs for wearable tunables Low memory devices place special emphasis on memory constraints and cpu utilization. We want to expose a set of build configurations that allow these devices to fine tune resource usage during OTA installation. Our strategy will be the following. 1. For any tunable needed in first stage init, read the .ro prop during ota installation, propogate the configuration to SnapshotUpdateStatus proto, then read the property from /metadata upon first reboot (since .ro properties are not available here) 2. For tunables which aren't needed until second stage init, read the .ro prop directly. This first CL will just add the build configurations to the build system. Subsequent CL's will forward the configs to protobufs and snapuserd daemon Bug: 332255580 Test: th Change-Id: I31b36b42f8fba997c772fe1a4ba99b17128b3eca
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.