Skip to content

Commit

Permalink
build: fix GN arg used in generate_config_gypi.py
Browse files Browse the repository at this point in the history
PR-URL: nodejs#55530
Reviewed-By: Cheng Zhao <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
codebytere authored and louwers committed Nov 2, 2024
1 parent 8629b82 commit de9cb4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/generate_config_gypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@

# 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
Expand Down

0 comments on commit de9cb4b

Please sign in to comment.