commit | 7addea35a1e29c53843db684252cd73c1a911c9b | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Mar 11 15:43:52 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Mar 12 17:36:57 2015 -0700 |
tree | 1d35da4c663d12d3dd2ea73103d430424da00fcf | |
parent | e7daa22927a01d442f851550843eac9395be2dcd [diff] |
Iterate through modules directly Instead of iterating through groups and then iterating through the group's modules, iterate through the modules directly. This will allow circular dependencies between groups as long as the individual modules don't have circular dependencies. In order to maintain the ordering of modules in a group, each module is considered to have an implicit dependency on any earlier modules in the same group. Change-Id: Ibce67167c7234db70ede0a6b5c2b43fb8e0bb05d
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja (http://martine.github.io/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 langauge 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.