File tree 2 files changed +6
-78
lines changed
src/main/java/com/google/devtools/build/lib/rules/proto
2 files changed +6
-78
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 28
28
import com .google .devtools .build .lib .packages .StarlarkProviderIdentifier ;
29
29
import com .google .devtools .build .lib .packages .Type ;
30
30
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
+ */
32
36
public class ProtoLangToolchainRule implements RuleDefinition {
33
37
private static final Label DEFAULT_PROTO_COMPILER =
34
38
Label .parseAbsoluteUnchecked (ProtoConstants .DEFAULT_PROTOC_LABEL );
@@ -126,7 +130,7 @@ public Metadata getMetadata() {
126
130
return RuleDefinition .Metadata .builder ()
127
131
.name ("proto_lang_toolchain" )
128
132
.ancestors (BaseRuleClasses .NativeActionCreatingRule .class )
129
- .factoryClass (ProtoLangToolchain .class )
133
+ .factoryClass (BaseRuleClasses . EmptyRuleConfiguredTargetFactory .class )
130
134
.build ();
131
135
}
132
136
}
You can’t perform that action at this time.
0 commit comments