2023-07-25 11:53:09 +02:00
|
|
|
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 = [
|
2023-11-17 16:01:52 +01:00
|
|
|
":bootstrap_node_packets",
|
2023-07-25 11:53:09 +02:00
|
|
|
"//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",
|
2024-12-19 16:27:40 +01:00
|
|
|
"//c-toxcore/toxcore:crypto_core",
|
|
|
|
"//c-toxcore/toxcore:forwarding",
|
|
|
|
"//c-toxcore/toxcore:group_announce",
|
2023-07-25 11:53:09 +02:00
|
|
|
"//c-toxcore/toxcore:group_onion_announce",
|
|
|
|
"//c-toxcore/toxcore:logger",
|
2024-12-19 16:27:40 +01:00
|
|
|
"//c-toxcore/toxcore:mem",
|
2023-07-25 11:53:09 +02:00
|
|
|
"//c-toxcore/toxcore:mono_time",
|
|
|
|
"//c-toxcore/toxcore:network",
|
2024-12-19 16:27:40 +01:00
|
|
|
"//c-toxcore/toxcore:onion",
|
2023-07-25 11:53:09 +02:00
|
|
|
"//c-toxcore/toxcore:onion_announce",
|
|
|
|
"//c-toxcore/toxcore:tox",
|
|
|
|
],
|
|
|
|
)
|