File webrtc-0003-use-system-build-tools.patch of Package zed
--- a/.gn
+++ b/.gn
@@ -13,7 +13,7 @@
# The python interpreter to use by default. On Windows, this will look
# for vpython3.exe and vpython3.bat.
-script_executable = "vpython3"
+script_executable = "python3"
# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
--- a/tools_webrtc/libs/generate_licenses.py
+++ b/tools_webrtc/libs/generate_licenses.py
@@ -183,8 +183,7 @@
@staticmethod
def _run_gn(buildfile_dir, target):
cmd = [
- sys.executable,
- os.path.join(find_depot_tools.DEPOT_TOOLS_PATH, 'gn.py'),
+ 'gn',
'desc',
'--all',
'--format=json',