diff --git a/DEPS b/DEPS index 59281915856ac15f681a16816868aaa36a3e83b2..e91c9a04eac46b5c0947a932ddc1fefaaa1dfcbd 100644 --- a/DEPS +++ b/DEPS @@ -97,7 +97,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'd28c48674b65936cf32063da51ef1445af82ac75', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + '300678066c63df763a632943fac3eed0512684b3', # Fuchsia compatibility # @@ -638,7 +638,7 @@ hooks = [ 'name': 'landmines', 'pattern': '.', 'action': [ - 'python', + 'python3', 'src/build/landmines.py', ], }, @@ -647,7 +647,7 @@ hooks = [ 'name': 'win_toolchain', 'condition': 'download_windows_deps', 'pattern': '.', - 'action': ['python', 'src/build/vs_toolchain.py', 'update'], + 'action': ['python3', 'src/build/vs_toolchain.py', 'update'], }, { # Ensure that we don't accidentally reference any .pyc files whose @@ -655,7 +655,7 @@ hooks = [ 'name': 'remove_stale_pyc_files', 'pattern': 'src/tools/.*\\.py', 'action': [ - 'python', + 'python3', 'src/tools/remove_stale_pyc_files.py', 'src/tools', ], @@ -665,7 +665,7 @@ hooks = [ 'pattern': '.', 'condition': 'download_windows_deps', 'action': [ - 'python', + 'python3', 'src/flutter/tools/dia_dll.py', ], }, @@ -674,7 +674,7 @@ hooks = [ 'pattern': '.', 'condition': 'download_linux_deps', 'action': [ - 'python', + 'python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', '--arch=x64'], }, @@ -683,7 +683,7 @@ hooks = [ 'pattern': '.', 'condition': 'download_linux_deps', 'action': [ - 'python', + 'python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', '--arch=arm64'], }, @@ -691,7 +691,7 @@ hooks = [ 'name': 'pub get --offline', 'pattern': '.', 'action': [ - 'python', + 'python3', 'src/flutter/tools/pub_get_offline.py', ] }, diff --git a/tools/gn b/tools/gn index 5f07e7736c1b84e2b7df28fff390069f0538520d..214cc8d02bb6d8c22c4bb5c41e7550427594160c 100755 --- a/tools/gn +++ b/tools/gn @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/tools/gn.bat b/tools/gn.bat index 9aa32c472b9da91d0484f5c5cc138f64b2965467..6fc626ae27c2d458e7266152067080cbb77bd1c7 100644 --- a/tools/gn.bat +++ b/tools/gn.bat @@ -1 +1 @@ -@call python "%~dp0gn" %* +@call python3 "%~dp0gn" %*