Skip to content

Commit e325dc9

Browse files
authored
Replace ctx.host_configuration.host_path_separator with ctx.configuration.host_path_separator. (#9742)
Replace ctx.host_configuration.host_path_separator with ctx.configuration.host_path_separator. This is because 1. we're removing ctx.host_configuration 2. host_path_separator's value doesn't depend on the configuration (the API is misleading by embedding it under ctx.configuration). So this is a no-op. Internal ref cl/494008561.
1 parent 2a0b86f commit e325dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java_grpc_library.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _java_rpc_library_impl(ctx):
8585
args = ctx.actions.args()
8686
args.add(toolchain.plugin, format = "--plugin=protoc-gen-rpc-plugin=%s")
8787
args.add("--rpc-plugin_out={0}:{1}".format(toolchain.plugin_arg, srcjar.path))
88-
args.add_joined("--descriptor_set_in", descriptor_set_in, join_with = ctx.host_configuration.host_path_separator)
88+
args.add_joined("--descriptor_set_in", descriptor_set_in, join_with = ctx.configuration.host_path_separator)
8989
args.add_all(srcs, map_each = _path_ignoring_repository)
9090

9191
ctx.actions.run(

0 commit comments

Comments
 (0)