commit | b130e791b61eb3401d095ae1d610d5667961496f | [log] [tgz] |
---|---|---|
author | Luca Farsi <lucafarsi@google.com> | Thu Aug 22 12:04:41 2024 -0700 |
committer | Luca Farsi <lucafarsi@google.com> | Mon Aug 26 12:26:48 2024 -0700 |
tree | 07860a34c55d5fc95a9d2969a3a2c05cb86d57e2 | |
parent | 1dbf5fb0454616d05c2aec48f9aff8fa51eac4a4 [diff] |
add BuildContext class and fix enabled features Add a BuildContext class to simplify parsing the build context dict, and fix the parsing of enabledBuildFeatures, which was being parsed as a list of strings when it's actually a list of dicts like: [{'name': '<feature_name>'}] Test: atest build_test_suites_test Bug: 361605425 Change-Id: I6424c444daf1582e92313c39f43207cb274aa78f
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.