Move to macos dylib

PiperOrigin-RevId: 731803885
This commit is contained in:
Anay Wadhera
2025-02-27 11:39:35 -08:00
committed by Copybara-Service
parent 29792c8938
commit 37538b817e
2 changed files with 25 additions and 4 deletions
+6 -4
View File
@@ -13,6 +13,7 @@
# limitations under the License.
load("@rules_apple//apple:apple.bzl", "apple_static_xcframework")
load("@rules_apple//apple:macos.bzl", "macos_dylib")
load("//third_party/cpptoolchains/windows_llvm/build_defs:windows.bzl", "windows")
package(default_visibility = [
@@ -92,10 +93,11 @@ windows.cc_windows_dll(
)
# macOS.
cc_binary(
name = "libnc.so",
linkshared = 1,
linkstatic = 1,
macos_dylib(
name = "libnc",
exported_symbols_lists = ["macOS_exported_symbols.txt"],
linkopts = ["-install_name,@rpath/libnc.dylib"],
minimum_os_version = "10.15",
tags = ["notap"],
deps = [
":nc",
+19
View File
@@ -0,0 +1,19 @@
_NcCreateService
_NcCloseService
_NcStartAdvertising
_NcStopAdvertising
_NcStartDiscovery
_NcStopDiscovery
_NcInjectEndpoint
_NcRequestConnection
_NcAcceptConnection
_NcRejectConnection
_NcSendPayload
_NcCancelPayload
_NcDisconnectFromEndpoint
_NcStopAllEndpoints
_NcInitiateBandwidthUpgrade
_NcGetLocalEndpointId
_NcEnableBleV2
_NcSetCustomSavePath
_NcSetPhenotypeFlagReader