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