Run clang update script under python3 in v8

Bug: chromium:1261812
Change-Id: I9ccf7a75c8d8b1ba92ae17f785bd9daefc184347
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3246591
Auto-Submit: Nico Weber <thakis@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77562}
This commit is contained in:
Nico Weber 2021-10-26 21:40:13 -04:00 committed by V8 LUCI CQ
parent ad4f9dcd7a
commit f2c7d3a8b4

8
DEPS
View File

@ -531,13 +531,13 @@ hooks = [
'pattern': '.',
# clang not supported on aix
'condition': 'host_os != "aix"',
'action': ['python', 'tools/clang/scripts/update.py'],
'action': ['python3', 'tools/clang/scripts/update.py'],
},
{
'name': 'clang_tidy',
'pattern': '.',
'condition': 'checkout_clang_tidy',
'action': ['python', 'tools/clang/scripts/update.py',
'action': ['python3', 'tools/clang/scripts/update.py',
'--package=clang-tidy'],
},
{
@ -567,11 +567,11 @@ hooks = [
],
},
{
# Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
# Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
'name': 'llvm-objdump',
'pattern': '.',
'condition': 'host_os == "mac" and checkout_fuchsia',
'action': ['python', 'tools/clang/scripts/update.py',
'action': ['python3', 'tools/clang/scripts/update.py',
'--package=objdump'],
},
# Download and initialize "vpython" VirtualEnv environment packages.