summaryrefslogtreecommitdiff
path: root/asl/BUILD.bazel
blob: 5137c8f558486f895cf2a1d0be3f3c4fa4b842a8 (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
cc_library(
    name = "asl",
    hdrs = [
        "annotations.hpp",
        "assert.hpp",
        "format.hpp",
        "integers.hpp",
        "layout.hpp",
        "maybe_uninit.hpp",
        "memory.hpp",
        "meta.hpp",
        "option.hpp",
        "utility.hpp",
    ],
    srcs = [
        "format.cpp",
    ],
    visibility = ["//visibility:public"],
)

[cc_test(
    name = "%s_tests" % name,
    srcs = [
        "%s_tests.cpp" % name,
        "test_types.hpp",
    ],
    deps = [
        ":asl",
    ],
) for name in [
    "format",
    "integers",
    "maybe_uninit",
    "meta",
    "option",
    "utility",
]]