summaryrefslogtreecommitdiff
path: root/testing/BUILD.bazel
blob: 2c26350fb5e6010a6862ba6e9d1cc94797056331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
load("//tools:no_undefined.bzl", "cc_library")

cc_library(
    name = "misc_tools",
    srcs = ["misc_tools.c"],
    hdrs = ["misc_tools.h"],
    visibility = ["//c-toxcore:__subpackages__"],
    deps = ["//c-toxcore/toxcore"],
)

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 = "random_testing",
    srcs = ["random_testing.cc"],
    deps = [
        ":misc_tools",
        "//c-toxcore/toxcore",
    ],
)