We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e69f6d commit 23e3287Copy full SHA for 23e3287
1 file changed
tools/generate_config_gypi.py
@@ -19,11 +19,7 @@
19
20
# Regex used for parsing results of "gn args".
21
GN_RE = re.compile(r'(\w+)\s+=\s+(.*?)$', re.MULTILINE)
22
-
23
-if sys.platform == 'win32':
24
- GN = 'gn.exe'
25
-else:
26
- GN = 'gn'
+GN = 'gn.bat' if sys.platform == 'win32' else 'gn'
27
28
def bool_to_number(v):
29
return 1 if v else 0
0 commit comments