build: Support cygwin in script/lib/util.py (#32731)
Running a build on Cygwin or MSYS2 otherwise fails. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
2526031a5f
commit
7442905dd2
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@ def get_buildtools_executable(name):
|
||||||
'linux': 'linux64',
|
'linux': 'linux64',
|
||||||
'linux2': 'linux64',
|
'linux2': 'linux64',
|
||||||
'win32': 'win',
|
'win32': 'win',
|
||||||
|
'cygwin': 'win',
|
||||||
}[sys.platform]
|
}[sys.platform]
|
||||||
path = os.path.join(buildtools, chromium_platform, name)
|
path = os.path.join(buildtools, chromium_platform, name)
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
|
|
Loading…
Reference in a new issue