commit | 16fec72dfc0ea8ed90c50fedd78176575e09a5ee | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Oct 17 13:41:20 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Oct 17 13:42:34 2019 -0700 |
tree | 72b86b1da1996672aa56b8da2e8301cd9f0cae3d | |
parent | 2f55f24c4634f81dbe8c104f86f9c3d7ac95373f [diff] |
Move outputs of bootstrap modules in main stage to separate directory Don't write to $buildDir/.bootstrap in the ninja file generated for the main stage. Test: examine main stage build.ninja file Change-Id: I9c6183c9a434ff11d44cdd4f9844eae192ebfe03
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.