diff --git a/tools/generate_config_gypi.py b/tools/generate_config_gypi.py index 45b3ac5006140f..c9dd4a24a39c50 100755 --- a/tools/generate_config_gypi.py +++ b/tools/generate_config_gypi.py @@ -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