Abseil Common Libraries (C++) (grcp 依赖)
https://abseil.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
576 B
29 lines
576 B
load( |
|
"//absl:copts/configure_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", |
|
], |
|
)
|
|
|