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: #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 RafaelGSS committed Nov 1, 2024
1 parent f628fc4 commit f8df27a
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 f8df27a

Please sign in to comment.