commit | 80040d2d2c540b975a024fb484239d0ea8818340 | [log] [tgz] |
---|---|---|
author | Zhi Dou <zhidou@google.com> | Tue Dec 19 19:39:22 2023 +0000 |
committer | Zhi Dou <zhidou@google.com> | Tue Dec 19 20:28:23 2023 +0000 |
tree | 18e12cb11cf0ae70fbbada8a78175a400c4a481c | |
parent | 8351b782341bc4c9a08a82a47fae504386b5889c [diff] |
aconfig: modify_parsed_flags_based_on_mode return Result This commit changes modify_parsed_flags_based_on_mode to return Result instead of vector. This change will have two consequences. 1. Error will be thrown if no flags fit into the current codegen mode 2. Error will be thrown if the flag declaration is empty Bug: 311152507 Test: atest aconfig.test Change-Id: I69b9a84312faed9f757bf3974b3cea49c5c5e285
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.