bazel: Fix java path separator bug on Windows (#6054)

This commit is contained in:
Jannis Andrija Schnitzer 2019-08-14 23:28:31 +02:00 committed by ZHANG Dapeng
parent 6c7258b05e
commit 93898734c2
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,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 = ":")
args.add_joined("--descriptor_set_in", descriptor_set_in, join_with = ctx.host_configuration.host_path_separator)
args.add_all(srcs, map_each = _path_ignoring_repository)
ctx.actions.run(