mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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:
1 parent
0e69f6d123
commit
23e3287bbe
1 file changed
+1
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user