From 7442905dd28c72235c8d61aab0e24d1f25eb6ca0 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Thu, 3 Feb 2022 16:57:21 -0400 Subject: [PATCH] build: Support cygwin in script/lib/util.py (#32731) Running a build on Cygwin or MSYS2 otherwise fails. Signed-off-by: Juan Cruz Viotti --- script/lib/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/lib/util.py b/script/lib/util.py index 89b8bbb976c8..9c667fed9e90 100644 --- a/script/lib/util.py +++ b/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':