commit | 8e454c5575c4d2bfe254dda4f5bb4a21e62a9afc | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Jul 06 12:18:59 2020 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Jul 06 13:34:42 2020 -0700 |
tree | c499eea63f918c17aa15239dac9cbc32cee6eba7 | |
parent | e635dc0568690809235cf91c10cd648fe6414c21 [diff] |
Remove unused Context.ModulePath Context.ModulePath is a duplicate of Context.BlueprintFile, and is misleading because it returns the path to the Android.bp, and not the path to the directory that contains the Android.bp file like ModuleContext.ModuleDir. Change-Id: I505136fce3c3d37595cd4b4e08de5e2691a2a0f6
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.