| commit | 8fd55aee47857b3a35a247e5fac17f37551fdb5a | [log] [tgz] |
|---|---|---|
| author | Julien Desprez <jdesprez@google.com> | Tue Jul 22 12:27:43 2025 -0700 |
| committer | Julien Desprez <jdesprez@google.com> | Tue Jul 22 12:27:43 2025 -0700 |
| tree | 6da2c871ee3fe10dfe9ab1ab5266dcb28189afe7 | |
| parent | 0a8625ea26e0700ec7b30c7a21fe034c324b2a01 [diff] |
Deduplicate gathered file list first to avoid overprocessing target file list is full of duplicates and iterating over that list is slow due to the size, deduplicating first speed up the process drastically. Test: presubmit, manual Bug: 433529093 Change-Id: I001337ee8a53a8862ef2cc18f277c0fd9f3358d4
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.