Skip to content

Commit

Permalink
Limits visibility of browser Bazel packages.
Browse files Browse the repository at this point in the history
Refs #74.
  • Loading branch information
dgp1130 committed Jul 29, 2023
1 parent ad0d58f commit f5d576f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bazel/browsers/chromium/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
load("@io_bazel_rules_webtesting//web:web.bzl", "browser")
load("//bazel/browsers:browser_toolchain_alias.bzl", "browser_toolchain_alias")

package(default_visibility = ["//visibility:public"])

PLATFORM_METADATA = select({
"//bazel/constraints:linux_x64": [
"@org_chromium_chromedriver_linux_x64//:metadata",
Expand Down Expand Up @@ -31,6 +29,7 @@ browser(
# Same as default config, but not headless.
"//tools/browsers:use_debug_browsers_config": "chromium_debug.json",
}),
visibility = ["//visibility:public"],
deps = PLATFORM_METADATA + [
"@io_bazel_rules_webtesting//go/wsl",
],
Expand Down
3 changes: 1 addition & 2 deletions bazel/browsers/firefox/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
load("@io_bazel_rules_webtesting//web:web.bzl", "browser")
load("//bazel/browsers:browser_toolchain_alias.bzl", "browser_toolchain_alias")

package(default_visibility = ["//visibility:public"])

PLATFORM_METADATA = select({
"//bazel/constraints:linux_x64": [
"@org_mozilla_firefox_linux_x64//:metadata",
Expand Down Expand Up @@ -38,6 +36,7 @@ browser(
# Same as default config, but not headless.
"//tools/browsers:use_debug_browsers_config": "firefox_debug.json",
}),
visibility = ["//visibility:public"],
deps = PLATFORM_METADATA + [
"@io_bazel_rules_webtesting//go/wsl",
],
Expand Down

0 comments on commit f5d576f

Please sign in to comment.