From 7d4e7b86ac08b1cbb76ea53612f8124f600039a8 Mon Sep 17 00:00:00 2001 From: Scott Zhu Date: Sun, 1 Nov 2020 21:21:19 -0800 Subject: [PATCH] Try to fix windows build failure. The "\" might be converted to "\\" in windows and causing copybara failure during conversion. PiperOrigin-RevId: 340164770 Change-Id: I0def5626427735e60e8bff377e35f3998335ca4f --- third_party/systemlibs/grpc.bazel.protobuf.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/systemlibs/grpc.bazel.protobuf.bzl b/third_party/systemlibs/grpc.bazel.protobuf.bzl index a59b2bd2155..3eca97dc231 100644 --- a/third_party/systemlibs/grpc.bazel.protobuf.bzl +++ b/third_party/systemlibs/grpc.bazel.protobuf.bzl @@ -128,8 +128,8 @@ def get_plugin_args( ] def _get_staged_proto_file(context, source_file): - if source_file.dirname == context.label.package or \ - is_in_virtual_imports(source_file): + if (source_file.dirname == context.label.package or + is_in_virtual_imports(source_file)): return source_file else: copied_proto = context.actions.declare_file(source_file.basename) -- GitLab