Prefer exec_tool for Python tools to ensure PY3 compat

PiperOrigin-RevId: 332108052
Change-Id: If64567292fd0a74fc54aa3bf58444bc50f94cff8
This commit is contained in:
Jared Duke 2020-09-16 15:57:41 -07:00 committed by TensorFlower Gardener
parent 497f0568c8
commit 7697628be7

View File

@ -72,7 +72,7 @@ def generate_flex_kernel_header(
name = "%s_kernel_registration" % name,
srcs = [list_ops_output],
outs = [header],
tools = [tool],
exec_tools = [tool],
message = "Processing %s..." % list_ops_output,
cmd = ("$(location " + tool + ")" +
" --default_ops=\"\"" +