commit | 4adcf848084565c131a8dd5271a260d8b5234e69 | [log] [tgz] |
---|---|---|
author | Spandan Das <spandandas@google.com> | Tue Nov 08 19:44:01 2022 +0000 |
committer | Zhi Dou <zhidou@google.com> | Wed Mar 15 22:13:04 2023 +0000 |
tree | 62791ccd0971c96ebf4a8ce0b295181777cdbef7 | |
parent | fc8c3e1f3d09a9931fcde600aab703e8ace497f5 [diff] |
Conditional inclusion of blueprint modules Bug: 270654958 This introduces a new `blueprint_package_includes` module type. If present, other blueprint modules in that file will be analyzed if and only if the requested include tags are met example syntax: ``` Android.bp blueprint_packgage_includes { match_all: ["tag1", "tag2", ...], } other_module1 {...} other_module2 {...} ``` other_module1 and other_module2 will not be analyzed unless tag1,tag2, ... are set This also adds a new object of type `IncludeTags` to the Context object, which is a container for these string keys. Test: In build/blueprint, go test ./ Test: TH Change-Id: I79de0d7da3224a5b2025c27a5137f39d00c7382e Merged-In: I79de0d7da3224a5b2025c27a5137f39d00c7382e (cherry picked from commit fd1f976100fb78d50902bd6feb550e92f70fa962)
Blueprint is being archived on 2021 May 3.
On 2021 May 3, we will be archiving the Blueprint project. This means it will not be possible to file new issues or open new pull requests for this GitHub project. As the project is being archived, patches -- including security patches -- will not be applied after May 3. The source tree will remain available, but changes to Blueprint in AOSP will not be merged here and Blueprint's source tree in AOSP will eventually stop being usable outside of Android.
Whereas there are no meta-build systems one can use as a drop-in replacement for Blueprint, there are a number of build systems that can be used: