commit | 5d825b7a6891609dea4fc3a839c3437951d59541 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Wed Oct 26 18:16:44 2022 -0700 |
committer | Cole Faust <colefaust@google.com> | Fri Oct 28 10:44:02 2022 -0700 |
tree | c6bacae196e5dd2e34092c830b94540863da6737 | |
parent | 65540981950216ad097910fed57738fa463bb751 [diff] |
Speed up m command autocompletion Generate a all_modules.txt file on every build that can be used for autocompleting. Because this adds time to every non-incremental build, I profiled it by using `$(shell date +"%s.%3N")` before and after, and disovered it only adds about 0.01 seconds to the build. And of course it won't be rerun if there weren't build changes. Bug: 255867758 Test: Manually Change-Id: I1d3f1008611fd542884322b27b19ea2fa1d341fe
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.