From c63b90f8828cf5c5c17d028d2e1a41371bf11c24 Mon Sep 17 00:00:00 2001 From: David Chen Date: Thu, 28 Jan 2016 12:31:29 +0000 Subject: 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 --- .../google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.java') 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) /* The directly depended upon proto_library rules. - ${SYNOPSIS} */ .override(attr("deps", LABEL_LIST) // Support for files in deps is for backwards compatibility. @@ -61,22 +60,18 @@ public class ObjcProtoLibraryRule implements RuleDefinition { /* Optional options file to apply to protos which affects compilation (e.g. class whitelist/blacklist settings). - ${SYNOPSIS} */ .add(attr(OPTIONS_FILE_ATTR, LABEL).legacyAllowAnyFileType().singleArtifact().cfg(HOST)) /* If true, output C++ rather than ObjC. - ${SYNOPSIS} */ .add(attr(OUTPUT_CPP_ATTR, BOOLEAN).value(false)) /* If true, output headers with .pbobjc.h, rather than .pb.h. - ${SYNOPSIS} */ .add(attr(PER_PROTO_INCLUDES, BOOLEAN).value(false)) /* If true, always add all directories to objc_library includes, - ${SYNOPSIS} */ .add(attr(COMPILE_PROTOS_ATTR, LABEL) .allowedFileTypes(FileType.of(".py")) -- cgit v1.2.3