File tree Expand file tree Collapse file tree
src/main/java/com/google/devtools/build/lib/rules/proto Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2828import com .google .devtools .build .lib .packages .StarlarkProviderIdentifier ;
2929import com .google .devtools .build .lib .packages .Type ;
3030
31- /** Implements {code proto_lang_toolchain}. */
31+ /**
32+ * Implements {code proto_lang_toolchain}.
33+ *
34+ * <p>This rule is implemented in Starlark. This class remains only for doc-gen purposes.
35+ */
3236public class ProtoLangToolchainRule implements RuleDefinition {
3337 private static final Label DEFAULT_PROTO_COMPILER =
3438 Label .parseAbsoluteUnchecked (ProtoConstants .DEFAULT_PROTOC_LABEL );
@@ -126,7 +130,7 @@ public Metadata getMetadata() {
126130 return RuleDefinition .Metadata .builder ()
127131 .name ("proto_lang_toolchain" )
128132 .ancestors (BaseRuleClasses .NativeActionCreatingRule .class )
129- .factoryClass (ProtoLangToolchain .class )
133+ .factoryClass (BaseRuleClasses . EmptyRuleConfiguredTargetFactory .class )
130134 .build ();
131135 }
132136}
You can’t perform that action at this time.
0 commit comments