commit | fda3c6a36ab2dafa9f40e645e00885b2f2dd5e05 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Nov 02 10:33:25 2023 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Nov 02 10:33:25 2023 -0700 |
tree | c6c2dea53a0d7c4e9c11310193d83e83165868ba | |
parent | 1b7f072505f984dedf4e42a2cefc8d916594b7e6 [diff] |
Delete unused variables from clear_vars.mk Kati analysis in AOSP spends around 6 seconds in clear_vars.mk. Delete any variables in clear_vars.mk that are not referenced anywhere else in build/make/core. Test: no change to build-aosp_cf_x86_64_phone.ninja Change-Id: I7e0db3c02d297de825acbfbd1a0f05724d1e846d
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.