Skip to content

Commit

Permalink
Use Python 3 for all gn exec_script calls (flutter#494)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cbracken committed Jul 31, 2021
1 parent 3006780 commit 630be43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gn
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# This file is used by the experimental meta-buildsystem in src/tools/gn to
# find the root of the source tree and to set startup options.

# Use Python 3 for exec_script() calls.
# See `gn help dotfile` for details.
script_executable = "python3"

# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"

Expand Down

0 comments on commit 630be43

Please sign in to comment.