diff --git a/connections/BUILD b/connections/BUILD index 7f270f99..c2a472c7 100644 --- a/connections/BUILD +++ b/connections/BUILD @@ -24,6 +24,7 @@ cc_library( copts = ["-DCORE_ADAPTER_DLL"], visibility = [ "//connections:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", "//location/nearby/testing:__subpackages__", ], deps = [ @@ -70,6 +71,7 @@ cc_library( visibility = [ "//connections:__subpackages__", "//internal/platform/implementation/apple:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", "//location/nearby/testing:__subpackages__", ], deps = [ diff --git a/fastpair/repository/BUILD b/fastpair/repository/BUILD index 6bfb3386..5467d57b 100644 --- a/fastpair/repository/BUILD +++ b/fastpair/repository/BUILD @@ -16,7 +16,10 @@ cc_library( copts = [ "-Ithird_party", ], - visibility = ["//fastpair:__subpackages__"], + visibility = [ + "//fastpair:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", + ], deps = [ "//fastpair/common", "//fastpair/proto:fastpair_cc_proto", diff --git a/internal/analytics/BUILD b/internal/analytics/BUILD index bd6a902b..72b6179e 100644 --- a/internal/analytics/BUILD +++ b/internal/analytics/BUILD @@ -21,6 +21,7 @@ cc_library( visibility = [ "//connections:__subpackages__", "//location/nearby/analytics/cpp:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", ], deps = ["@com_google_protobuf//:protobuf"], ) diff --git a/internal/base/BUILD b/internal/base/BUILD index 2bdeef6f..998aec84 100644 --- a/internal/base/BUILD +++ b/internal/base/BUILD @@ -14,6 +14,7 @@ cc_library( "//fastpair:__subpackages__", "//internal:__pkg__", "//location/nearby/cpp/fastpair:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", ], deps = [ "@com_google_absl//absl/container:flat_hash_set", @@ -35,6 +36,7 @@ cc_library( "//fastpair:__subpackages__", "//internal:__subpackages__", "//location/nearby/cpp/fastpair:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", ], deps = [ "@com_google_absl//absl/strings", diff --git a/internal/crypto/BUILD b/internal/crypto/BUILD index ee15bac5..a9db74d2 100644 --- a/internal/crypto/BUILD +++ b/internal/crypto/BUILD @@ -13,7 +13,10 @@ licenses(["notice"]) # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -package(default_visibility = ["//:__subpackages__"]) +package(default_visibility = [ + "//:__subpackages__", + "//location/nearby/cpp/sharing/implementation:__subpackages__", +]) licenses(["notice"]) diff --git a/internal/flags/BUILD b/internal/flags/BUILD index 8624a5aa..0eb21889 100644 --- a/internal/flags/BUILD +++ b/internal/flags/BUILD @@ -21,7 +21,11 @@ cc_library( "flag.h", "flag_reader.h", ], - visibility = ["//:__subpackages__"], + visibility = [ + "//:__subpackages__", + "//location/nearby/cpp/experiments:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", + ], deps = ["@com_google_absl//absl/strings"], ) diff --git a/internal/network/BUILD b/internal/network/BUILD index 654e6dbc..e8a818a1 100644 --- a/internal/network/BUILD +++ b/internal/network/BUILD @@ -27,6 +27,7 @@ cc_library( "//internal/platform:__subpackages__", "//internal/platform/implementation:__subpackages__", "//location/nearby/cpp/fastpair:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", "//presence:__subpackages__", ], deps = [ @@ -56,6 +57,7 @@ cc_library( "//internal/platform:__subpackages__", "//internal/platform/implementation:__subpackages__", "//location/nearby/cpp/fastpair:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", "//presence:__subpackages__", ], deps = [ diff --git a/internal/platform/implementation/BUILD b/internal/platform/implementation/BUILD index cf23dcfb..622305e3 100644 --- a/internal/platform/implementation/BUILD +++ b/internal/platform/implementation/BUILD @@ -43,6 +43,7 @@ cc_library( "//internal/platform/implementation:__subpackages__", "//internal/test:__subpackages__", "//location/nearby/analytics/cpp:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", "//presence:__subpackages__", ], deps = [ @@ -111,6 +112,7 @@ cc_library( "//internal/platform:__pkg__", "//internal/platform/implementation:__subpackages__", "//location/nearby/cpp/fastpair:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", ], deps = [ ":comm", diff --git a/internal/platform/implementation/g3/BUILD b/internal/platform/implementation/g3/BUILD index acfe6000..2e9f2829 100644 --- a/internal/platform/implementation/g3/BUILD +++ b/internal/platform/implementation/g3/BUILD @@ -126,6 +126,7 @@ cc_library( "//connections:__subpackages__", "//fastpair:__subpackages__", "//internal:__pkg__", + "//internal/auth:__subpackages__", "//internal/flags:__subpackages__", "//internal/network:__subpackages__", "//internal/platform:__subpackages__", diff --git a/internal/platform/implementation/windows/generated/BUILD b/internal/platform/implementation/windows/generated/BUILD index 51984ca6..4451d2e2 100644 --- a/internal/platform/implementation/windows/generated/BUILD +++ b/internal/platform/implementation/windows/generated/BUILD @@ -45,5 +45,7 @@ cc_library( "//internal:__subpackages__", "//internal/platform/implementation/windows:__subpackages__", "//location/nearby/apps/better_together/windows:__subpackages__", + "//location/nearby/cpp/fastpair/internal:__subpackages__", + "//location/nearby/cpp/sharing/implementation/internal:__subpackages__", ], ) diff --git a/proto/BUILD b/proto/BUILD index a499f15f..a50089b5 100644 --- a/proto/BUILD +++ b/proto/BUILD @@ -57,7 +57,10 @@ java_proto_library( cc_proto_library( name = "sharing_enums_cc_proto", - visibility = ["//:__subpackages__"], + visibility = [ + "//:__subpackages__", + "//location/nearby/cpp/sharing:__subpackages__", + ], deps = [ ":sharing_enums_proto", ],