Add testing/*.c (except av_test) to bazel build.

This commit is contained in:
iphydf 2018-01-20 14:09:50 +00:00
parent d7583a719a
commit 98febe0589
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -5,3 +5,49 @@ cc_library(
], ],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )
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",
],
)
cc_binary(
name = "irc_syncbot",
srcs = ["irc_syncbot.c"],
deps = [
":misc_tools",
"//c-toxcore/toxcore",
],
)
cc_binary(
name = "tox_shell",
srcs = ["tox_shell.c"],
linkopts = ["-lutil"],
deps = [
":misc_tools",
"//c-toxcore/toxcore",
],
)
cc_binary(
name = "tox_sync",
srcs = ["tox_sync.c"],
deps = [
":misc_tools",
"//c-toxcore/toxcore",
],
)