Commit bad67f8a authored by Michael Achenbach's avatar Michael Achenbach Committed by V8 LUCI CQ

[tools] Switch remaining deps hooks to Python3

Bug: chromium:1298903
Change-Id: Idcde256ebfc7c3446e808ee6da5118de104ef4c6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3565719Reviewed-by: 's avatarTamer Tas <tmrts@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79725}
parent 9a720d38
...@@ -355,7 +355,8 @@ hooks = [ ...@@ -355,7 +355,8 @@ hooks = [
'name': 'bazel', 'name': 'bazel',
'pattern': '.', 'pattern': '.',
'condition': 'download_prebuilt_bazel', 'condition': 'download_prebuilt_bazel',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--bucket', 'chromium-v8-prebuilt-bazel/linux', '--bucket', 'chromium-v8-prebuilt-bazel/linux',
'--no_resume', '--no_resume',
'-s', 'tools/bazel/bazel.sha1', '-s', 'tools/bazel/bazel.sha1',
...@@ -367,9 +368,9 @@ hooks = [ ...@@ -367,9 +368,9 @@ hooks = [
'name': 'clang_format_win', 'name': 'clang_format_win',
'pattern': '.', 'pattern': '.',
'condition': 'host_os == "win"', 'condition': 'host_os == "win"',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--platform=win32',
'--no_auth', '--no_auth',
'--bucket', 'chromium-clang-format', '--bucket', 'chromium-clang-format',
'-s', 'buildtools/win/clang-format.exe.sha1', '-s', 'buildtools/win/clang-format.exe.sha1',
...@@ -405,9 +406,9 @@ hooks = [ ...@@ -405,9 +406,9 @@ hooks = [
'name': 'clang_format_linux', 'name': 'clang_format_linux',
'pattern': '.', 'pattern': '.',
'condition': 'host_os == "linux"', 'condition': 'host_os == "linux"',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--platform=linux*',
'--no_auth', '--no_auth',
'--bucket', 'chromium-clang-format', '--bucket', 'chromium-clang-format',
'-s', 'buildtools/linux64/clang-format.sha1', '-s', 'buildtools/linux64/clang-format.sha1',
...@@ -417,7 +418,8 @@ hooks = [ ...@@ -417,7 +418,8 @@ hooks = [
'name': 'gcmole', 'name': 'gcmole',
'pattern': '.', 'pattern': '.',
'condition': 'download_gcmole', 'condition': 'download_gcmole',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--bucket', 'chrome-v8-gcmole', '--bucket', 'chrome-v8-gcmole',
'-u', '--no_resume', '-u', '--no_resume',
'-s', 'tools/gcmole/gcmole-tools.tar.gz.sha1', '-s', 'tools/gcmole/gcmole-tools.tar.gz.sha1',
...@@ -428,7 +430,8 @@ hooks = [ ...@@ -428,7 +430,8 @@ hooks = [
'name': 'jsfunfuzz', 'name': 'jsfunfuzz',
'pattern': '.', 'pattern': '.',
'condition': 'download_jsfunfuzz', 'condition': 'download_jsfunfuzz',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--bucket', 'chrome-v8-jsfunfuzz', '--bucket', 'chrome-v8-jsfunfuzz',
'-u', '--no_resume', '-u', '--no_resume',
'-s', 'tools/jsfunfuzz/jsfunfuzz.tar.gz.sha1', '-s', 'tools/jsfunfuzz/jsfunfuzz.tar.gz.sha1',
...@@ -438,7 +441,8 @@ hooks = [ ...@@ -438,7 +441,8 @@ hooks = [
{ {
'name': 'wasm_spec_tests', 'name': 'wasm_spec_tests',
'pattern': '.', 'pattern': '.',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--no_auth', '--no_auth',
'-u', '-u',
...@@ -449,7 +453,8 @@ hooks = [ ...@@ -449,7 +453,8 @@ hooks = [
{ {
'name': 'wasm_js', 'name': 'wasm_js',
'pattern': '.', 'pattern': '.',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--no_auth', '--no_auth',
'-u', '-u',
...@@ -489,7 +494,8 @@ hooks = [ ...@@ -489,7 +494,8 @@ hooks = [
'name': 'msan_chained_origins', 'name': 'msan_chained_origins',
'pattern': '.', 'pattern': '.',
'condition': 'checkout_instrumented_libraries', 'condition': 'checkout_instrumented_libraries',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--no_auth', '--no_auth',
'--bucket', 'chromium-instrumented-libraries', '--bucket', 'chromium-instrumented-libraries',
...@@ -500,7 +506,8 @@ hooks = [ ...@@ -500,7 +506,8 @@ hooks = [
'name': 'msan_no_origins', 'name': 'msan_no_origins',
'pattern': '.', 'pattern': '.',
'condition': 'checkout_instrumented_libraries', 'condition': 'checkout_instrumented_libraries',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--no_auth', '--no_auth',
'--bucket', 'chromium-instrumented-libraries', '--bucket', 'chromium-instrumented-libraries',
...@@ -512,7 +519,8 @@ hooks = [ ...@@ -512,7 +519,8 @@ hooks = [
'name': 'ciopfs_linux', 'name': 'ciopfs_linux',
'pattern': '.', 'pattern': '.',
'condition': 'checkout_win and host_os == "linux"', 'condition': 'checkout_win and host_os == "linux"',
'action': [ 'download_from_google_storage', 'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume', '--no_resume',
'--no_auth', '--no_auth',
'--bucket', 'chromium-browser-clang/ciopfs', '--bucket', 'chromium-browser-clang/ciopfs',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment