aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-06-09 09:38:36 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-06-09 09:57:29 +0000
commitf0cf38dd09ad9f00d5aab109ebf6a21d0fd2f0a3 (patch)
treec40aed37d4cd2e2074a4511436d8323eb89bfb0e /src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java
parent91e3a14e244b541913e9c1ee6a8fb4dd1aa7f681 (diff)
Make it possible to put the Crosstool proto in BUILD files.
This is needed so that Bazel can access Android NDK if it's outside of the workspace. The current limitation is that we Bazel can pretend that there is a BUILD file there, but cannot do the same with a CROSSTOOL file. We could fix that limitation, but given that Crosstool is the only conceivable use case, let's fix it by changing the Blaze-Crosstool interface. -- MOS_MIGRATED_REVID=95517408
Diffstat (limited to 'src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java')
-rw-r--r--src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java b/src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java
index 0d6f5d691a..c68dae2dbc 100644
--- a/src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java
+++ b/src/main/java/com/google/devtools/build/docgen/RuleDocumentationAttribute.java
@@ -45,6 +45,8 @@ class RuleDocumentationAttribute implements Comparable<RuleDocumentationAttribut
.put(Type.TRISTATE, "Integer")
.put(Type.LABEL, "<a href=\"build-ref.html#labels\">Label</a>")
.put(Type.LABEL_LIST, "List of <a href=\"build-ref.html#labels\">labels</a>")
+ .put(Type.LABEL_DICT_UNARY,
+ "Dictionary mapping strings to <a href=\"build-ref.html#labels\">labels</a>")
.put(Type.LABEL_LIST_DICT,
"Dictionary mapping strings to lists of <a href=\"build-ref.html#labels\">labels</a>")
.put(Type.NODEP_LABEL, "<a href=\"build-ref.html#name\">Name</a>")