ac951b2afa
Some checks failed
ContinuousDelivery / linux-ubuntu (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Has been cancelled
ContinuousDelivery / windows (push) Has been cancelled
ContinuousDelivery / windows-asan (push) Has been cancelled
ContinuousIntegration / linux (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled
Merge commit '261d2e53b7a513de7eb35e022fe3b2ae4efa835f'
37 lines
1.2 KiB
Python
37 lines
1.2 KiB
Python
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
|
load("//tools:no_undefined.bzl", "cc_library")
|
|
|
|
cc_library(
|
|
name = "bootstrap_node_packets",
|
|
srcs = ["bootstrap_node_packets.c"],
|
|
hdrs = ["bootstrap_node_packets.h"],
|
|
visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"],
|
|
deps = ["//c-toxcore/toxcore:network"],
|
|
)
|
|
|
|
cc_binary(
|
|
name = "DHT_bootstrap",
|
|
testonly = 1,
|
|
srcs = ["DHT_bootstrap.c"],
|
|
deps = [
|
|
":bootstrap_node_packets",
|
|
"//c-toxcore/testing:misc_tools",
|
|
"//c-toxcore/toxcore:DHT",
|
|
"//c-toxcore/toxcore:LAN_discovery",
|
|
"//c-toxcore/toxcore:Messenger",
|
|
"//c-toxcore/toxcore:TCP_server",
|
|
"//c-toxcore/toxcore:ccompat",
|
|
"//c-toxcore/toxcore:crypto_core",
|
|
"//c-toxcore/toxcore:forwarding",
|
|
"//c-toxcore/toxcore:group_announce",
|
|
"//c-toxcore/toxcore:group_onion_announce",
|
|
"//c-toxcore/toxcore:logger",
|
|
"//c-toxcore/toxcore:mem",
|
|
"//c-toxcore/toxcore:mono_time",
|
|
"//c-toxcore/toxcore:network",
|
|
"//c-toxcore/toxcore:onion",
|
|
"//c-toxcore/toxcore:onion_announce",
|
|
"//c-toxcore/toxcore:tox",
|
|
],
|
|
)
|