diff options
Diffstat (limited to 'testing/BUILD.bazel')
-rw-r--r-- | testing/BUILD.bazel | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/testing/BUILD.bazel b/testing/BUILD.bazel new file mode 100644 index 00000000..3c8f8293 --- /dev/null +++ b/testing/BUILD.bazel | |||
@@ -0,0 +1,71 @@ | |||
1 | load("//tools:no_undefined.bzl", "cc_library") | ||
2 | |||
3 | cc_library( | ||
4 | name = "misc_tools", | ||
5 | hdrs = [ | ||
6 | "misc_tools.c", | ||
7 | ], | ||
8 | visibility = ["//c-toxcore:__subpackages__"], | ||
9 | ) | ||
10 | |||
11 | cc_binary( | ||
12 | name = "DHT_test", | ||
13 | srcs = ["DHT_test.c"], | ||
14 | deps = [ | ||
15 | ":misc_tools", | ||
16 | "//c-toxcore/toxcore", | ||
17 | ], | ||
18 | ) | ||
19 | |||
20 | cc_binary( | ||
21 | name = "Messenger_test", | ||
22 | srcs = ["Messenger_test.c"], | ||
23 | deps = [ | ||
24 | ":misc_tools", | ||
25 | "//c-toxcore/toxcore", | ||
26 | ], | ||
27 | ) | ||
28 | |||
29 | cc_binary( | ||
30 | name = "av_test", | ||
31 | srcs = ["av_test.c"], | ||
32 | linkopts = [ | ||
33 | "-lopencv_highgui", | ||
34 | "-lopencv_core", | ||
35 | ], | ||
36 | deps = [ | ||
37 | "//c-toxcore/toxav", | ||
38 | "//c-toxcore/toxav:monolith", | ||
39 | "//c-toxcore/toxcore", | ||
40 | "@portaudio", | ||
41 | "@sndfile", | ||
42 | ], | ||
43 | ) | ||
44 | |||
45 | cc_binary( | ||
46 | name = "irc_syncbot", | ||
47 | srcs = ["irc_syncbot.c"], | ||
48 | deps = [ | ||
49 | ":misc_tools", | ||
50 | "//c-toxcore/toxcore", | ||
51 | ], | ||
52 | ) | ||
53 | |||
54 | cc_binary( | ||
55 | name = "tox_shell", | ||
56 | srcs = ["tox_shell.c"], | ||
57 | linkopts = ["-lutil"], | ||
58 | deps = [ | ||
59 | ":misc_tools", | ||
60 | "//c-toxcore/toxcore", | ||
61 | ], | ||
62 | ) | ||
63 | |||
64 | cc_binary( | ||
65 | name = "tox_sync", | ||
66 | srcs = ["tox_sync.c"], | ||
67 | deps = [ | ||
68 | ":misc_tools", | ||
69 | "//c-toxcore/toxcore", | ||
70 | ], | ||
71 | ) | ||