豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit b12cd73

Browse files
kormidedevversion
authored andcommitted
fix(bazel/browsers): exclude chromium debug logs on remaining platforms
1 parent c9b2ff0 commit b12cd73

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

bazel/browsers/chromium/chromium.bzl

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)