diff options
author | dslomov <dslomov@google.com> | 2017-12-20 11:02:50 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-20 11:22:39 -0800 |
commit | 13047a0a4156721185afbb779c06595769c99dc4 (patch) | |
tree | 917e5b7c9be6def01b7042e30764a98b94fc17f7 /site | |
parent | 5274d8bec89f9cc3e4f551a7d5a45a5061df2825 (diff) |
Rewrite confusing sentence in aspects.md.
RELNOTES: None
PiperOrigin-RevId: 179707811
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/skylark/aspects.md | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/site/docs/skylark/aspects.md b/site/docs/skylark/aspects.md index fa80e5f08d..19f45f8e2c 100644 --- a/site/docs/skylark/aspects.md +++ b/site/docs/skylark/aspects.md @@ -46,15 +46,12 @@ This BUILD file defines a dependency graph shown in the following figure: <img src="build-graph.png" alt="Build Graph" width="250px" /> -Bazel analyzes this dependency graph by calling implementations of -[rules](rules.md) (in this case "java_library" starting from leaves of -the dependency graph). These implementations generate actions that build -artifacts (such as Jar files), and provide information (such as locations -and names of those artifacts) to their dependencies in providers that -they return. Their dependencies can access those providers through the -[Target object](lib/Target.html). In other words, every target -defined in the BUILD file generates a node in the dependency graph, and -the appropriate rule implementation function is called for every node. +Bazel analyzes this dependency graph by calling an implementation function of +the corresponding [rule](rules.md) (in this case "java_library") for every +target in the above example. Rule implementation functions generate actions that +build artifacts, such as `.jar` files, and pass information, such as locations +and names of those artifacts, to the dependencies of those targets in +[providers](rules.md#providers). Aspects are similar to rules in that they have an implementation function that generates actions and returns providers. However, their power comes from |