Upgrade to Python 3

Python 3 tools must be listed in exec_tools for genrules.

PiperOrigin-RevId: 286241702
This commit is contained in:
Michael Pratt 2019-12-18 12:20:16 -08:00 committed by gVisor bot
parent 64d00cc63d
commit 803437c96b
1 changed files with 4 additions and 4 deletions

View File

@ -68,14 +68,14 @@ genrule(
"&& $(location :check_vdso) " +
"--check-data " +
"--vdso $(location vdso.so) ",
exec_tools = [
":check_vdso",
],
features = ["-pie"],
toolchains = [
"@bazel_tools//tools/cpp:current_cc_toolchain",
":no_pie_cc_flags",
],
tools = [
":check_vdso",
],
visibility = ["//:sandbox"],
)
@ -87,6 +87,6 @@ cc_flags_supplier(
py_binary(
name = "check_vdso",
srcs = ["check_vdso.py"],
python_version = "PY2",
python_version = "PY3",
visibility = ["//:sandbox"],
)