commit | 7f507406884a05e6fc4b75914ca3de2f1b14baad | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Dec 16 13:03:41 2015 -0800 |
committer | Colin Cross <ccross@android.com> | Wed Dec 16 13:03:41 2015 -0800 |
tree | 391b00b81181c2efa254dbe346dc2dbb20432577 | |
parent | eb97a6e7a1afa6d4817545bec3304e906ecc35f7 [diff] |
Add optional_subdirs variable support When building a subset of a source tree, some of the subdirectories mentioned in the subdirs variable may be missing. Add support for an optional_subdirs variable, which won't error out if the requested directory is missing.
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.