From 630be430df9d10a923d2da5f3be067c75943420a Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Fri, 30 Jul 2021 17:16:25 -0700 Subject: [PATCH] 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 --- .gn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gn b/.gn index 29288a8f..5e50efc9 100644 --- a/.gn +++ b/.gn @@ -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"