diff options
Diffstat (limited to 'other')
-rw-r--r-- | other/BUILD | 17 | ||||
-rw-r--r-- | other/bootstrap_daemon/BUILD | 12 | ||||
-rw-r--r-- | other/fun/BUILD | 27 |
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 | |||
12 | cc_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 | |||
20 | cc_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 @@ | |||
1 | cc_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 @@ | |||
1 | cc_binary( | ||
2 | name = "cracker", | ||
3 | srcs = ["cracker.c"], | ||
4 | deps = [ | ||
5 | "//c-toxcore/testing:misc_tools", | ||
6 | "@libsodium", | ||
7 | ], | ||
8 | ) | ||
9 | |||
10 | cc_binary( | ||
11 | name = "sign", | ||
12 | srcs = ["sign.c"], | ||
13 | deps = [ | ||
14 | "//c-toxcore/testing:misc_tools", | ||
15 | "@libsodium", | ||
16 | ], | ||
17 | copts = ["-w"], | ||
18 | ) | ||
19 | |||
20 | cc_binary( | ||
21 | name = "strkey", | ||
22 | srcs = ["strkey.c"], | ||
23 | deps = [ | ||
24 | "@libsodium", | ||
25 | ], | ||
26 | copts = ["-w"], | ||
27 | ) | ||