30 lines
571 B
Text
30 lines
571 B
Text
|
load(
|
||
|
"//absl:copts.bzl",
|
||
|
"ABSL_DEFAULT_COPTS",
|
||
|
"ABSL_TEST_COPTS",
|
||
|
)
|
||
|
|
||
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["unencumbered"]) # Owned by Google
|
||
|
|
||
|
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",
|
||
|
],
|
||
|
)
|