diff options
author | 2016-01-28 12:31:29 +0000 | |
---|---|---|
committer | 2016-01-28 15:30:27 +0000 | |
commit | c63b90f8828cf5c5c17d028d2e1a41371bf11c24 (patch) | |
tree | 5e846bc6a1725d87ff55ad9ae06f8a49395b0612 /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java | |
parent | 844312c4fb5ac85592b9525f4efd2577103f0b1a (diff) |
Remove unused ${SYNOPSIS} variable from Bazel native rule inline documentation.
This variable is no longer used because the docgen template directly calls
RuleDocumentationAttribte.getSynopsis() instead of using the SYNOPSIS variable,
and RuleDocumentationAttribute.getHtmlDocumentation() resolves the SYNOPSIS
variable to the empty string.
--
MOS_MIGRATED_REVID=113249993
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java index 24ba5a4beb..cb4a1ba59a 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java @@ -52,7 +52,6 @@ public class ObjcProtoLibraryRule implements RuleDefinition { .requiresConfigurationFragments(ObjcConfiguration.class, AppleConfiguration.class) /* <!-- #BLAZE_RULE(objc_proto_library).ATTRIBUTE(deps) --> The directly depended upon proto_library rules. - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .override(attr("deps", LABEL_LIST) // Support for files in deps is for backwards compatibility. @@ -61,22 +60,18 @@ public class ObjcProtoLibraryRule implements RuleDefinition { /* <!-- #BLAZE_RULE(objc_proto_library).ATTRIBUTE(options_file) --> Optional options file to apply to protos which affects compilation (e.g. class whitelist/blacklist settings). - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .add(attr(OPTIONS_FILE_ATTR, LABEL).legacyAllowAnyFileType().singleArtifact().cfg(HOST)) /* <!-- #BLAZE_RULE(objc_proto_library).ATTRIBUTE(output_cpp) --> If true, output C++ rather than ObjC. - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .add(attr(OUTPUT_CPP_ATTR, BOOLEAN).value(false)) /* <!-- #BLAZE_RULE(objc_proto_library).ATTRIBUTE(use_objc_header_names) --> If true, output headers with .pbobjc.h, rather than .pb.h. - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .add(attr(PER_PROTO_INCLUDES, BOOLEAN).value(false)) /* <!-- #BLAZE_RULE(objc_proto_library).ATTRIBUTE(per_proto_includes) --> If true, always add all directories to objc_library includes, - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .add(attr(COMPILE_PROTOS_ATTR, LABEL) .allowedFileTypes(FileType.of(".py")) |