summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2017-09-25 15:35:12 -0700
committerGravatar katzdm <katzdm@google.com>2017-09-25 18:36:47 -0400
commit2a62fbdedf64673f7c858bc6487bd15bcd2ca180 (patch)
treef77d635ce2247cca963fcb35e8816a1787f0f7eb /absl/base
parentcf6ab6bb2b800fae859ccc735f398d22a7336a00 (diff)
Changes imported from Abseil "staging" branch:
- 76fcc6eebc6a5b5a885f04e1579762573c2bf9bc Fix broken links, and remove old README files from Git. by Daniel Katz <katzdm@google.com> - 174287df7bc7c1832fe4a66d82ee0f61a8788460 Remove "test_dependencies.bzl" file. Not needed. by Daniel Katz <katzdm@google.com> - 4e9416b389e61f5258c3a7fc0f7966f03d9ae086 Fix broken about/intro link in README.md by Abseil Team <absl-team@google.com> - 2a662ff187987246cf8f3c1de83eaa23f1d2c034 Delete extraneous comments. by Abseil Team <absl-team@google.com> - 3bdc2d15af21e0297ccf39c90c0ed51a35900679 Cleanup usage of GUNIT_DEPS_SELECTOR/GUNIT_MAIN_DEPS_SELE... by Gennadiy Rozental <rogeeff@google.com> - bec32fc8efee3ae5b67c07dcae08d74540c944d0 Enable time_test on windows: by Xiaoyi Zhang <zhangxy@google.com> GitOrigin-RevId: 76fcc6eebc6a5b5a885f04e1579762573c2bf9bc Change-Id: I9556164f6b48dae1fa02b2ec6444517faed23e1f
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/BUILD.bazel34
1 files changed, 19 insertions, 15 deletions
diff --git a/absl/base/BUILD.bazel b/absl/base/BUILD.bazel
index 4c1b5095..5f886359 100644
--- a/absl/base/BUILD.bazel
+++ b/absl/base/BUILD.bazel
@@ -20,11 +20,6 @@ load(
"ABSL_TEST_COPTS",
"ABSL_EXCEPTIONS_FLAG",
)
-load(
- "//absl:test_dependencies.bzl",
- "GUNIT_MAIN_DEPS_SELECTOR",
- "GUNIT_MAIN_NO_LEAK_CHECK_DEPS_SELECTOR",
-)
package(default_visibility = ["//visibility:public"])
@@ -176,7 +171,8 @@ cc_test(
deps = [
":base",
":core_headers",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_library(
@@ -200,7 +196,8 @@ cc_test(
copts = ABSL_TEST_COPTS + ABSL_EXCEPTIONS_FLAG,
deps = [
":throw_delegate",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_library(
@@ -221,9 +218,10 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":base_internal",
- "//absl/strings",
"//absl/memory",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "//absl/strings",
+ "@com_google_googletest//:gtest_main",
+ ],
)
# Common test library made available for use in non-absl code that overrides
@@ -278,7 +276,8 @@ cc_test(
":base",
":config",
":endian",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_test(
@@ -287,7 +286,8 @@ cc_test(
copts = ABSL_TEST_COPTS,
deps = [
":config",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_test(
@@ -298,7 +298,8 @@ cc_test(
":base",
":core_headers",
"//absl/synchronization",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_test(
@@ -319,7 +320,8 @@ cc_test(
deps = [
":base",
"//absl/synchronization",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_test(
@@ -347,7 +349,8 @@ cc_test(
":base",
":core_headers",
"//absl/synchronization",
- ] + select(GUNIT_MAIN_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)
cc_test(
@@ -369,5 +372,6 @@ cc_test(
],
deps = [
":malloc_extension",
- ] + select(GUNIT_MAIN_NO_LEAK_CHECK_DEPS_SELECTOR),
+ "@com_google_googletest//:gtest_main",
+ ],
)