xref: /freebsd/contrib/libcbor/examples/bazel/third_party/libcbor.BUILD (revision 5d3e7166f6a0187fa3f8831b16a06bd9955c21ff)
1*5d3e7166SEd Mastecc_library(
2*5d3e7166SEd Maste    name = "cbor",
3*5d3e7166SEd Maste    srcs = glob([
4*5d3e7166SEd Maste        "src/**/*.h",
5*5d3e7166SEd Maste        "src/**/*.c",
6*5d3e7166SEd Maste    ]),
7*5d3e7166SEd Maste    hdrs = [
8*5d3e7166SEd Maste        "cbor.h",
9*5d3e7166SEd Maste    ] + glob([
10*5d3e7166SEd Maste        "cbor/*.h",
11*5d3e7166SEd Maste    ]),
12*5d3e7166SEd Maste    includes = [
13*5d3e7166SEd Maste        "src",
14*5d3e7166SEd Maste        "src/cbor",
15*5d3e7166SEd Maste        "src/cbor/internal",
16*5d3e7166SEd Maste    ],
17*5d3e7166SEd Maste    visibility = ["//visibility:public"],
18*5d3e7166SEd Maste    deps = [
19*5d3e7166SEd Maste        "@libcbor_bazel_example//third_party/libcbor:config",
20*5d3e7166SEd Maste    ],
21*5d3e7166SEd Maste)
22