2020-03-12 20:20:54 +08:00
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
2018-01-22 00:58:32 +08:00
|
|
|
load("//tools:no_undefined.bzl", "cc_library")
|
|
|
|
|
2022-01-12 05:28:53 +08:00
|
|
|
package(features = ["layering_check"])
|
|
|
|
|
2018-01-21 09:05:23 +08:00
|
|
|
cc_library(
|
|
|
|
name = "bootstrap_node_packets",
|
|
|
|
srcs = ["bootstrap_node_packets.c"],
|
|
|
|
hdrs = ["bootstrap_node_packets.h"],
|
|
|
|
visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"],
|
2018-01-22 00:58:32 +08:00
|
|
|
deps = ["//c-toxcore/toxcore:network"],
|
2018-01-21 09:05:23 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "DHT_bootstrap",
|
2022-01-16 10:02:53 +08:00
|
|
|
testonly = 1,
|
2018-01-21 09:05:23 +08:00
|
|
|
srcs = ["DHT_bootstrap.c"],
|
|
|
|
deps = [
|
|
|
|
"//c-toxcore/testing:misc_tools",
|
2022-01-12 05:28:53 +08:00
|
|
|
"//c-toxcore/toxcore:DHT",
|
2022-01-16 06:10:23 +08:00
|
|
|
"//c-toxcore/toxcore:TCP_server",
|
2022-01-12 05:28:53 +08:00
|
|
|
"//c-toxcore/toxcore:friend_requests",
|
|
|
|
"//c-toxcore/toxcore:logger",
|
|
|
|
"//c-toxcore/toxcore:mono_time",
|
|
|
|
"//c-toxcore/toxcore:network",
|
2022-02-12 21:38:00 +08:00
|
|
|
"//c-toxcore/toxcore:tox",
|
2018-01-21 09:05:23 +08:00
|
|
|
],
|
|
|
|
)
|