Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Switch genrules from tools to exec_tools for python binaries.
Browse files Browse the repository at this point in the history
This is required to use py3 targets as part of a genrule; cf:
bazelbuild/bazel#6443

PiperOrigin-RevId: 319104056
  • Loading branch information
craigcitro authored and tensorflower-gardener committed Jun 30, 2020
1 parent 5777184 commit da993d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_estimator/python/estimator/api/api_gen.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ def gen_api_init_files(
" --output_package=" + output_package + " $(OUTS)"
),
srcs = srcs,
tools = [":" + api_gen_binary_target],
exec_tools = [":" + api_gen_binary_target],
visibility = ["//visibility:public"],
)

0 comments on commit da993d9

Please sign in to comment.