mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
f19524cb21
As a side-effect, DHT now always accepts LAN discovery packets, even when LAN discovery is disabled. When LAN discovery is disabled, those packets are ignored.
25 lines
647 B
Python
25 lines
647 B
Python
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
|
|
|
package(features = ["layering_check"])
|
|
|
|
cc_binary(
|
|
name = "bootstrap_daemon",
|
|
srcs = glob([
|
|
"src/*.c",
|
|
"src/*.h",
|
|
]),
|
|
deps = [
|
|
"//c-toxcore/other:bootstrap_node_packets",
|
|
"//c-toxcore/toxcore:DHT",
|
|
"//c-toxcore/toxcore:LAN_discovery",
|
|
"//c-toxcore/toxcore:TCP_server",
|
|
"//c-toxcore/toxcore:ccompat",
|
|
"//c-toxcore/toxcore:logger",
|
|
"//c-toxcore/toxcore:mono_time",
|
|
"//c-toxcore/toxcore:network",
|
|
"//c-toxcore/toxcore:onion_announce",
|
|
"//c-toxcore/toxcore:tox",
|
|
"@libconfig",
|
|
],
|
|
)
|