summaryrefslogtreecommitdiff
path: root/absl/meta/BUILD.bazel
blob: dbc9717ddd33c2fa44a6afb00fbb7dd1a9578b88 (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
load(
    "//absl:copts.bzl",
    "ABSL_DEFAULT_COPTS",
    "ABSL_TEST_COPTS",
)

package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

cc_library(
    name = "type_traits",
    hdrs = ["type_traits.h"],
    copts = ABSL_DEFAULT_COPTS,
    deps = [
        "//absl/base:config",
    ],
)

cc_test(
    name = "type_traits_test",
    srcs = ["type_traits_test.cc"],
    copts = ABSL_TEST_COPTS,
    deps = [
        ":type_traits",
        "//absl/base:core_headers",
        "@com_google_googletest//:gtest_main",
    ],
)