summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-21 01:05:23 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-21 01:31:11 +0000
commit1cecb6c87a4d1c9773d6861868124a9d0f01f7b2 (patch)
tree2ad5b12a4c97f57628cb0a5d73175ea56331ef44 /other
parent822dd2fac282c5c92c3bb8dc42a190e47d93d9c7 (diff)
Add BUILD files for all the little tools in the repo.
Also, fix av_test.c, since I broke it last time.
Diffstat (limited to 'other')
-rw-r--r--other/BUILD17
-rw-r--r--other/bootstrap_daemon/BUILD12
-rw-r--r--other/fun/BUILD27
3 files changed, 56 insertions, 0 deletions
diff --git a/other/BUILD b/other/BUILD
index 5c8997ec..223f4355 100644
--- a/other/BUILD
+++ b/other/BUILD
@@ -8,3 +8,20 @@ cc_library(
8 "//c-toxcore/toxencryptsave:monolith", 8 "//c-toxcore/toxencryptsave:monolith",
9 ], 9 ],
10) 10)
11
12cc_library(
13 name = "bootstrap_node_packets",
14 srcs = ["bootstrap_node_packets.c"],
15 hdrs = ["bootstrap_node_packets.h"],
16 visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"],
17 deps = ["//c-toxcore/toxcore"],
18)
19
20cc_binary(
21 name = "DHT_bootstrap",
22 srcs = ["DHT_bootstrap.c"],
23 deps = [
24 "//c-toxcore/testing:misc_tools",
25 "//c-toxcore/toxcore",
26 ],
27)
diff --git a/other/bootstrap_daemon/BUILD b/other/bootstrap_daemon/BUILD
new file mode 100644
index 00000000..d4a6bd2e
--- /dev/null
+++ b/other/bootstrap_daemon/BUILD
@@ -0,0 +1,12 @@
1cc_binary(
2 name = "bootstrap_daemon",
3 srcs = glob([
4 "src/*.c",
5 "src/*.h",
6 ]),
7 linkopts = ["-lconfig"],
8 deps = [
9 "//c-toxcore/other:bootstrap_node_packets",
10 "//c-toxcore/toxcore",
11 ],
12)
diff --git a/other/fun/BUILD b/other/fun/BUILD
new file mode 100644
index 00000000..c3ab510e
--- /dev/null
+++ b/other/fun/BUILD
@@ -0,0 +1,27 @@
1cc_binary(
2 name = "cracker",
3 srcs = ["cracker.c"],
4 deps = [
5 "//c-toxcore/testing:misc_tools",
6 "@libsodium",
7 ],
8)
9
10cc_binary(
11 name = "sign",
12 srcs = ["sign.c"],
13 deps = [
14 "//c-toxcore/testing:misc_tools",
15 "@libsodium",
16 ],
17 copts = ["-w"],
18)
19
20cc_binary(
21 name = "strkey",
22 srcs = ["strkey.c"],
23 deps = [
24 "@libsodium",
25 ],
26 copts = ["-w"],
27)