1#
2# Copyright 2020 The Abseil Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      https://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16absl_cc_library(
17  NAME
18    status
19  HDRS
20    "status.h"
21  SRCS
22    "status.cc"
23    "status_payload_printer.h"
24    "status_payload_printer.cc"
25  COPTS
26    ${ABSL_DEFAULT_COPTS}
27  DEPS
28    absl::config
29    absl::core_headers
30    absl::raw_logging_internal
31    absl::inlined_vector
32    absl::stacktrace
33    absl::symbolize
34    absl::strings
35    absl::cord
36    absl::str_format
37    absl::optional
38  PUBLIC
39)
40
41absl_cc_test(
42  NAME
43    status_test
44  SRCS
45   "status_test.cc"
46  COPTS
47    ${ABSL_TEST_COPTS}
48  DEPS
49    absl::status
50    absl::strings
51    gmock_main
52)
53