about summary refs log blame commit diff
path: root/absl/meta/BUILD.bazel
blob: 8db8dd6b1581a3dc0e03d95ff572f6c648118f3f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                       
     
                                       
                         
                            




                                                     
                                  




                               
                                     








                                   
                                     

                       


                                              
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load(
    "//absl:copts/configure_copts.bzl",
    "ABSL_DEFAULT_COPTS",
    "ABSL_DEFAULT_LINKOPTS",
    "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,
    linkopts = ABSL_DEFAULT_LINKOPTS,
    deps = [
        "//absl/base:config",
    ],
)

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