mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
cff9a18e39
Also, don't include ccompat.h in header files. Instead, explicitly include it in .c files.
25 lines
644 B
Python
25 lines
644 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:onion_announce",
|
|
"//c-toxcore/toxcore:tox",
|
|
"//c-toxcore/toxcore:util",
|
|
"@libconfig",
|
|
],
|
|
)
|