Export of internal Abseil changes.
-- a2adbf75201f6b7feba929f77dfc4f87f9c1110b by Abseil Team <absl-team@google.com>: This change allows for capturing the address of the mutex from which a call to `Block(...)` could be introducing latency. The attribute is a no-op if the application is not being built with XRay instrumentation. See http://llvm.org/docs/XRay.html for more information about XRay. PiperOrigin-RevId: 225752598 -- 6bc7f25573ddc6711f484dfacab9459f45e0bf42 by Abseil Team <absl-team@google.com>: Update absl/utility/CMakeLists.txt to use new functions i.e. absl_cc_(library|test) PiperOrigin-RevId: 225651883 -- 4acde5e72032f31a26a1ffa53a28f35dbb0bd7d3 by Abseil Team <absl-team@google.com>: Update absl/types/CMakeLists.txt to use new functions i.e. absl_cc_(library|test) PiperOrigin-RevId: 225584788 -- fe2c740d64b17cece25eee4e5d2196a7c059d3e9 by Abseil Team <absl-team@google.com>: Update auto-generated build options files. PiperOrigin-RevId: 225557283 -- cd779dddceeee191ee82deb6b9030c4db288e758 by Jon Cohen <cohenjon@google.com>: Internal change. PiperOrigin-RevId: 225556657 -- 3d56dd132d845930c3fb520a39ee77ecb2430bd2 by Matt Kulukundis <kfm@google.com>: Internal cleanup PiperOrigin-RevId: 225488946 GitOrigin-RevId: a2adbf75201f6b7feba929f77dfc4f87f9c1110b Change-Id: I1b2178e053bdebc8cf3dcb017b0e247619b81a0c
This commit is contained in:
parent
389ec3f906
commit
111ca7060a
13 changed files with 381 additions and 258 deletions
|
|
@ -14,39 +14,31 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
|
||||
list(APPEND UTILITY_PUBLIC_HEADERS
|
||||
"utility.h"
|
||||
)
|
||||
|
||||
absl_header_library(
|
||||
TARGET
|
||||
absl_utility
|
||||
PUBLIC_LIBRARIES
|
||||
absl::base
|
||||
EXPORT_NAME
|
||||
absl_cc_library(
|
||||
NAME
|
||||
utility
|
||||
HDRS
|
||||
"utility.h"
|
||||
COPTS
|
||||
${ABSL_DEFAULT_COPTS}
|
||||
DEPS
|
||||
absl::base_internal
|
||||
absl::config
|
||||
absl::type_traits
|
||||
PUBLIC
|
||||
)
|
||||
|
||||
|
||||
#
|
||||
## TESTS
|
||||
#
|
||||
|
||||
# test utility_test
|
||||
set(UTILITY_TEST_SRC "utility_test.cc")
|
||||
set(UTILITY_TEST_PUBLIC_LIBRARIES
|
||||
absl::base
|
||||
absl::memory
|
||||
absl::strings
|
||||
absl::utility
|
||||
)
|
||||
|
||||
absl_test(
|
||||
TARGET
|
||||
absl_cc_test(
|
||||
NAME
|
||||
utility_test
|
||||
SOURCES
|
||||
${UTILITY_TEST_SRC}
|
||||
PUBLIC_LIBRARIES
|
||||
${UTILITY_TEST_PUBLIC_LIBRARIES}
|
||||
SRCS
|
||||
"utility_test.cc"
|
||||
COPTS
|
||||
${ABSL_TEST_COPTS}
|
||||
DEPS
|
||||
absl::utility
|
||||
absl::core_headers
|
||||
absl::memory
|
||||
absl::strings
|
||||
gmock_main
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue