From 3caae8d58d4aed1a646c8336ac20896eb46213fa Mon Sep 17 00:00:00 2001 From: Nick Bourdakos Date: Tue, 19 Nov 2024 12:15:31 -0800 Subject: [PATCH] Remove `compatible_with` from Bazel targets PiperOrigin-RevId: 698102508 --- connections/c/BUILD | 3 --- fastpair/BUILD | 5 ----- fastpair/internal/BUILD | 1 - fastpair/pairing/BUILD | 1 - fastpair/pairing/fastpair/BUILD | 1 - fastpair/plugins/BUILD | 2 -- fastpair/proto/BUILD | 2 -- fastpair/repository/BUILD | 2 -- fastpair/retroactive/BUILD | 1 - fastpair/ui/BUILD | 1 - internal/platform/implementation/windows/BUILD | 1 - internal/proto/BUILD | 2 -- presence/BUILD | 1 - 13 files changed, 23 deletions(-) diff --git a/connections/c/BUILD b/connections/c/BUILD index ca715b06..debea49d 100644 --- a/connections/c/BUILD +++ b/connections/c/BUILD @@ -28,7 +28,6 @@ cc_library( "nc_def.h", "nc_types.h", ], - compatible_with = ["//buildenv/target:non_prod"], ) cc_library( @@ -36,7 +35,6 @@ cc_library( srcs = [ "nc.cc", ], - compatible_with = ["//buildenv/target:non_prod"], copts = ["-DNC_DLL"], deps = [ ":nc_types", @@ -58,7 +56,6 @@ cc_library( windows.cc_windows_dll( name = "nc_windows", srcs = [], - compatible_with = ["//buildenv/target:non_prod"], copts = ["-DNC_DLL"], tags = ["windows-dll"], deps = [ diff --git a/fastpair/BUILD b/fastpair/BUILD index 7f5f5799..cc864b84 100644 --- a/fastpair/BUILD +++ b/fastpair/BUILD @@ -22,7 +22,6 @@ cc_library( name = "fast_pair_controller", srcs = ["fast_pair_controller.cc"], hdrs = ["fast_pair_controller.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//:__subpackages__"], deps = [ "//fastpair/common", @@ -59,7 +58,6 @@ cc_test( cc_library( name = "fast_pair_seeker", hdrs = ["fast_pair_seeker.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//:__subpackages__"], deps = [ "//fastpair/common", @@ -71,7 +69,6 @@ cc_library( cc_library( name = "fast_pair_plugin", hdrs = ["fast_pair_plugin.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//:__subpackages__"], deps = [ ":fast_pair_events", @@ -82,7 +79,6 @@ cc_library( cc_library( name = "fast_pair_events", hdrs = ["fast_pair_events.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//:__subpackages__"], deps = [ ], @@ -92,7 +88,6 @@ cc_library( name = "fast_pair_service", srcs = ["fast_pair_service.cc"], hdrs = ["fast_pair_service.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//:__subpackages__"], deps = [ ":fast_pair_plugin", diff --git a/fastpair/internal/BUILD b/fastpair/internal/BUILD index 646418a8..ac7411c8 100644 --- a/fastpair/internal/BUILD +++ b/fastpair/internal/BUILD @@ -20,7 +20,6 @@ cc_library( hdrs = [ "fast_pair_seeker_impl.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = [ "//fastpair:__subpackages__", ], diff --git a/fastpair/pairing/BUILD b/fastpair/pairing/BUILD index 04ab38a1..24c8cd80 100644 --- a/fastpair/pairing/BUILD +++ b/fastpair/pairing/BUILD @@ -23,7 +23,6 @@ cc_library( "pairer_broker.h", "pairer_broker_impl.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//fastpair:__subpackages__"], deps = [ "//fastpair/common", diff --git a/fastpair/pairing/fastpair/BUILD b/fastpair/pairing/fastpair/BUILD index 005c84c5..b3892742 100644 --- a/fastpair/pairing/fastpair/BUILD +++ b/fastpair/pairing/fastpair/BUILD @@ -23,7 +23,6 @@ cc_library( "fast_pair_pairer.h", "fast_pair_pairer_impl.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//fastpair:__subpackages__"], deps = [ "//fastpair/common", diff --git a/fastpair/plugins/BUILD b/fastpair/plugins/BUILD index 33cda443..473b84be 100644 --- a/fastpair/plugins/BUILD +++ b/fastpair/plugins/BUILD @@ -22,7 +22,6 @@ package_group( cc_library( name = "fake_initial_pair_plugin", hdrs = ["fake_initial_pair_plugin.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//visibility:private"], deps = [ "//fastpair:fast_pair_events", @@ -37,7 +36,6 @@ cc_library( name = "windows_admin_plugin", srcs = ["windows_admin_plugin.cc"], hdrs = ["windows_admin_plugin.h"], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//:__subpackages__"], deps = [ "//fastpair:fast_pair_events", diff --git a/fastpair/proto/BUILD b/fastpair/proto/BUILD index deec2ea6..f625e8ff 100644 --- a/fastpair/proto/BUILD +++ b/fastpair/proto/BUILD @@ -47,7 +47,6 @@ cc_library( hdrs = [ "proto_to_json.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//visibility:public"], deps = [ ":fastpair_cc_proto", @@ -66,7 +65,6 @@ cc_library( hdrs = [ "proto_builder.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//visibility:public"], deps = [ ":fastpair_cc_proto", diff --git a/fastpair/repository/BUILD b/fastpair/repository/BUILD index 52569105..bc10943c 100644 --- a/fastpair/repository/BUILD +++ b/fastpair/repository/BUILD @@ -44,7 +44,6 @@ cc_library( hdrs = [ "fast_pair_repository_impl.h", ], - compatible_with = ["//buildenv/target:non_prod"], copts = [ "-Ithird_party", ], @@ -70,7 +69,6 @@ cc_library( hdrs = [ "fast_pair_device_repository.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//fastpair:__subpackages__"], deps = [ "//fastpair/common", diff --git a/fastpair/retroactive/BUILD b/fastpair/retroactive/BUILD index 3b0676aa..ccfc6b9a 100644 --- a/fastpair/retroactive/BUILD +++ b/fastpair/retroactive/BUILD @@ -25,7 +25,6 @@ cc_library( "retroactive_pairing_detector.h", "retroactive_pairing_detector_impl.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = [ "//:__subpackages__", "//fastpair:__subpackages__", diff --git a/fastpair/ui/BUILD b/fastpair/ui/BUILD index 83ae1108..9173a348 100644 --- a/fastpair/ui/BUILD +++ b/fastpair/ui/BUILD @@ -29,7 +29,6 @@ cc_library( "ui_broker.h", "ui_broker_impl.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = [ "//fastpair:__subpackages__", ], diff --git a/internal/platform/implementation/windows/BUILD b/internal/platform/implementation/windows/BUILD index ebb73474..822f1d09 100644 --- a/internal/platform/implementation/windows/BUILD +++ b/internal/platform/implementation/windows/BUILD @@ -154,7 +154,6 @@ cc_library( hdrs = [ "string_utils.h", ], - compatible_with = ["//buildenv/target:non_prod"], visibility = [ "//internal/platform:__subpackages__", "//location/nearby:__subpackages__", diff --git a/internal/proto/BUILD b/internal/proto/BUILD index c1eef1c3..db3e8ff1 100644 --- a/internal/proto/BUILD +++ b/internal/proto/BUILD @@ -67,7 +67,6 @@ proto_library( "tachyon_common.proto", "tachyon_enums.proto", ], - compatible_with = ["//buildenv/target:non_prod"], deps = [ "//frameworks/testing/rpcreplay/processors:rpc_replay_field_option_proto", "//google/api:annotations", @@ -84,7 +83,6 @@ cc_proto_library( cc_proto_library( name = "tachyon_cc_proto", - compatible_with = ["//buildenv/target:non_prod"], visibility = ["//visibility:public"], deps = [":tachyon_proto"], ) diff --git a/presence/BUILD b/presence/BUILD index 800711f1..81458bb8 100644 --- a/presence/BUILD +++ b/presence/BUILD @@ -62,7 +62,6 @@ cc_library( "fake_presence_client.h", "fake_presence_service.h", ], - compatible_with = ["//buildenv/target:non_prod"], deps = [ ":presence", ":types",