Commit 52d84a98 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by V8 LUCI CQ

DEPS: use python3

Bug: chromium:1208028
Change-Id: If24143b7d157561999e6003fe75fe9f9e386be85
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3303612
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78105}
parent 2aa8722d
...@@ -335,7 +335,7 @@ hooks = [ ...@@ -335,7 +335,7 @@ hooks = [
'name': 'disable_depot_tools_selfupdate', 'name': 'disable_depot_tools_selfupdate',
'pattern': '.', 'pattern': '.',
'action': [ 'action': [
'python', 'python3',
'third_party/depot_tools/update_depot_tools_toggle.py', 'third_party/depot_tools/update_depot_tools_toggle.py',
'--disable', '--disable',
], ],
...@@ -347,7 +347,7 @@ hooks = [ ...@@ -347,7 +347,7 @@ hooks = [
'name': 'landmines', 'name': 'landmines',
'pattern': '.', 'pattern': '.',
'action': [ 'action': [
'python', 'python3',
'build/landmines.py', 'build/landmines.py',
'--landmine-scripts', '--landmine-scripts',
'tools/get_landmines.py', 'tools/get_landmines.py',
...@@ -449,28 +449,28 @@ hooks = [ ...@@ -449,28 +449,28 @@ hooks = [
'name': 'sysroot_arm', 'name': 'sysroot_arm',
'pattern': '.', 'pattern': '.',
'condition': '(checkout_linux and checkout_arm)', 'condition': '(checkout_linux and checkout_arm)',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=arm'], '--arch=arm'],
}, },
{ {
'name': 'sysroot_arm64', 'name': 'sysroot_arm64',
'pattern': '.', 'pattern': '.',
'condition': '(checkout_linux and checkout_arm64)', 'condition': '(checkout_linux and checkout_arm64)',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=arm64'], '--arch=arm64'],
}, },
{ {
'name': 'sysroot_x86', 'name': 'sysroot_x86',
'pattern': '.', 'pattern': '.',
'condition': '(checkout_linux and (checkout_x86 or checkout_x64))', 'condition': '(checkout_linux and (checkout_x86 or checkout_x64))',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x86'], '--arch=x86'],
}, },
{ {
'name': 'sysroot_x64', 'name': 'sysroot_x64',
'pattern': '.', 'pattern': '.',
'condition': 'checkout_linux and checkout_x64', 'condition': 'checkout_linux and checkout_x64',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x64'], '--arch=x64'],
}, },
{ {
...@@ -512,14 +512,14 @@ hooks = [ ...@@ -512,14 +512,14 @@ hooks = [
'name': 'win_toolchain', 'name': 'win_toolchain',
'pattern': '.', 'pattern': '.',
'condition': 'checkout_win', 'condition': 'checkout_win',
'action': ['python', 'build/vs_toolchain.py', 'update', '--force'], 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'],
}, },
{ {
# Update the Mac toolchain if necessary. # Update the Mac toolchain if necessary.
'name': 'mac_toolchain', 'name': 'mac_toolchain',
'pattern': '.', 'pattern': '.',
'condition': 'checkout_mac', 'condition': 'checkout_mac',
'action': ['python', 'build/mac_toolchain.py'], 'action': ['python3', 'build/mac_toolchain.py'],
}, },
{ {
# Note: On Win, this should run after win_toolchain, as it may use it. # Note: On Win, this should run after win_toolchain, as it may use it.
...@@ -540,7 +540,7 @@ hooks = [ ...@@ -540,7 +540,7 @@ hooks = [
# Update LASTCHANGE. # Update LASTCHANGE.
'name': 'lastchange', 'name': 'lastchange',
'pattern': '.', 'pattern': '.',
'action': ['python', 'build/util/lastchange.py', 'action': ['python3', 'build/util/lastchange.py',
'-o', 'build/util/LASTCHANGE'], '-o', 'build/util/LASTCHANGE'],
}, },
{ {
...@@ -548,7 +548,7 @@ hooks = [ ...@@ -548,7 +548,7 @@ hooks = [
'pattern': '.', 'pattern': '.',
'condition': 'checkout_fuchsia', 'condition': 'checkout_fuchsia',
'action': [ 'action': [
'python', 'python3',
'build/fuchsia/update_sdk.py', 'build/fuchsia/update_sdk.py',
], ],
}, },
...@@ -557,7 +557,7 @@ hooks = [ ...@@ -557,7 +557,7 @@ hooks = [
'pattern': '.', 'pattern': '.',
'condition': 'checkout_fuchsia', 'condition': 'checkout_fuchsia',
'action': [ 'action': [
'python', 'python3',
'build/fuchsia/update_images.py', 'build/fuchsia/update_images.py',
'--boot-images={checkout_fuchsia_boot_images}', '--boot-images={checkout_fuchsia_boot_images}',
], ],
...@@ -593,7 +593,7 @@ hooks = [ ...@@ -593,7 +593,7 @@ hooks = [
'pattern': '.', 'pattern': '.',
'condition': 'check_v8_header_includes', 'condition': 'check_v8_header_includes',
'action': [ 'action': [
'python', 'python3',
'tools/generate-header-include-checks.py', 'tools/generate-header-include-checks.py',
], ],
}, },
......
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