build: fix GN arg used in generate_config_gypi.py

PR-URL: https://github.com/nodejs/node/pull/55530
Reviewed-By: Cheng Zhao <zcbenz@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Shelley Vohr authored and Ruy Adorno committed 2024-11-27 11:03:26 -05:00
1 parent 0e69f6d123
commit 23e3287bbe
1 file changed
+1 -5
+1 -5
View File
@@ -19,11 +19,7 @@ import getnapibuildversion
# Regex used for parsing results of "gn args".
GN_RE = re.compile(r'(\w+)\s+=\s+(.*?)$', re.MULTILINE)
if sys.platform == 'win32':
GN = 'gn.exe'
else:
GN = 'gn'
GN = 'gn.bat' if sys.platform == 'win32' else 'gn'
def bool_to_number(v):
return 1 if v else 0