mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
28 lines
787 B
Python
28 lines
787 B
Python
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
|
load("//tools:no_undefined.bzl", "cc_library")
|
|
|
|
package(features = ["layering_check"])
|
|
|
|
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",
|
|
srcs = ["DHT_bootstrap.c"],
|
|
deps = [
|
|
"//c-toxcore/testing:misc_tools",
|
|
"//c-toxcore/toxcore",
|
|
"//c-toxcore/toxcore:DHT",
|
|
"//c-toxcore/toxcore:TCP_connection",
|
|
"//c-toxcore/toxcore:friend_requests",
|
|
"//c-toxcore/toxcore:logger",
|
|
"//c-toxcore/toxcore:mono_time",
|
|
"//c-toxcore/toxcore:network",
|
|
],
|
|
)
|