aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/java/JavaImportBaseRule.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaImportBaseRule.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaImportBaseRule.java
index ced5db17d0..af726b8030 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaImportBaseRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaImportBaseRule.java
@@ -41,20 +41,20 @@ public class JavaImportBaseRule implements RuleDefinition {
.add(attr(":host_jdk", LABEL)
.cfg(HOST)
.value(JavaSemantics.HOST_JDK))
- /* <!-- #BLAZE_RULE(java_import).ATTRIBUTE(jars) -->
+ /* <!-- #BLAZE_RULE($java_import_base).ATTRIBUTE(jars) -->
The list of JAR files provided to Java targets that depend on this target.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("jars", LABEL_LIST)
.mandatory()
.allowedFileTypes(JavaSemantics.JAR))
- /* <!-- #BLAZE_RULE(java_import).ATTRIBUTE(srcjar) -->
+ /* <!-- #BLAZE_RULE($java_import_base).ATTRIBUTE(srcjar) -->
A JAR file that contains source code for the compiled JAR files.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("srcjar", LABEL)
.allowedFileTypes(JavaSemantics.SOURCE_JAR, JavaSemantics.JAR)
.direct_compile_time_input())
.removeAttribute("deps") // only exports are allowed; nothing is compiled
- /* <!-- #BLAZE_RULE(java_import).ATTRIBUTE(neverlink) -->
+ /* <!-- #BLAZE_RULE($java_import_base).ATTRIBUTE(neverlink) -->
Only use this library for compilation and not at runtime.
Useful if the library will be provided by the runtime environment
during execution. Examples of libraries like this are IDE APIs
@@ -62,7 +62,7 @@ public class JavaImportBaseRule implements RuleDefinition {
a standard JDK.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("neverlink", BOOLEAN).value(false))
- /* <!-- #BLAZE_RULE(java_import).ATTRIBUTE(constraints) -->
+ /* <!-- #BLAZE_RULE($java_import_base).ATTRIBUTE(constraints) -->
Extra constraints imposed on this rule as a Java library.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("constraints", STRING_LIST)