commit | da945bf33c48fc266c38ceca8479f54cf631276f | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Jan 11 13:50:00 2017 -0800 |
committer | Colin Cross <ccross@android.com> | Wed Jan 11 13:50:58 2017 -0800 |
tree | cc0a882a282cd83262559cfa8c1301529102445b | |
parent | b431941604410f2bab7101d87e79701fba9c0407 [diff] |
Make symlink during test The tests/test_tree/blueprint symlink causes find to print a warning in the Android build: find: File system loop detected; `./build/blueprint/tests/test_tree/blueprint' is part of the same file system loop as `./build/blueprint'. Make the symlink when running the test instead. Change-Id: I52788af7b262f8aa7a00a501f0b50695e469adb1
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.