commit | 0e90759bfed9207fdc6a708d9c08ad95a5511b7a | [log] [tgz] |
---|---|---|
author | Jeff Gaston <jeffrygaston@google.com> | Fri Dec 01 17:10:52 2017 -0800 |
committer | Jeff Gaston <jeffrygaston@google.com> | Mon Dec 04 17:16:21 2017 -0800 |
tree | 5dc9263cf0cbe6233f46b9ad9eaf245b3ac21993 | |
parent | f23e36690e1e76551535b9479e3285425331a862 [diff] |
Make ninja file deterministic even with dup module names Bug: 65683273 Test: ./build/soong/scripts/diff_build_graphs.sh \ --products=aosp_arm '' '' Change-Id: I5e45b2309ba4993ba2180b5f9a4785f31e28d503
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.