diff options
author | Michael Pratt <mpratt@google.com> | 2019-12-18 12:20:16 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-18 12:23:03 -0800 |
commit | 803437c96bb4b212dba425f0378ce4f6c0c9fff9 (patch) | |
tree | 5f013245896229972df5a8e6c14a997690640bdf /vdso | |
parent | 64d00cc63dc8c3cb5fde1f638d4525c8d329733d (diff) |
Upgrade to Python 3
Python 3 tools must be listed in exec_tools for genrules.
PiperOrigin-RevId: 286241702
Diffstat (limited to 'vdso')
-rw-r--r-- | vdso/BUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vdso/BUILD b/vdso/BUILD index 7ceed349e..2b6744c26 100644 --- a/vdso/BUILD +++ b/vdso/BUILD @@ -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"], ) |