Files
cromite/build/patches/Force-use-vpython3-for-all-scripts.patch
T

27 lines
875 B
Diff

From: uazo <uazo@users.noreply.github.com>
Date: Thu, 5 Feb 2026 12:13:49 +0000
Subject: Force use vpython3 for all scripts
Some scripts need the latest version of python not available in the docker container.
The patch forces the use of python in the virtual environment in the version
required by the chromium build tools.
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
.gn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gn b/.gn
--- a/.gn
+++ b/.gn
@@ -10,7 +10,7 @@ buildconfig = "//build/config/BUILDCONFIG.gn"
# The python interpreter to use by default. On Windows, this will look
# for python3.exe and python3.bat.
-script_executable = "python3"
+script_executable = "vpython3"
# These arguments override the default values for items in a declare_args
# block. "gn args" in turn can override these.
--