提交 7d4e7b86 编写于 作者: S Scott Zhu 提交者: TensorFlower Gardener

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
上级 c40d0d3b
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册