Skip to content

Commit

Permalink
Merge pull request #43156 from Flamefire:action_env_tools_arg
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 340825070
Change-Id: I661cf411d866376409cb2f77f0ea2fd0f1db715c
  • Loading branch information
tensorflower-gardener committed Nov 5, 2020
2 parents 870c4c2 + 80eb881 commit 6d9e088
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tensorflow/tensorflow.bzl
Expand Up @@ -774,7 +774,7 @@ def tf_gen_op_wrapper_cc(
out_ops_file + "_internal.cc",
],
srcs = srcs,
exec_tools = [":" + tool] + tf_binary_additional_srcs(),
tools = [":" + tool] + tf_binary_additional_srcs(),
cmd = ("$(location :" + tool + ") $(location :" + out_ops_file + ".h) " +
"$(location :" + out_ops_file + ".cc) " +
str(include_internal_ops) + " " + api_def_args_str),
Expand Down Expand Up @@ -982,7 +982,7 @@ def tf_gen_op_wrapper_py(
name = name + "_pygenrule",
outs = [out],
srcs = api_def_srcs + [hidden_file],
exec_tools = [tool_name] + tf_binary_additional_srcs(),
tools = [tool_name] + tf_binary_additional_srcs(),
cmd = ("$(location " + tool_name + ") " + api_def_args_str +
" @$(location " + hidden_file + ") > $@"),
compatible_with = compatible_with,
Expand All @@ -992,7 +992,7 @@ def tf_gen_op_wrapper_py(
name = name + "_pygenrule",
outs = [out],
srcs = api_def_srcs,
exec_tools = [tool_name] + tf_binary_additional_srcs(),
tools = [tool_name] + tf_binary_additional_srcs(),
cmd = ("$(location " + tool_name + ") " + api_def_args_str + " " +
op_list_arg + " " +
("1" if op_list_is_whitelist else "0") + " > $@"),
Expand Down Expand Up @@ -2341,7 +2341,7 @@ def tf_generate_proto_text_sources(name, srcs_relative_dir, srcs, protodeps = []
cmd =
"$(location //tensorflow/tools/proto_text:gen_proto_text_functions) " +
"$(@D) " + srcs_relative_dir + " $(SRCS)",
exec_tools = [
tools = [
clean_dep("//tensorflow/tools/proto_text:gen_proto_text_functions"),
],
compatible_with = compatible_with,
Expand Down

0 comments on commit 6d9e088

Please sign in to comment.