xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/status/BUILD.gn (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2024 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15# DO NOT MANUALLY EDIT!
16# This file was automatically generated by pw_build/gn_writer.py
17
18import("//build_overrides/pigweed.gni")
19
20import("$dir_pw_third_party/abseil-cpp/abseil-cpp.gni")
21
22# Generated from @com_google_absl//absl/status:status
23abseil_cpp_source_set("status") {
24  public = [
25    "$dir_pw_third_party_abseil_cpp/absl/status/status.h",
26    "$dir_pw_third_party_abseil_cpp/absl/status/status_payload_printer.h",
27  ]
28  sources = [
29    "$dir_pw_third_party_abseil_cpp/absl/status/internal/status_internal.cc",
30    "$dir_pw_third_party_abseil_cpp/absl/status/internal/status_internal.h",
31    "$dir_pw_third_party_abseil_cpp/absl/status/status.cc",
32    "$dir_pw_third_party_abseil_cpp/absl/status/status_payload_printer.cc",
33  ]
34  cflags = [
35    "-DNOMINMAX",
36    "-Wall",
37    "-Wcast-qual",
38    "-Wconversion-null",
39    "-Wextra",
40    "-Wformat-security",
41    "-Wmissing-declarations",
42    "-Wnon-virtual-dtor",
43    "-Woverlength-strings",
44    "-Wpointer-arith",
45    "-Wundef",
46    "-Wunused-local-typedefs",
47    "-Wunused-result",
48    "-Wvarargs",
49    "-Wvla",
50    "-Wwrite-strings",
51  ]
52  public_deps = [
53    "../base:atomic_hook",
54    "../base:config",
55    "../base:core_headers",
56    "../base:no_destructor",
57    "../base:nullability",
58    "../base:raw_logging_internal",
59    "../base:strerror",
60    "../container:inlined_vector",
61    "../debugging:stacktrace",
62    "../debugging:symbolize",
63    "../functional:function_ref",
64    "../memory",
65    "../strings",
66    "../strings:cord",
67    "../strings:str_format",
68    "../types:optional",
69    "../types:span",
70  ]
71}
72
73# Generated from @com_google_absl//absl/status:statusor
74abseil_cpp_source_set("statusor") {
75  public = [ "$dir_pw_third_party_abseil_cpp/absl/status/statusor.h" ]
76  sources = [
77    "$dir_pw_third_party_abseil_cpp/absl/status/internal/statusor_internal.h",
78    "$dir_pw_third_party_abseil_cpp/absl/status/statusor.cc",
79  ]
80  cflags = [
81    "-DNOMINMAX",
82    "-Wall",
83    "-Wcast-qual",
84    "-Wconversion-null",
85    "-Wextra",
86    "-Wformat-security",
87    "-Wmissing-declarations",
88    "-Wnon-virtual-dtor",
89    "-Woverlength-strings",
90    "-Wpointer-arith",
91    "-Wundef",
92    "-Wunused-local-typedefs",
93    "-Wunused-result",
94    "-Wvarargs",
95    "-Wvla",
96    "-Wwrite-strings",
97  ]
98  public_deps = [
99    ":status",
100    "../base",
101    "../base:config",
102    "../base:core_headers",
103    "../base:nullability",
104    "../base:raw_logging_internal",
105    "../meta:type_traits",
106    "../strings",
107    "../strings:has_ostream_operator",
108    "../strings:str_format",
109    "../types:variant",
110    "../utility",
111  ]
112}
113