From ec636aa679c65c37599dc30c316943ae4fb52ac3 Mon Sep 17 00:00:00 2001 From: Derek Cormier Date: Thu, 9 Jun 2022 11:01:52 -0700 Subject: [PATCH] fix(bazel/browsers): exclude unnecessary chromium file containing spaces on windows --- bazel/browsers/chromium/chromium.bzl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bazel/browsers/chromium/chromium.bzl b/bazel/browsers/chromium/chromium.bzl index a196bee03..338f64313 100644 --- a/bazel/browsers/chromium/chromium.bzl +++ b/bazel/browsers/chromium/chromium.bzl @@ -63,6 +63,10 @@ def define_chromium_repositories(): named_files = { "CHROMIUM": "chrome-win/chrome.exe", }, + exclude_patterns = [ + # Exclude files with spaces to prevent errors when symlinked as runfiles (https://github.com/bazelbuild/bazel/issues/4327). + "chrome-win/First Run", + ], ) browser_archive(