commit | 12392ca0f1e84f16f38e51060c0492f3e40b3dad | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Oct 02 21:57:47 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Oct 03 14:29:12 2018 -0700 |
tree | 955cac33363e8d915a3ab1acae49aea51bd02df3 | |
parent | c54f732470c40e79b3e1151c24936acdd787eca0 [diff] |
Allow mutated property structs to contain slices of non-strings Property structs can now contain slices of structs and other non-strings as long as they are tagged with `blueprint:"mutated"`. Test: clone_test.go Test: unpack_test.go Change-Id: Ib77348dc6e7314a24f17caba10040f7d3ac54e54
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.