mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
A recent change to autoninja breaks 'compile_single_file' because autoninja expects to be able to find the 'google.auth' package, which is available via vpython3. Change-Id: Ie0c9bc229108daadae27bd85ffc0471d9e7e7fca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5199126 Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org> Reviewed-by: Gavin Mak <gavinmak@google.com>
9 lines
300 B
Bash
Executable File
9 lines
300 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2017 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.
|
|
|
|
base_dir=$(dirname "$0")
|
|
|
|
PYTHONDONTWRITEBYTECODE=1 exec vpython3 -u "$base_dir/compile_single_file.py" "$@"
|