about summary refs log tree commit diff
path: root/third_party/abseil_cpp/absl/status/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil_cpp/absl/status/CMakeLists.txt')
-rw-r--r--third_party/abseil_cpp/absl/status/CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/abseil_cpp/absl/status/CMakeLists.txt b/third_party/abseil_cpp/absl/status/CMakeLists.txt
index c041d69517ef..3b8917e030a5 100644
--- a/third_party/abseil_cpp/absl/status/CMakeLists.txt
+++ b/third_party/abseil_cpp/absl/status/CMakeLists.txt
@@ -39,6 +39,24 @@ absl_cc_library(
   PUBLIC
 )
 
+absl_cc_library(
+  NAME
+    statusor
+  HDRS
+    "statusor.h"
+  SRCS
+    "statusor.cc"
+    "statusor_internals.h"
+  COPTS
+    ${ABSL_DEFAULT_COPTS}
+  DEPS
+    absl::status
+    absl::atomic_hook
+    absl::raw_logging_internal
+    absl::strings
+  PUBLIC
+)
+
 absl_cc_test(
   NAME
     status_test
@@ -51,3 +69,17 @@ absl_cc_test(
     absl::strings
     gmock_main
 )
+
+absl_cc_test(
+  NAME
+    statusor_test
+  SRCS
+   "statusor_test.cc"
+  COPTS
+    ${ABSL_TEST_COPTS}
+  DEPS
+    absl::status
+    absl::statusor
+    absl::strings
+    gmock_main
+)