Commit 6a8680a8 authored by Josip Sokcevic's avatar Josip Sokcevic Committed by LUCI CQ

Use python3 for cpplint and get_toolchain on Win

R=gavinmak@google.com

Change-Id: I7d9ca9530640ffa4b8e60c247f809b0ff477d88e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3673716
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: 's avatarGavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
parent ac96470e
......@@ -8,4 +8,4 @@ setlocal
:: standalone, but allow other PATH manipulations to take priority.
set PATH=%PATH%;%~dp0
python "%~dp0cpplint.py" %*
python3 "%~dp0cpplint.py" %*
......@@ -481,7 +481,7 @@ def main():
# This script requires Windows Python, so invoke with depot_tools' Python.
def winpath(path):
return subprocess.check_output(['cygpath', '-w', path]).strip()
python = os.path.join(DEPOT_TOOLS_PATH, 'python.bat')
python = os.path.join(DEPOT_TOOLS_PATH, 'python3.bat')
cmd = [python, winpath(__file__)]
if args.output_json:
cmd.extend(['--output-json', winpath(args.output_json)])
......
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