Configure GN to use python3 to exec_script.

Bug: None
Change-Id: Ifdc79cf363e072ee5eb0a713268fe12851c8a87e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215229
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33735}
This commit is contained in:
Mirko Bonadei 2021-04-14 17:52:26 +02:00 committed by Commit Bot
parent dad500a728
commit d28434bd3f

4
.gn
View File

@ -11,6 +11,10 @@ import("//build/dotfile_settings.gni")
# The location of the build configuration file. # The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn" 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"
# The secondary source root is a parallel directory tree where # The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly # GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees. # in the source tree, e.g. for third party source trees.