commit | c98e55b0af69dfdf8e45dd11f13724430422a53a | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Mon Jul 25 15:51:50 2016 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Mon Jul 25 15:51:50 2016 -0700 |
tree | 0392fcfae8fa4e08f0c6a8a2f37ee529b8b7ba8c | |
parent | 15371ad6522eaa0a35340c6acec3c2b6dc311281 [diff] |
Expose ModuleType to Singletons In order to implement some build statistics in Soong, expose the module type (the string used to define the module) to singletons. Change-Id: I441d12c7782bcf338b3654cfe907b8d2a7253594
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.