Export of internal Abseil changes

--
2dd3b23ea940804de727e396b300cfae4b1b71a1 by Derek Mauro <dmauro@google.com>:

Upgrade to LLVM r366207 and Bazel 0.28.1 for Linux-Clang testing.

PiperOrigin-RevId: 263162761

--
f03ae9e4e9f42c075745d28b4ced78071e73724a by Derek Mauro <dmauro@google.com>:

Remove unneeded dependencies on //absl/base from targets that no
longer depend on it.

PiperOrigin-RevId: 263129193

--
8ec2aab1eea50e7f71a6a687a07e5ae0e0945f5e by Derek Mauro <dmauro@google.com>:

Move raw_logging to a separate target (raw_logging_internal)

PiperOrigin-RevId: 262972007
GitOrigin-RevId: 2dd3b23ea940804de727e396b300cfae4b1b71a1
Change-Id: I3f4580e87797386b0b5e90c8ced74cbf078f61c1
This commit is contained in:
Abseil Team 2019-08-13 10:20:16 -07:00 committed by vslashg
parent 321ab53030
commit d9aa92d7fb
25 changed files with 155 additions and 130 deletions

View file

@ -48,11 +48,19 @@ cc_library(
cc_library(
name = "raw_logging_internal",
srcs = ["internal/raw_logging.cc"],
hdrs = ["internal/raw_logging.h"],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [
"//absl:__subpackages__",
],
deps = [
":atomic_hook",
":config",
":core_headers",
":log_severity",
],
)
cc_library(
@ -137,6 +145,7 @@ cc_library(
":config",
":core_headers",
":dynamic_annotations",
":raw_logging_internal",
":spinlock_wait",
],
)
@ -164,7 +173,6 @@ cc_library(
name = "base",
srcs = [
"internal/cycleclock.cc",
"internal/raw_logging.cc",
"internal/spinlock.cc",
"internal/sysinfo.cc",
"internal/thread_identity.cc",
@ -176,7 +184,6 @@ cc_library(
"internal/cycleclock.h",
"internal/low_level_scheduling.h",
"internal/per_thread_tls.h",
"internal/raw_logging.h",
"internal/spinlock.h",
"internal/sysinfo.h",
"internal/thread_identity.h",
@ -195,6 +202,7 @@ cc_library(
":core_headers",
":dynamic_annotations",
":log_severity",
":raw_logging_internal",
":spinlock_wait",
"//absl/meta:type_traits",
],
@ -238,8 +246,8 @@ cc_library(
"//absl:__subpackages__",
],
deps = [
":base",
":config",
":raw_logging_internal",
],
)
@ -382,6 +390,7 @@ cc_library(
deps = [
":base",
":base_internal",
":raw_logging_internal",
"//absl/synchronization",
"@com_github_google_benchmark//:benchmark_main",
],
@ -455,7 +464,7 @@ cc_test(
copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":base",
":raw_logging_internal",
"//absl/strings",
"@com_google_googletest//:gtest_main",
],
@ -543,7 +552,7 @@ cc_library(
visibility = [
"//absl:__subpackages__",
],
deps = [":base"],
deps = [":raw_logging_internal"],
)
cc_test(
@ -565,7 +574,6 @@ cc_test(
copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":base",
":log_severity",
"@com_google_googletest//:gtest_main",
],

View file

@ -39,6 +39,15 @@ absl_cc_library(
absl_cc_library(
NAME
raw_logging_internal
HDRS
"internal/raw_logging.h"
SRCS
"internal/raw_logging.cc"
DEPS
absl::atomic_hook
absl::config
absl::core_headers
absl::log_severity
COPTS
${ABSL_DEFAULT_COPTS}
)
@ -119,6 +128,7 @@ absl_cc_library(
absl::config
absl::core_headers
absl::dynamic_annotations
absl::raw_logging_internal
absl::spinlock_wait
Threads::Threads
)
@ -146,7 +156,6 @@ absl_cc_library(
"internal/cycleclock.h"
"internal/low_level_scheduling.h"
"internal/per_thread_tls.h"
"internal/raw_logging.h"
"internal/spinlock.h"
"internal/sysinfo.h"
"internal/thread_identity.h"
@ -155,7 +164,6 @@ absl_cc_library(
"log_severity.h"
SRCS
"internal/cycleclock.cc"
"internal/raw_logging.cc"
"internal/spinlock.cc"
"internal/sysinfo.cc"
"internal/thread_identity.cc"
@ -170,6 +178,7 @@ absl_cc_library(
absl::core_headers
absl::dynamic_annotations
absl::log_severity
absl::raw_logging_internal
absl::spinlock_wait
absl::type_traits
Threads::Threads
@ -187,7 +196,8 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
${ABSL_EXCEPTIONS_FLAG}
DEPS
absl::base
absl::config
absl::raw_logging_internal
)
absl_cc_library(
@ -415,7 +425,7 @@ absl_cc_test(
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::base
absl::raw_logging_internal
absl::strings
gtest_main
)
@ -493,7 +503,7 @@ absl_cc_library(
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::base
absl::raw_logging_internal
)
absl_cc_test(
@ -525,7 +535,6 @@ absl_cc_test(
SRCS
"log_severity_test.cc"
DEPS
absl::base
absl::log_severity
gmock
gtest_main

View file

@ -166,9 +166,9 @@ cc_test(
":counting_allocator",
":inlined_vector",
":test_instance_tracker",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:exception_testing",
"//absl/base:raw_logging_internal",
"//absl/hash:hash_testing",
"//absl/memory",
"//absl/strings",
@ -185,9 +185,9 @@ cc_test(
":counting_allocator",
":inlined_vector",
":test_instance_tracker",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:exception_testing",
"//absl/base:raw_logging_internal",
"//absl/hash:hash_testing",
"//absl/memory",
"//absl/strings",
@ -203,8 +203,8 @@ cc_test(
tags = ["benchmark"],
deps = [
":inlined_vector",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/strings",
"@com_github_google_benchmark//:benchmark_main",
],
@ -635,6 +635,7 @@ cc_test(
":raw_hash_set",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/strings",
"@com_google_googletest//:gtest_main",
],
@ -678,8 +679,8 @@ cc_test(
visibility = ["//visibility:private"],
deps = [
":layout",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/types:span",
"@com_google_googletest//:gtest_main",
],
@ -884,7 +885,7 @@ cc_test(
":btree_test_common",
":counting_allocator",
":test_instance_tracker",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/flags:flag",
"//absl/hash:hash_testing",
"//absl/memory",

View file

@ -72,13 +72,13 @@ absl_cc_test(
SRCS
"btree_test.cc"
DEPS
absl::base
absl::btree
absl::btree_test_common
absl::compare
absl::counting_allocator
absl::flags
absl::hash_testing
absl::raw_logging_internal
absl::strings
absl::test_instance_tracker
absl::type_traits
@ -235,11 +235,11 @@ absl_cc_test(
absl::counting_allocator
absl::inlined_vector
absl::test_instance_tracker
absl::base
absl::core_headers
absl::exception_testing
absl::hash_testing
absl::memory
absl::raw_logging_internal
absl::strings
gmock_main
)
@ -254,11 +254,11 @@ absl_cc_test(
DEPS
absl::inlined_vector
absl::test_instance_tracker
absl::base
absl::core_headers
absl::exception_testing
absl::hash_testing
absl::memory
absl::raw_logging_internal
absl::strings
gmock_main
)
@ -715,6 +715,7 @@ absl_cc_test(
absl::raw_hash_set
absl::base
absl::core_headers
absl::raw_logging_internal
absl::strings
gmock_main
)
@ -758,8 +759,8 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::layout
absl::base
absl::core_headers
absl::raw_logging_internal
absl::span
gmock_main
)

View file

@ -37,7 +37,6 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":debugging_internal",
"//absl/base",
"//absl/base:core_headers",
],
)
@ -63,6 +62,7 @@ cc_library(
"//absl/base:core_headers",
"//absl/base:dynamic_annotations",
"//absl/base:malloc_internal",
"//absl/base:raw_logging_internal",
],
)
@ -76,6 +76,7 @@ cc_test(
":symbolize",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/memory",
"@com_google_googletest//:gtest",
],
@ -95,8 +96,8 @@ cc_library(
deps = [
":stacktrace",
":symbolize",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
],
)
@ -112,6 +113,7 @@ cc_library(
"//absl/base",
"//absl/base:config",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
],
)
@ -127,7 +129,7 @@ cc_test(
":failure_signal_handler",
":stacktrace",
":symbolize",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/strings",
"@com_google_googletest//:gtest",
],
@ -156,9 +158,9 @@ cc_library(
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base",
"//absl/base:core_headers",
"//absl/base:dynamic_annotations",
"//absl/base:raw_logging_internal",
],
)
@ -181,8 +183,8 @@ cc_test(
deps = [
":demangle_internal",
":stack_consumption",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/memory",
"@com_google_googletest//:gtest_main",
],
@ -292,8 +294,8 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = ["//visibility:private"],
deps = [
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
],
)
@ -304,8 +306,8 @@ cc_test(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":stack_consumption",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"@com_google_googletest//:gtest_main",
],
)

View file

@ -25,7 +25,6 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
DEPS
absl::debugging_internal
absl::base
absl::core_headers
PUBLIC
)
@ -52,6 +51,7 @@ absl_cc_library(
absl::core_headers
absl::dynamic_annotations
absl::malloc_internal
absl::raw_logging_internal
PUBLIC
)
@ -68,6 +68,7 @@ absl_cc_test(
absl::base
absl::core_headers
absl::memory
absl::raw_logging_internal
gmock
)
@ -83,8 +84,8 @@ absl_cc_library(
DEPS
absl::stacktrace
absl::symbolize
absl::base
absl::core_headers
absl::raw_logging_internal
)
absl_cc_library(
@ -102,6 +103,7 @@ absl_cc_library(
absl::base
absl::config
absl::core_headers
absl::raw_logging_internal
PUBLIC
)
@ -116,8 +118,8 @@ absl_cc_test(
absl::failure_signal_handler
absl::stacktrace
absl::symbolize
absl::base
absl::strings
absl::raw_logging_internal
Threads::Threads
gmock
)
@ -144,9 +146,9 @@ absl_cc_library(
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::base
absl::core_headers
absl::dynamic_annotations
absl::raw_logging_internal
)
absl_cc_library(
@ -174,9 +176,9 @@ absl_cc_test(
DEPS
absl::demangle_internal
absl::stack_consumption
absl::base
absl::core_headers
absl::memory
absl::raw_logging_internal
gmock_main
)
@ -273,6 +275,7 @@ absl_cc_test(
absl::leak_check_api_enabled_for_testing
absl::leak_check_disable
absl::base
absl::raw_logging_internal
gmock_main
)
@ -286,8 +289,8 @@ absl_cc_library(
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::base
absl::core_headers
absl::raw_logging_internal
TESTONLY
)
@ -300,8 +303,8 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::stack_consumption
absl::base
absl::core_headers
absl::raw_logging_internal
gmock_main
)

View file

@ -97,8 +97,8 @@ cc_library(
deps = [
":config",
":marshalling",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/strings",
"//absl/synchronization",
"//absl/types:optional",
@ -123,9 +123,9 @@ cc_library(
deps = [
":config",
":handle",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:dynamic_annotations",
"//absl/base:raw_logging_internal",
"//absl/strings",
"//absl/synchronization",
],
@ -306,7 +306,7 @@ cc_test(
deps = [
":flag",
":parse",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/base:scoped_set_env",
"//absl/strings",
"//absl/types:span",

View file

@ -84,11 +84,11 @@ absl_cc_library(
DEPS
absl::flags_config
absl::flags_marshalling
absl::base
absl::core_headers
absl::optional
absl::raw_logging_internal
absl::strings
absl::synchronization
absl::optional
)
# Internal-only target, do not depend on directly.
@ -108,9 +108,9 @@ absl_cc_library(
DEPS
absl::flags_config
absl::flags_handle
absl::base
absl::core_headers
absl::dynamic_annotations
absl::raw_logging_internal
absl::strings
absl::synchronization
)
@ -265,8 +265,8 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::flags
absl::base
absl::flags_parse
absl::raw_logging_internal
absl::scoped_set_env
absl::span
absl::strings

View file

@ -45,7 +45,6 @@ cc_test(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":memory",
"//absl/base",
"//absl/base:core_headers",
"@com_google_googletest//:gtest_main",
],

View file

@ -36,7 +36,6 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::memory
absl::base
absl::core_headers
gmock_main
)

View file

@ -119,7 +119,7 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -168,8 +168,8 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -189,7 +189,7 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -214,8 +214,8 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/container:flat_hash_map",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
@ -234,8 +234,8 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -256,8 +256,8 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -278,7 +278,7 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -302,7 +302,7 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",
@ -321,7 +321,7 @@ cc_test(
deps = [
":distributions",
":random",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/random/internal:distribution_test_util",
"//absl/random/internal:sequence_urbg",
"//absl/strings",

View file

@ -137,9 +137,9 @@ absl_cc_test(
DEPS
absl::random_distributions
absl::random_random
absl::base
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::raw_logging_internal
absl::strings
absl::str_format
gmock
@ -174,6 +174,7 @@ absl_cc_test(
${ABSL_DEFAULT_LINKOPTS}
absl::random_distributions
absl::random_random
absl::raw_logging_internal
gmock
gtest_main
)
@ -187,12 +188,12 @@ absl_cc_test(
${ABSL_TEST_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
absl::base
absl::core_headers
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::random_random
absl::raw_logging_internal
absl::strings
absl::str_format
gmock
@ -209,11 +210,11 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::random_random
absl::raw_logging_internal
absl::strings
gmock
gtest_main
@ -231,11 +232,11 @@ absl_cc_test(
DEPS
absl::random_distributions
absl::random_random
absl::base
absl::core_headers
absl::flat_hash_map
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::raw_logging_internal
absl::strings
absl::str_format
gmock
@ -252,12 +253,12 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::core_headers
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::random_random
absl::raw_logging_internal
absl::strings
absl::str_format
gmock
@ -274,12 +275,12 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::core_headers
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::random_random
absl::raw_logging_internal
absl::strings
absl::str_format
gmock
@ -296,11 +297,11 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::random_random
absl::raw_logging_internal
absl::strings
gmock
gtest_main
@ -316,7 +317,6 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
@ -336,11 +336,11 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::random_distributions
absl::random_internal_distribution_test_util
absl::random_internal_sequence_urbg
absl::random_random
absl::raw_logging_internal
absl::strings
gmock
gtest_main
@ -449,10 +449,10 @@ absl_cc_library(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::core_headers
absl::optional
absl::random_internal_fast_uniform_bits
absl::raw_logging_internal
absl::span
absl::strings
)
@ -478,6 +478,7 @@ absl_cc_library(
absl::random_internal_seed_material
absl::random_internal_traits
absl::random_seed_gen_exception
absl::raw_logging_internal
absl::span
)
@ -624,6 +625,7 @@ absl_cc_library(
DEPS
absl::random_internal_iostream_state_saver
absl::random_internal_randen
absl::raw_logging_internal
absl::type_traits
)
@ -654,7 +656,6 @@ absl_cc_library(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::random_internal_platform
absl::random_internal_randen_hwaes
absl::random_internal_randen_slow
@ -726,8 +727,8 @@ absl_cc_library(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::core_headers
absl::raw_logging_internal
absl::strings
absl::str_format
absl::span
@ -941,9 +942,9 @@ absl_cc_test(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
absl::base
absl::random_internal_explicit_seed_seq
absl::random_internal_randen_engine
absl::raw_logging_internal
absl::strings
absl::time
gmock
@ -995,7 +996,7 @@ absl_cc_test(
absl::random_internal_platform
absl::random_internal_randen_hwaes
absl::random_internal_randen_hwaes_impl
absl::base
absl::raw_logging_internal
absl::str_format
gmock
gtest

View file

@ -78,8 +78,8 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":fast_uniform_bits",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/strings",
"//absl/types:optional",
"//absl/types:span",
@ -107,6 +107,7 @@ cc_library(
"//absl/base:config",
"//absl/base:core_headers",
"//absl/base:endian",
"//absl/base:raw_logging_internal",
"//absl/random:seed_gen_exception",
"//absl/types:span",
],
@ -255,7 +256,7 @@ cc_library(
":platform",
":randen_hwaes",
":randen_slow",
"//absl/base",
"//absl/base:raw_logging_internal",
],
)
@ -334,8 +335,8 @@ cc_library(
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/strings",
"//absl/strings:str_format",
"//absl/types:span",
@ -531,7 +532,7 @@ cc_test(
deps = [
":explicit_seed_seq",
":randen_engine",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/strings",
"//absl/time",
"@com_google_googletest//:gtest_main",
@ -574,7 +575,7 @@ cc_test(
":platform",
":randen_hwaes",
":randen_hwaes_impl", # build_cleaner: keep
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/strings:str_format",
"@com_google_googletest//:gtest",
],
@ -588,7 +589,7 @@ cc_library(
deps = [
":platform",
":randen_engine",
"//absl/base",
"//absl/base:raw_logging_internal",
],
)
@ -620,7 +621,7 @@ cc_test(
],
deps = [
":nanobenchmark",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/strings",
],
)
@ -641,7 +642,7 @@ cc_test(
":randen_hwaes",
":randen_hwaes_impl",
":randen_slow",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/strings",
],
)

View file

@ -73,6 +73,7 @@ cc_library(
"//absl/base:config",
"//absl/base:core_headers",
"//absl/base:endian",
"//absl/base:raw_logging_internal",
"//absl/base:throw_delegate",
"//absl/memory",
"//absl/meta:type_traits",
@ -140,7 +141,7 @@ cc_test(
visibility = ["//visibility:private"],
deps = [
":strings",
"//absl/base",
"//absl/base:raw_logging_internal",
"@com_github_google_benchmark//:benchmark_main",
],
)
@ -225,8 +226,8 @@ cc_test(
visibility = ["//visibility:private"],
deps = [
":strings",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"@com_github_google_benchmark//:benchmark_main",
],
)
@ -268,7 +269,7 @@ cc_test(
visibility = ["//visibility:private"],
deps = [
":strings",
"//absl/base",
"//absl/base:raw_logging_internal",
"@com_github_google_benchmark//:benchmark_main",
],
)
@ -306,7 +307,7 @@ cc_test(
visibility = ["//visibility:private"],
deps = [
":strings",
"//absl/base",
"//absl/base:raw_logging_internal",
"@com_github_google_benchmark//:benchmark_main",
],
)
@ -414,8 +415,8 @@ cc_test(
deps = [
":pow10_helper",
":strings",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"@com_google_googletest//:gtest_main",
],
)
@ -428,7 +429,7 @@ cc_test(
visibility = ["//visibility:private"],
deps = [
":strings",
"//absl/base",
"//absl/base:raw_logging_internal",
"@com_github_google_benchmark//:benchmark_main",
],
)
@ -474,7 +475,6 @@ cc_test(
":pow10_helper",
":str_format",
":strings",
"//absl/base",
"@com_google_googletest//:gtest_main",
],
)
@ -488,7 +488,7 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":strings",
"//absl/base",
"//absl/base:raw_logging_internal",
"@com_google_googletest//:gtest_main",
],
)
@ -503,7 +503,6 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":strings",
"//absl/base",
"@com_google_googletest//:gtest_main",
],
)
@ -518,7 +517,6 @@ cc_test(
],
deps = [
":strings",
"//absl/base",
"@com_github_google_benchmark//:benchmark_main",
],
)

View file

@ -59,10 +59,11 @@ absl_cc_library(
absl::config
absl::core_headers
absl::endian
absl::throw_delegate
absl::memory
absl::type_traits
absl::int128
absl::memory
absl::raw_logging_internal
absl::throw_delegate
absl::type_traits
PUBLIC
)
@ -276,9 +277,9 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::strings
absl::base
absl::core_headers
absl::pow10_helper
absl::raw_logging_internal
gmock_main
)
@ -317,7 +318,6 @@ absl_cc_test(
DEPS
absl::strings
absl::str_format
absl::base
absl::pow10_helper
gmock_main
)
@ -332,7 +332,7 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::strings
absl::base
absl::raw_logging_internal
gmock_main
)
@ -347,7 +347,6 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::strings
absl::base
gmock_main
)

View file

@ -44,6 +44,7 @@ cc_library(
"//absl/base:base_internal",
"//absl/base:core_headers",
"//absl/base:malloc_internal",
"//absl/base:raw_logging_internal",
],
)
@ -84,6 +85,7 @@ cc_library(
"//absl/base:core_headers",
"//absl/base:dynamic_annotations",
"//absl/base:malloc_internal",
"//absl/base:raw_logging_internal",
"//absl/debugging:stacktrace",
"//absl/debugging:symbolize",
"//absl/time",
@ -124,8 +126,8 @@ cc_test(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":graphcycles_internal",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"@com_google_googletest//:gtest_main",
],
)
@ -140,7 +142,7 @@ cc_test(
],
deps = [
":graphcycles_internal",
"//absl/base",
"//absl/base:raw_logging_internal",
"@com_github_google_benchmark//:benchmark_main",
],
)
@ -171,6 +173,7 @@ cc_test(
":thread_pool",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/memory",
"//absl/time",
"@com_google_googletest//:gtest_main",
@ -243,7 +246,6 @@ cc_test(
deps = [
":per_thread_sem_test_common",
":synchronization",
"//absl/base",
"//absl/strings",
"//absl/time",
"@com_google_googletest//:gtest_main",
@ -260,7 +262,7 @@ cc_test(
tags = ["no_test_ios_x86_64"],
deps = [
":synchronization",
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
],
)

View file

@ -28,6 +28,7 @@ absl_cc_library(
absl::base_internal
absl::core_headers
absl::malloc_internal
absl::raw_logging_internal
)
absl_cc_library(
@ -62,6 +63,7 @@ absl_cc_library(
absl::core_headers
absl::dynamic_annotations
absl::malloc_internal
absl::raw_logging_internal
absl::stacktrace
absl::symbolize
absl::time
@ -104,8 +106,8 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::graphcycles_internal
absl::base
absl::core_headers
absl::raw_logging_internal
gmock_main
)
@ -135,6 +137,7 @@ absl_cc_test(
absl::base
absl::core_headers
absl::memory
absl::raw_logging_internal
absl::time
gmock_main
)
@ -178,7 +181,6 @@ absl_cc_test(
DEPS
absl::per_thread_sem_test_common
absl::synchronization
absl::base
absl::strings
absl::time
gmock_main
@ -193,6 +195,6 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::synchronization
absl::base
absl::core_headers
absl::raw_logging_internal
)

View file

@ -46,6 +46,7 @@ cc_library(
deps = [
"//absl/base",
"//absl/base:core_headers",
"//absl/base:raw_logging_internal",
"//absl/numeric:int128",
"//absl/strings",
"//absl/time/internal/cctz:civil_time",
@ -68,7 +69,7 @@ cc_library(
],
deps = [
":time",
"//absl/base",
"//absl/base:raw_logging_internal",
"//absl/time/internal/cctz:time_zone",
"@com_google_googletest//:gtest",
],
@ -89,7 +90,6 @@ cc_test(
deps = [
":test_util",
":time",
"//absl/base",
"//absl/base:config",
"//absl/base:core_headers",
"//absl/time/internal/cctz:time_zone",

View file

@ -22,21 +22,22 @@ absl_cc_library(
"clock.h"
"time.h"
SRCS
"civil_time.cc"
"clock.cc"
"duration.cc"
"format.cc"
"internal/get_current_time_chrono.inc"
"internal/get_current_time_posix.inc"
"time.cc"
"civil_time.cc"
"clock.cc"
"duration.cc"
"format.cc"
"internal/get_current_time_chrono.inc"
"internal/get_current_time_posix.inc"
"time.cc"
COPTS
${ABSL_DEFAULT_COPTS}
DEPS
absl::base
absl::civil_time
absl::core_headers
absl::int128
absl::raw_logging_internal
absl::strings
absl::civil_time
absl::time_zone
PUBLIC
)
@ -88,7 +89,7 @@ absl_cc_library(
absl_cc_library(
NAME
test_util
time_internal_test_util
HDRS
"internal/test_util.h"
SRCS
@ -98,7 +99,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
DEPS
absl::time
absl::base
absl::raw_logging_internal
absl::time_zone
gmock
TESTONLY
@ -117,9 +118,8 @@ absl_cc_test(
COPTS
${ABSL_TEST_COPTS}
DEPS
absl::test_util
absl::time_internal_test_util
absl::time
absl::base
absl::config
absl::core_headers
absl::time_zone

View file

@ -62,8 +62,8 @@ cc_library(
linkopts = ABSL_EXCEPTIONS_FLAG_LINKOPTS + ABSL_DEFAULT_LINKOPTS,
visibility = ["//visibility:private"],
deps = [
"//absl/base",
"//absl/base:config",
"//absl/base:raw_logging_internal",
],
)
@ -77,9 +77,9 @@ cc_test(
linkopts = ABSL_EXCEPTIONS_FLAG_LINKOPTS + ABSL_DEFAULT_LINKOPTS,
deps = [
":any",
"//absl/base",
"//absl/base:config",
"//absl/base:exception_testing",
"//absl/base:raw_logging_internal",
"//absl/container:test_instance_tracker",
"@com_google_googletest//:gtest_main",
],
@ -95,9 +95,9 @@ cc_test(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":any",
"//absl/base",
"//absl/base:config",
"//absl/base:exception_testing",
"//absl/base:raw_logging_internal",
"//absl/container:test_instance_tracker",
"@com_google_googletest//:gtest_main",
],
@ -195,8 +195,8 @@ cc_library(
copts = ABSL_DEFAULT_COPTS + ABSL_EXCEPTIONS_FLAG,
linkopts = ABSL_EXCEPTIONS_FLAG_LINKOPTS + ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base",
"//absl/base:config",
"//absl/base:raw_logging_internal",
],
)
@ -207,8 +207,8 @@ cc_library(
copts = ABSL_EXCEPTIONS_FLAG + ABSL_DEFAULT_COPTS,
linkopts = ABSL_EXCEPTIONS_FLAG_LINKOPTS + ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base",
"//absl/base:config",
"//absl/base:raw_logging_internal",
],
)
@ -222,8 +222,8 @@ cc_test(
linkopts = ABSL_EXCEPTIONS_FLAG_LINKOPTS + ABSL_DEFAULT_LINKOPTS,
deps = [
":optional",
"//absl/base",
"//absl/base:config",
"//absl/base:raw_logging_internal",
"//absl/meta:type_traits",
"//absl/strings",
"@com_google_googletest//:gtest_main",

View file

@ -54,8 +54,8 @@ absl_cc_library(
LINKOPTS
${ABSL_EXCEPTIONS_FLAG_LINKOPTS}
DEPS
absl::base
absl::config
absl::raw_logging_internal
)
absl_cc_test(
@ -70,9 +70,9 @@ absl_cc_test(
${ABSL_EXCEPTIONS_FLAG_LINKOPTS}
DEPS
absl::any
absl::base
absl::config
absl::exception_testing
absl::raw_logging_internal
absl::test_instance_tracker
gmock_main
)
@ -86,9 +86,9 @@ absl_cc_test(
${ABSL_TEST_COPTS}
DEPS
absl::any
absl::base
absl::config
absl::exception_testing
absl::raw_logging_internal
absl::test_instance_tracker
gmock_main
)
@ -202,8 +202,8 @@ absl_cc_library(
LINKOPTS
${ABSL_EXCEPTIONS_FLAG_LINKOPTS}
DEPS
absl::base
absl::config
absl::raw_logging_internal
PUBLIC
)
@ -220,8 +220,8 @@ absl_cc_library(
LINKOPTS
${ABSL_EXCEPTIONS_FLAG_LINKOPTS}
DEPS
absl::base
absl::config
absl::raw_logging_internal
PUBLIC
)
@ -237,10 +237,10 @@ absl_cc_test(
${ABSL_EXCEPTIONS_FLAG_LINKOPTS}
DEPS
absl::optional
absl::base
absl::config
absl::type_traits
absl::raw_logging_internal
absl::strings
absl::type_traits
gmock_main
)

View file

@ -32,7 +32,7 @@ if [ -z ${COMPILATION_MODE:-} ]; then
COMPILATION_MODE="fastbuild opt"
fi
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190701"
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190813"
# USE_BAZEL_CACHE=1 only works on Kokoro.
# Without access to the credentials this won't work.

View file

@ -32,7 +32,7 @@ if [ -z ${COMPILATION_MODE:-} ]; then
COMPILATION_MODE="fastbuild opt"
fi
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190701"
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190813"
# USE_BAZEL_CACHE=1 only works on Kokoro.
# Without access to the credentials this won't work.

View file

@ -32,7 +32,7 @@ if [ -z ${COMPILATION_MODE:-} ]; then
COMPILATION_MODE="fastbuild opt"
fi
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190701"
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190813"
# USE_BAZEL_CACHE=1 only works on Kokoro.
# Without access to the credentials this won't work.

View file

@ -32,7 +32,7 @@ if [ -z ${COMPILATION_MODE:-} ]; then
COMPILATION_MODE="fastbuild opt"
fi
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190701"
readonly DOCKER_CONTAINER="gcr.io/google.com/absl-177019/linux_clang-latest:20190813"
# USE_BAZEL_CACHE=1 only works on Kokoro.
# Without access to the credentials this won't work.