@@ -22,8 +22,7 @@ def define_chromium_repositories():
2222 "CHROMIUM" : "chrome-linux/chrome" ,
2323 },
2424 exclude_patterns = [
25- # Exclude a log file that chromium writes to each run, causing remote cache
26- # misses in downstream targets.
25+ # Exclude a log file that chromium writes to each run, causing remote cache misses.
2726 "chrome-linux/chrome_debug.log" ,
2827 ],
2928 exports_files = ["chrome-linux" ],
@@ -41,6 +40,10 @@ def define_chromium_repositories():
4140 named_files = {
4241 "CHROMIUM" : "chrome-mac/Chromium.app/Contents/MacOS/Chromium" ,
4342 },
43+ exclude_patterns = [
44+ # Exclude a log file that chromium writes to each run, causing remote cache misses.
45+ "chrome-mac/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/*/chrome_debug.log" ,
46+ ],
4447 exports_files = ["chrome-mac" ],
4548 )
4649
@@ -56,6 +59,10 @@ def define_chromium_repositories():
5659 named_files = {
5760 "CHROMIUM" : "chrome-mac/Chromium.app/Contents/MacOS/Chromium" ,
5861 },
62+ exclude_patterns = [
63+ # Exclude a log file that chromium writes to each run, causing remote cache misses.
64+ "chrome-mac/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/*/chrome_debug.log" ,
65+ ],
5966 exports_files = ["chrome-mac" ],
6067 )
6168
@@ -74,6 +81,8 @@ def define_chromium_repositories():
7481 exclude_patterns = [
7582 # Exclude files with spaces to prevent errors when symlinked as runfiles (https://github.com/bazelbuild/bazel/issues/4327).
7683 "chrome-win/First Run" ,
84+ # Exclude a log file that chromium writes to each run, causing remote cache misses.
85+ "chrome-win/debug.log" ,
7786 ],
7887 exports_files = ["chrome-win" ],
7988 )
0 commit comments