File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -6,24 +6,13 @@ proto_lang_toolchain(
6
6
command_line = "--python_out=%s" ,
7
7
progress_message = "Generating Python proto_library %{label}" ,
8
8
runtime = "@pypi//protobuf" ,
9
+ toolchain_type = "@rules_python//python/proto:toolchain_type" ,
9
10
)
10
11
11
12
proto_lang_toolchain (
12
13
name = "protoc_java_toolchain" ,
13
14
command_line = "--java_out=%s" ,
14
15
progress_message = "Generating Java proto_library %{label}" ,
15
16
runtime = "@protobuf-java_3_25_3//jar" ,
16
- )
17
-
18
- # Adapters to the register_toolchains call, adding the toolchain_type to above
19
- toolchain (
20
- name = "protoc_py_toolchain.registration" ,
21
- toolchain = ":protoc_py_toolchain" ,
22
- toolchain_type = "@rules_python//python/proto:toolchain_type" ,
23
- )
24
-
25
- toolchain (
26
- name = "protoc_java_toolchain.registration" ,
27
- toolchain = ":protoc_java_toolchain" ,
28
17
toolchain_type = "@rules_java//java/proto:toolchain_type" ,
29
18
)
You can’t perform that action at this time.
0 commit comments