Skip to content

Commit

Permalink
bazel: Fix java path separator bug on Windows (#6054)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xjs authored and dapengzhang0 committed Aug 14, 2019
1 parent 6c7258b commit 9389873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java_grpc_library.bzl
Expand Up @@ -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(
Expand Down

0 comments on commit 9389873

Please sign in to comment.