commit | 2939422b3e62df87d26582ab871e6d1984b31030 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Apr 27 13:18:21 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Apr 27 14:04:14 2015 -0700 |
tree | 6e1b50d0ee70354e47415bbe49a34271cf9a7f8f | |
parent | 1fef536ea6ed1dabc8b0180aa9ccbcdb0272cabe [diff] |
Support subname= to change name of sub Blueprints files Setting the "subname" variable will modify the name of Blueprints files searched in sub directories. If the specified name is not found it will fall back to trying "Blueprints". The subname variable stays in scope for all subdirectories. Change-Id: If3c8ac54735042076fb264d33719d9ea4b8934b3
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.