blob: 1477a1afa9f9f4469c9b815c376ec31ae596624a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#if (!$singlePage)
---
layout: documentation
title: Predefined Python Variables
---
#end
#if (!$singlePage)
#parse("com/google/devtools/build/docgen/templates/be/header.vm")
#end
<h2 id="predefined-python-variables">Predefined Python Variables</h2>
#if (!$singlePage)
<div class="toc">
<h1>Contents</h1>
<ul>
<li><a href="#packagename">packagename</a></li>
</ul>
</div>
#end
<h3 id="packagename">PACKAGE_NAME</h3>
<p>
This is a string variable with the name of the package being evaluated. In
particular, when <code>PACKAGE_NAME</code> appears in a <code>.bzl</code>
file, its value will be the package that <i>uses</i> the .bzl file, not the
package that contains it.
</p>
#if (!$singlePage)
#parse("com/google/devtools/build/docgen/templates/be/footer.vm")
#end
|