aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-08-22 14:16:59 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-08-22 14:49:21 +0000
commit1a86d556e97622fd23fd217eafecbc2f562c1538 (patch)
treeb28d1413e69d0c7d8385f346212054a8d55adf79 /site/docs
parent6905aabbf395ca4cf2ce038827027973ad437b99 (diff)
Update the query documentation to reflect the fact that locations printed are always within BUILD files.
-- MOS_MIGRATED_REVID=130936412
Diffstat (limited to 'site/docs')
-rw-r--r--site/docs/query.html14
1 files changed, 5 insertions, 9 deletions
diff --git a/site/docs/query.html b/site/docs/query.html
index 44402065ff..70bb492454 100644
--- a/site/docs/query.html
+++ b/site/docs/query.html
@@ -1593,15 +1593,11 @@ maxrank
</p>
<p>
- The location information varies by target kind (see the <a
- href='#kind'>kind</a> operator). For rules, the
- location of the rule's declaration within the BUILD file is printed.
- For source files, the location of line 1 of the actual file is
- printed. For a generated file, the location of the rule that
- generates it is printed. (The query tool does not have sufficient
- information to find the actual location of the generated file, and
- in any case, it might not exist if a build has not yet been
- performed.)
+The location printed is the place in the BUILD file where the target is defined.
+For rules, this is the first line of the definition of the rule in the BUILD
+file, for output files, the first line of the definition of the rule that
+outputs the file and for input files, the first line of the definition of a
+rule that references this input file.
</p>
<h3 id="output-package">Print the set of packages</h3>