commit | 4d33c64f70b7616767816c0d8f52b07c4fa55e8b | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Tue Oct 29 10:13:10 2024 -0700 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Tue Oct 29 10:13:10 2024 -0700 |
tree | 87fac7c2fde46f999973775ad80671da21de5809 | |
parent | 5e9bc76129c314e3d07a12ba545e2831e439b85f [diff] |
Only install snapshotctl on debug builds snapshotctl is a debug tool, which is intended for engineers to inspect snapshot partition state when OTA fails. It is not meant for production use, since it requires root, it can't be used in prod devices' adb shell either. Test: build, make sure build has snapshotctl Change-Id: I350b9522f6c18606c3f3c15a8c231a3c41bee18f
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.