diff --git a/internal/encoding/BUILD b/internal/encoding/BUILD index 0bd8cc5b..4835b033 100644 --- a/internal/encoding/BUILD +++ b/internal/encoding/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + licenses(["notice"]) package(default_visibility = ["//:__subpackages__"]) diff --git a/internal/flags/BUILD b/internal/flags/BUILD index 267f21cc..4011fdbc 100644 --- a/internal/flags/BUILD +++ b/internal/flags/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + licenses(["notice"]) cc_library( diff --git a/internal/interop/BUILD b/internal/interop/BUILD index 53a1cc16..ee6deda7 100644 --- a/internal/interop/BUILD +++ b/internal/interop/BUILD @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") + cc_library( name = "authentication_transport_interface", hdrs = [ diff --git a/internal/network/BUILD b/internal/network/BUILD index db3fb916..1d1f6d96 100644 --- a/internal/network/BUILD +++ b/internal/network/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + licenses(["notice"]) cc_library( diff --git a/internal/platform/BUILD b/internal/platform/BUILD index 8c650e31..2100f39d 100644 --- a/internal/platform/BUILD +++ b/internal/platform/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + # Placeholder: load py_test licenses(["notice"]) diff --git a/internal/platform/flags/BUILD b/internal/platform/flags/BUILD index 18f68113..c4eb1e93 100644 --- a/internal/platform/flags/BUILD +++ b/internal/platform/flags/BUILD @@ -1,3 +1,5 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") + # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/BUILD b/internal/platform/implementation/BUILD index ddd091a8..73e70290 100644 --- a/internal/platform/implementation/BUILD +++ b/internal/platform/implementation/BUILD @@ -1,3 +1,6 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/apple/BUILD b/internal/platform/implementation/apple/BUILD index ebd31a29..e637388e 100644 --- a/internal/platform/implementation/apple/BUILD +++ b/internal/platform/implementation/apple/BUILD @@ -1,3 +1,7 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") +load("@rules_cc//cc:objc_library.bzl", "objc_library") + # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/apple/Flags/BUILD b/internal/platform/implementation/apple/Flags/BUILD index 4eaf9295..7b91da05 100644 --- a/internal/platform/implementation/apple/Flags/BUILD +++ b/internal/platform/implementation/apple/Flags/BUILD @@ -1,3 +1,5 @@ +load("@rules_cc//cc:objc_library.bzl", "objc_library") + # Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/apple/Log/BUILD b/internal/platform/implementation/apple/Log/BUILD index efd195f5..07fc3573 100644 --- a/internal/platform/implementation/apple/Log/BUILD +++ b/internal/platform/implementation/apple/Log/BUILD @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:objc_library.bzl", "objc_library") + licenses(["notice"]) package(default_visibility = [ diff --git a/internal/platform/implementation/apple/Mediums/BUILD b/internal/platform/implementation/apple/Mediums/BUILD index 793d75d6..dbd7c14c 100644 --- a/internal/platform/implementation/apple/Mediums/BUILD +++ b/internal/platform/implementation/apple/Mediums/BUILD @@ -1,3 +1,5 @@ +load("@rules_cc//cc:objc_library.bzl", "objc_library") + # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/apple/Mediums/Ble/Sockets/BUILD b/internal/platform/implementation/apple/Mediums/Ble/Sockets/BUILD index 22aed87b..34f39b14 100644 --- a/internal/platform/implementation/apple/Mediums/Ble/Sockets/BUILD +++ b/internal/platform/implementation/apple/Mediums/Ble/Sockets/BUILD @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:objc_library.bzl", "objc_library") load("//third_party/nearby:minimum_os.bzl", "IOS_MINIMUM_OS") load("//tools/build_defs/swift:swift_explicit_module_build_test.bzl", "swift_explicit_module_build_test") diff --git a/internal/platform/implementation/apple/Tests/BUILD b/internal/platform/implementation/apple/Tests/BUILD index d1d6cafa..971df005 100644 --- a/internal/platform/implementation/apple/Tests/BUILD +++ b/internal/platform/implementation/apple/Tests/BUILD @@ -13,6 +13,7 @@ # limitations under the License. load("@rules_apple//apple:ios.bzl", "ios_unit_test") +load("@rules_cc//cc:objc_library.bzl", "objc_library") load("//third_party/nearby:minimum_os.bzl", "IOS_LATEST_TEST_RUNNER", "IOS_MINIMUM_OS") licenses(["notice"]) diff --git a/internal/platform/implementation/g3/BUILD b/internal/platform/implementation/g3/BUILD index aa95fc08..12717cc6 100644 --- a/internal/platform/implementation/g3/BUILD +++ b/internal/platform/implementation/g3/BUILD @@ -1,3 +1,5 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") + # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/shared/BUILD b/internal/platform/implementation/shared/BUILD index b66deb11..d76759a6 100644 --- a/internal/platform/implementation/shared/BUILD +++ b/internal/platform/implementation/shared/BUILD @@ -1,3 +1,6 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/platform/implementation/windows/BUILD b/internal/platform/implementation/windows/BUILD index 84bedfb5..56b8a517 100644 --- a/internal/platform/implementation/windows/BUILD +++ b/internal/platform/implementation/windows/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + licenses(["notice"]) cc_library( diff --git a/internal/platform/implementation/windows/generated/BUILD b/internal/platform/implementation/windows/generated/BUILD index cdbc77b7..46f3e519 100644 --- a/internal/platform/implementation/windows/generated/BUILD +++ b/internal/platform/implementation/windows/generated/BUILD @@ -1,3 +1,5 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") + # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/proto/analytics/BUILD b/internal/proto/analytics/BUILD index e002a9d2..d096158e 100644 --- a/internal/proto/analytics/BUILD +++ b/internal/proto/analytics/BUILD @@ -16,6 +16,7 @@ load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") load("@com_google_protobuf//bazel:java_lite_proto_library.bzl", "java_lite_proto_library") load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library") load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") licenses(["notice"]) diff --git a/internal/test/BUILD b/internal/test/BUILD index f106c81a..8db25b33 100644 --- a/internal/test/BUILD +++ b/internal/test/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + licenses(["notice"]) cc_library( diff --git a/internal/weave/BUILD b/internal/weave/BUILD index 62bda5fa..0bbc080d 100644 --- a/internal/weave/BUILD +++ b/internal/weave/BUILD @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + cc_library( name = "weave", srcs = [ diff --git a/sharing/scheduling/BUILD b/sharing/scheduling/BUILD index 862b3b51..eaf69a01 100644 --- a/sharing/scheduling/BUILD +++ b/sharing/scheduling/BUILD @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("//third_party/bazel_rules/rules_cc/cc:cc_library.bzl", "cc_library") -load("//third_party/bazel_rules/rules_cc/cc:cc_test.bzl", "cc_test") +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") licenses(["notice"])