commit | 82df71123a7aff89e4bf57a9b3dc0f81f23cfa18 | [log] [tgz] |
---|---|---|
author | Zhi Dou <zhidou@google.com> | Wed Dec 13 17:31:19 2023 +0000 |
committer | Zhi Dou <zhidou@google.com> | Wed Dec 13 20:02:32 2023 +0000 |
tree | 41cc519c9a865902ea84f155d6f65f0519be3f99 | |
parent | aaf82ff6261ad205eb38f4f74eeabaa469617219 [diff] |
aconfig: CodegenMode::Exported: only generate code for exported flags If the codegen mode is CodegenMode::Exported, the codegen should not generate code including any non-exported flags. This change add a function to filter the parsed flags before feeding to codegen. Test: atest aconfig.test aconfig.test.java AconfigJavaHostTest aconfig.test.cpp aconfig.test.cpp.test_mode aconfig.prod_mode.test.rust Bug: 311152500 Change-Id: Ia88795bbd13774d02c76d8ab7ef20868149599b5
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.