From 6eb9675117e52c92c053d4e2ca74259c9981889c Mon Sep 17 00:00:00 2001 From: Anay Wadhera Date: Sun, 9 Feb 2025 12:33:28 -0800 Subject: [PATCH] internal change PiperOrigin-RevId: 724963078 --- connections/c/BUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/connections/c/BUILD b/connections/c/BUILD index 0baea2f2..0e5e7d8e 100644 --- a/connections/c/BUILD +++ b/connections/c/BUILD @@ -54,6 +54,7 @@ cc_library( ], ) +# iOS only. apple_static_xcframework( name = "NearbyConnections", avoid_deps = [], @@ -77,6 +78,7 @@ apple_static_xcframework( ], ) +# Windows. windows.cc_windows_dll( name = "nc_windows", srcs = [], @@ -88,3 +90,16 @@ windows.cc_windows_dll( "@com_google_absl//absl/strings", ], ) + +# macOS. +cc_binary( + name = "libnc.so", + linkshared = 1, + linkstatic = 1, + tags = ["notap"], + deps = [ + ":nc", + "//internal/platform/implementation/apple", + "//internal/platform/implementation/apple/Mediums", + ], +)