commit | 6af7284d08d58de98e73bf65e12c60ad86626add | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 25 11:24:19 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Sep 25 14:53:25 2019 -0700 |
tree | 70bbe2b08fd7fe75a480d0f6db1ea8a458a5e2d4 | |
parent | 884e7374fbb3f7d8e43ae9da5e9d2628a7e676f1 [diff] |
Make CreateModule return the newly created module Allow mutators to modify properties of the newly created module by returning it. Change-Id: Ia1acc70b6196195d1bad58c88ab3def70b99e42c
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.