summaryrefslogtreecommitdiff
path: root/abseil-cpp/absl/memory/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'abseil-cpp/absl/memory/BUILD.bazel')
-rw-r--r--abseil-cpp/absl/memory/BUILD.bazel19
1 files changed, 3 insertions, 16 deletions
diff --git a/abseil-cpp/absl/memory/BUILD.bazel b/abseil-cpp/absl/memory/BUILD.bazel
index d2824a0..a93f54a 100644
--- a/abseil-cpp/absl/memory/BUILD.bazel
+++ b/abseil-cpp/absl/memory/BUILD.bazel
@@ -14,7 +14,6 @@
# limitations under the License.
#
-load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load(
"//absl:copts/configure_copts.bzl",
"ABSL_DEFAULT_COPTS",
@@ -30,6 +29,9 @@ cc_library(
name = "memory",
hdrs = ["memory.h"],
copts = ABSL_DEFAULT_COPTS,
+ defines = select({
+ "//conditions:default": [],
+ }),
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base:core_headers",
@@ -48,18 +50,3 @@ cc_test(
"@com_google_googletest//:gtest_main",
],
)
-
-cc_test(
- name = "memory_exception_safety_test",
- srcs = [
- "memory_exception_safety_test.cc",
- ],
- copts = ABSL_TEST_COPTS,
- linkopts = ABSL_DEFAULT_LINKOPTS,
- deps = [
- ":memory",
- "//absl/base:config",
- "//absl/base:exception_safety_testing",
- "@com_google_googletest//:gtest_main",
- ],
-)