commit | 1907836ad9dd955f361bd64091ca698bf883a4ea | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 25 11:23:13 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Sep 26 14:21:40 2019 -0700 |
tree | 92e05954cdde1853ab47b24bf4acb519de4ff6cf | |
parent | 5639ec157c031da85c67d63432558d34c636c2f6 [diff] |
Add proptools.FilterPropertyStruct Move some code from Soong to support creating a property struct at runtime by filtering fields out of another property struct. Test: TestFilterPropertyStruct Change-Id: Ic5ae390a885195bebad6f3ecb7c752c0582a60b1
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.