commit | 7bf6f6213017775c4392119d3970ab719ba9074a | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Apr 14 16:00:47 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Apr 15 11:03:06 2015 -0700 |
tree | af16a579d7d696c6d42edc3dcbc7ddac8d1a6c3c | |
parent | 8ac0a812f120fd7f2a1da07f6228352dee4b84d0 [diff] |
Replace ReplaceExtension regexp with manual string operations regexp is overkill for a simple extension replacement, just find the last '.' and add the new extension after it. Saves 5% cpu time on one workload. Change-Id: Ic299c9ec5132d15bbea2c9c7778c000d6fdf509a
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.