Skip to content

Commit

Permalink
Tweak visibility attributes/defaults.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 589161749
  • Loading branch information
thomasvl authored and swiple-rules-gardener committed Dec 8, 2023
1 parent c670a74 commit 979788e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ filegroup(
name = "for_bazel_tests",
testonly = 1,
srcs = [
"BUILD",
"LICENSE",
"WORKSPACE",
"//lib:for_bazel_tests",
"//rules:for_bazel_tests",
Expand Down
8 changes: 4 additions & 4 deletions lib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

licenses(["notice"])

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

# Public bzl_library for anything that needs to depend on apple_support.bzl.
bzl_library(
name = "apple_support",
srcs = ["apple_support.bzl"],
visibility = ["//visibility:public"],
deps = [
"@bazel_skylib//lib:types",
],
Expand All @@ -15,7 +18,6 @@ bzl_library(
bzl_library(
name = "lipo",
srcs = ["lipo.bzl"],
visibility = ["//visibility:public"],
deps = [
":apple_support",
"@bazel_skylib//lib:shell",
Expand All @@ -26,14 +28,12 @@ bzl_library(
bzl_library(
name = "xcode_support",
srcs = ["xcode_support.bzl"],
visibility = ["//visibility:public"],
)

# Public bzl_library for anything that needs to depend on repositories.bzl.
bzl_library(
name = "repositories",
srcs = ["repositories.bzl"],
visibility = ["//visibility:public"],
)

# Consumed by bazel tests.
Expand Down
5 changes: 4 additions & 1 deletion rules/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

licenses(["notice"])

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

# Public bzl_library for anything that needs to depend on apple_genrule.bzl.
bzl_library(
name = "apple_genrule",
srcs = ["apple_genrule.bzl"],
visibility = ["//visibility:public"],
deps = [
"//rules/private:apple_genrule",
],
Expand Down

1 comment on commit 979788e

@keith
Copy link
Member

@keith keith commented on 979788e Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.