commit | 9ae14f12f9ff8261e416f7563357490ed7063f51 | [log] [tgz] |
---|---|---|
author | Liz Kammer <eakammer@google.com> | Mon Nov 30 16:30:45 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Nov 30 16:30:45 2020 -0700 |
tree | f65cd89f91a76699f324a1f9e18e8de68d7018f8 | |
parent | 16754d14e28ca0609a36f989f58ab3ad56ce8d21 [diff] |
Invalidate module group cache if deps are modified (#334) * Invalidate module group cache if deps are modified PreSingletons run after the blueprints have been parsed and can run VisitAllModules; however, this seeds the cache of sorted modules which may change after mutators have run. This causes recomputation of the cache if any deps have been modified since the last time it was run. Change-Id: I79fc822dd630f84790f309ba4e6024588a8fe28e
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.