Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 630be43

Browse files
authored
Use Python 3 for all gn exec_script calls (#494)
This switches the default script runtime from python/python.exe to python3/python3.exe for all exec_script calls invoked from gn build files. Issue: flutter/flutter#83043
1 parent 3006780 commit 630be43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# This file is used by the experimental meta-buildsystem in src/tools/gn to
22
# find the root of the source tree and to set startup options.
33

4+
# Use Python 3 for exec_script() calls.
5+
# See `gn help dotfile` for details.
6+
script_executable = "python3"
7+
48
# The location of the build configuration file.
59
buildconfig = "//build/config/BUILDCONFIG.gn"
610

0 commit comments

Comments
 (0)