commit | c5d5bb424f504d9558495692a776742b53024908 | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Thu Oct 07 12:06:49 2021 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Fri Oct 15 15:39:15 2021 -0700 |
tree | 0bc48d58a59590536b41c350357e8af2b7c2f9cc | |
parent | 88cceca4c52255d283644b9a135b8092d73e3214 [diff] |
Better Soong config namespace support makefile macros. Implement two new macros, `soong_config_set` and `soong_config_append`, which will eventually replace the existing add_soong_config_xxx. With the new macros, namespace declaration is implicit, and a value can be appended to a variable in the namespace. Bug: 200297238 Test: treehugger Change-Id: I4ffd21bdb6d93db3b1630703fc5f766649b4152c
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.