diff options
author | 2018-03-28 08:09:07 -0700 | |
---|---|---|
committer | 2018-03-28 08:10:21 -0700 | |
commit | b0440164eda858fa0e14f623780a00b30e20ebf7 (patch) | |
tree | 85a290c60a203d1c2dcee299c791325d1245540b /src/main/java/com/google/devtools/build/lib/rules/proto | |
parent | 64524c1faa22eca5921a0bdd7bb98b89d013bdaf (diff) |
Remove categories from Bazel options.
These have all had a chance to be categorized with the OptionDocumentationCategory enum, and the help output already uses the enum-grouped format.
The "incompatible changes" category has meaning for --all_incompatible_changes and will be removed separately.
RELNOTES: None.
PiperOrigin-RevId: 190773778
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/proto')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/proto/ProtoConfiguration.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/proto/ProtoConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/proto/ProtoConfiguration.java index 1e2db33d31..295857633c 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/proto/ProtoConfiguration.java +++ b/src/main/java/com/google/devtools/build/lib/rules/proto/ProtoConfiguration.java @@ -54,7 +54,6 @@ public class ProtoConfiguration extends Fragment { name = "protocopt", allowMultiple = true, defaultValue = "", - category = "flags", documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS}, help = "Additional options to pass to the protobuf compiler." @@ -64,7 +63,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "experimental_proto_extra_actions", defaultValue = "false", - category = "experimental", documentationCategory = OptionDocumentationCategory.OUTPUT_SELECTION, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, metadataTags = {OptionMetadataTag.EXPERIMENTAL}, @@ -75,7 +73,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "proto_compiler", defaultValue = "@com_google_protobuf//:protoc", - category = "flags", converter = BuildConfiguration.LabelConverter.class, documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, @@ -86,7 +83,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "proto_toolchain_for_javalite", defaultValue = "@com_google_protobuf_javalite//:javalite_toolchain", - category = "flags", converter = BuildConfiguration.EmptyToNullLabelConverter.class, documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, @@ -97,7 +93,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "proto_toolchain_for_java", defaultValue = "@com_google_protobuf//:java_toolchain", - category = "flags", converter = BuildConfiguration.EmptyToNullLabelConverter.class, documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, @@ -108,7 +103,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "proto_toolchain_for_cc", defaultValue = "@com_google_protobuf//:cc_toolchain", - category = "flags", converter = BuildConfiguration.EmptyToNullLabelConverter.class, documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, @@ -120,7 +114,6 @@ public class ProtoConfiguration extends Fragment { name = "strict_proto_deps", defaultValue = "strict", converter = BuildConfiguration.StrictDepsConverter.class, - category = "semantics", documentationCategory = OptionDocumentationCategory.INPUT_STRICTNESS, effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS, OptionEffectTag.EAGERNESS_TO_EXIT}, metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, @@ -133,7 +126,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "cc_proto_library_header_suffixes", defaultValue = ".pb.h", - category = "semantics", documentationCategory = OptionDocumentationCategory.OUTPUT_SELECTION, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, help = "Sets the prefixes of header files that a cc_proto_library creates.", @@ -144,7 +136,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "cc_proto_library_source_suffixes", defaultValue = ".pb.cc", - category = "semantics", documentationCategory = OptionDocumentationCategory.OUTPUT_SELECTION, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, help = "Sets the prefixes of source files that a cc_proto_library creates.", @@ -157,7 +148,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "correctRollupTransitiveProtoRuntimes", defaultValue = "true", - category = "rollout", documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, @@ -169,7 +159,6 @@ public class ProtoConfiguration extends Fragment { @Option( name = "jplNonStrictDepsLikePl", defaultValue = "true", - category = "rollout", documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, |