Browse Source

build: Support cygwin in script/lib/util.py (#32731)

Running a build on Cygwin or MSYS2 otherwise fails.

Signed-off-by: Juan Cruz Viotti <[email protected]>
Juan Cruz Viotti 3 years ago
parent
commit
7442905dd2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      script/lib/util.py

+ 1 - 0
script/lib/util.py

@@ -206,6 +206,7 @@ def get_buildtools_executable(name):
     'linux': 'linux64',
     'linux2': 'linux64',
     'win32': 'win',
+    'cygwin': 'win',
   }[sys.platform]
   path = os.path.join(buildtools, chromium_platform, name)
   if sys.platform == 'win32':