From 696a8771e5b454749887df1c6d7be9e2139450ea Mon Sep 17 00:00:00 2001 From: Greg Date: Wed, 14 Dec 2022 15:13:31 -0500 Subject: [PATCH] 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. --- java_grpc_library.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_grpc_library.bzl b/java_grpc_library.bzl index 237fd2fb7..c3b6d6022 100644 --- a/java_grpc_library.bzl +++ b/java_grpc_library.bzl @@ -85,7 +85,7 @@ def _java_rpc_library_impl(ctx): args = ctx.actions.args() args.add(toolchain.plugin, format = "--plugin=protoc-gen-rpc-plugin=%s") args.add("--rpc-plugin_out={0}:{1}".format(toolchain.plugin_arg, srcjar.path)) - args.add_joined("--descriptor_set_in", descriptor_set_in, join_with = ctx.host_configuration.host_path_separator) + args.add_joined("--descriptor_set_in", descriptor_set_in, join_with = ctx.configuration.host_path_separator) args.add_all(srcs, map_each = _path_ignoring_repository) ctx.actions.run(