Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8df27a

Browse filesBrowse files
codebytereRafaelGSS
authored andcommitted
build: fix GN arg used in generate_config_gypi.py
PR-URL: #55530 Reviewed-By: Cheng Zhao <zcbenz@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent f628fc4 commit f8df27a
Copy full SHA for f8df27a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Open diff view settings
Collapse file

‎tools/generate_config_gypi.py‎

Copy file name to clipboardExpand all lines: tools/generate_config_gypi.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919

2020
# Regex used for parsing results of "gn args".
2121
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'
22+
GN = 'gn.bat' if sys.platform == 'win32' else 'gn'
2723

2824
def bool_to_number(v):
2925
return 1 if v else 0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.