commit | a481ae201883172b3ad10cd5bdcdb25ba09bb089 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Fri Dec 18 15:18:03 2015 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Fri Dec 18 15:22:26 2015 -0800 |
tree | 41016f4831b7375a1557d4715dd14193ae6ea6c5 | |
parent | 61686a1077f7459640a9ddc36ccf559fa8847afc [diff] |
Add AddNinjaFileDeps to PackageContext Soong needs to add dependencies during a VariableFunc. (we're doing a glob) Change-Id: Iec7b7082b89e1c7fa43fe7240888d2dabb097a9a
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.