2020-04-27 10:57:21 +08:00
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
|
2018-01-22 00:58:32 +08:00
|
|
|
|
2018-01-18 23:14:50 +08:00
|
|
|
cc_library(
|
|
|
|
name = "misc_tools",
|
2018-07-17 06:46:02 +08:00
|
|
|
srcs = ["misc_tools.c"],
|
|
|
|
hdrs = ["misc_tools.h"],
|
2018-01-23 03:34:52 +08:00
|
|
|
visibility = ["//c-toxcore:__subpackages__"],
|
2018-07-17 06:46:02 +08:00
|
|
|
deps = ["//c-toxcore/toxcore"],
|
2018-01-18 23:14:50 +08:00
|
|
|
)
|
2018-01-20 22:09:50 +08:00
|
|
|
|
2020-04-27 10:57:21 +08:00
|
|
|
cc_library(
|
|
|
|
name = "trace",
|
|
|
|
srcs = ["trace.cc"],
|
|
|
|
visibility = ["//c-toxcore:__subpackages__"],
|
|
|
|
alwayslink = True,
|
|
|
|
)
|
|
|
|
|
2018-01-20 22:09:50 +08:00
|
|
|
cc_binary(
|
|
|
|
name = "DHT_test",
|
|
|
|
srcs = ["DHT_test.c"],
|
|
|
|
deps = [
|
|
|
|
":misc_tools",
|
|
|
|
"//c-toxcore/toxcore",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "Messenger_test",
|
|
|
|
srcs = ["Messenger_test.c"],
|
|
|
|
deps = [
|
|
|
|
":misc_tools",
|
|
|
|
"//c-toxcore/toxcore",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-06-19 08:41:30 +08:00
|
|
|
cc_binary(
|
|
|
|
name = "random_testing",
|
|
|
|
srcs = ["random_testing.cc"],
|
|
|
|
deps = [
|
|
|
|
":misc_tools",
|
|
|
|
"//c-toxcore/toxcore",
|
|
|
|
],
|
|
|
|
)
|
2019-08-02 06:18:58 +08:00
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "afl_toxsave",
|
|
|
|
srcs = ["afl_toxsave.c"],
|
|
|
|
deps = [
|
|
|
|
"//c-toxcore/toxcore",
|
|
|
|
],
|
|
|
|
)
|