summaryrefslogtreecommitdiff
path: root/toxav/BUILD
blob: 43e7e0fce6c6ae199195f1e46e6cd517fc207cf6 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
filegroup(
    name = "public",
    srcs = ["toxav.h"],
    visibility = ["//visibility:public"],
)

cc_library(
    name = "toxav",
    srcs = [
        "audio.c",
        "bwcontroller.c",
        "groupav.c",
        "msi.c",
        "ring_buffer.c",
        "rtp.c",
        "toxav.c",
        "toxav_old.c",
        "video.c",
    ],
    hdrs = [
        "audio.h",
        "bwcontroller.h",
        "groupav.h",
        "msi.h",
        "ring_buffer.h",
        "rtp.h",
        "toxav.api.h",
        "toxav.h",
        "video.h",
    ],
    copts = [
        "-std=c99",
    ],
    visibility = ["//visibility:public"],
    deps = [
        "//c-toxcore/toxcore",
        "@libvpx",
        "@opus",
    ],
)

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