summaryrefslogtreecommitdiff
path: root/toxencryptsave/BUILD.bazel
blob: b1f9da0e65150f5c46d05f3c3251d771b1497407 (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
load("//tools:no_undefined.bzl", "cc_library")

filegroup(
    name = "public_headers",
    srcs = ["toxencryptsave.h"],
    visibility = ["//c-toxcore:__pkg__"],
)

cc_library(
    name = "defines",
    hdrs = ["defines.h"],
    visibility = ["//c-toxcore/toxcore:__pkg__"],
)

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

cc_library(
    name = "monolith",
    hdrs = glob([
        "*.c",
        "*.h",
    ]),
    visibility = ["//c-toxcore/other:__pkg__"],
    deps = ["//c-toxcore/toxcore:crypto_core"],
)