commit | 0e68f70ab772528203cebc690d826f5d3e42319d | [log] [tgz] |
---|---|---|
author | Joe Onorato <joeo@google.com> | Fri May 24 14:19:21 2024 -0700 |
committer | Joe Onorato <joeo@google.com> | Fri May 24 14:37:51 2024 -0700 |
tree | cdb5d8bd36649b8f3d3dbd39c036590991beeee9 | |
parent | 3acb308f98fdf77ecc9cb992ca786123b29a4dc7 [diff] |
Make get_build_var and get_abs_build_var into scripts. Inside envsetup.sh there's an optimization to batch their calls. That's now done by _get_build_var_cached and _get_abs_build_var_cached. Bug: 340648588 Test: lunch Change-Id: I63e39c7dc7705b0e6e7052cb8d9f9840ae398e6b
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.