Commit ea4e399c authored by Mirko Bonadei's avatar Mirko Bonadei Committed by LUCI CQ

Switch gn wrapper scripts to invoke python3.

Bug: 941669
Change-Id: I515459793f2a406a959c361f9884b183e21ebdf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2825439Reviewed-by: 's avatarDirk Pranke <dpranke@google.com>
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
parent 3cee7aff
......@@ -5,4 +5,4 @@
base_dir=$(dirname "$0")
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gn.py" "$@"
PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/gn.py" "$@"
......@@ -9,4 +9,4 @@ setlocal
set PATH=%PATH%;%~dp0
:: Defer control.
python "%~dp0\gn.py" %*
python3 "%~dp0\gn.py" %*
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
......
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