Prefer exec_tool for Python tools to ensure PY3 compat
PiperOrigin-RevId: 332108052 Change-Id: If64567292fd0a74fc54aa3bf58444bc50f94cff8
This commit is contained in:
parent
497f0568c8
commit
7697628be7
@ -72,7 +72,7 @@ def generate_flex_kernel_header(
|
|||||||
name = "%s_kernel_registration" % name,
|
name = "%s_kernel_registration" % name,
|
||||||
srcs = [list_ops_output],
|
srcs = [list_ops_output],
|
||||||
outs = [header],
|
outs = [header],
|
||||||
tools = [tool],
|
exec_tools = [tool],
|
||||||
message = "Processing %s..." % list_ops_output,
|
message = "Processing %s..." % list_ops_output,
|
||||||
cmd = ("$(location " + tool + ")" +
|
cmd = ("$(location " + tool + ")" +
|
||||||
" --default_ops=\"\"" +
|
" --default_ops=\"\"" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user