commit | 080c1336b5d3a63446a88fe435b1b8283058b7ca | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Mar 17 13:09:05 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Mar 17 13:46:47 2017 -0700 |
tree | c7d3e3704e20fe44855adfdbc88e429b555187b1 | |
parent | 3f2d6610873aae4cc14c1ec1d6142d6e5d828494 [diff] |
Add Context.VisitDirectDeps Context already has VisitDepsDepthFirst[If], add VisitDirectDeps[If]. Change-Id: Id550bc14275db230c19fd6ca14b67b305dd7d96b
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.