cf1db73d2a
- 0320844dcd8219965647f86db7c6c7296e40e41e Introduce internal macros for inline variable emulation s... by Matt Calabrese <calabrese@google.com> - 85197d0105805e6aab3a0a648351cb1582a61be0 Internal change. by Alex Strelnikov <strel@google.com> GitOrigin-RevId: 0320844dcd8219965647f86db7c6c7296e40e41e Change-Id: I7dce37f6839ff099462951059a9047c5c9377638
33 lines
663 B
Text
33 lines
663 B
Text
load(
|
|
"//absl:copts.bzl",
|
|
"ABSL_DEFAULT_COPTS",
|
|
"ABSL_TEST_COPTS",
|
|
)
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
cc_library(
|
|
name = "utility",
|
|
hdrs = ["utility.h"],
|
|
copts = ABSL_DEFAULT_COPTS,
|
|
deps = [
|
|
"//absl/base:base_internal",
|
|
"//absl/base:config",
|
|
"//absl/meta:type_traits",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "utility_test",
|
|
srcs = ["utility_test.cc"],
|
|
copts = ABSL_TEST_COPTS,
|
|
deps = [
|
|
":utility",
|
|
"//absl/base:core_headers",
|
|
"//absl/memory",
|
|
"//absl/strings",
|
|
"@com_google_googletest//:gtest_main",
|
|
],
|
|
)
|