xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/log/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/log:absl_vlog_is_on
23abseil_cpp_source_set("absl_vlog_is_on") {
24  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/absl_vlog_is_on.h" ]
25  cflags = [
26    "-DNOMINMAX",
27    "-Wall",
28    "-Wcast-qual",
29    "-Wconversion-null",
30    "-Wextra",
31    "-Wformat-security",
32    "-Wmissing-declarations",
33    "-Wnon-virtual-dtor",
34    "-Woverlength-strings",
35    "-Wpointer-arith",
36    "-Wundef",
37    "-Wunused-local-typedefs",
38    "-Wunused-result",
39    "-Wvarargs",
40    "-Wvla",
41    "-Wwrite-strings",
42  ]
43  public_deps = [
44    "../base:config",
45    "../base:core_headers",
46    "../strings",
47    "internal:vlog_config",
48  ]
49}
50
51# Generated from @com_google_absl//absl/log:check
52abseil_cpp_source_set("check") {
53  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/check.h" ]
54  cflags = [
55    "-DNOMINMAX",
56    "-Wall",
57    "-Wcast-qual",
58    "-Wconversion-null",
59    "-Wextra",
60    "-Wformat-security",
61    "-Wmissing-declarations",
62    "-Wnon-virtual-dtor",
63    "-Woverlength-strings",
64    "-Wpointer-arith",
65    "-Wundef",
66    "-Wunused-local-typedefs",
67    "-Wunused-result",
68    "-Wvarargs",
69    "-Wvla",
70    "-Wwrite-strings",
71  ]
72  public_deps = [
73    "internal:check_impl",
74    "internal:check_op",
75    "internal:conditions",
76    "internal:log_message",
77    "internal:strip",
78  ]
79}
80
81# Generated from @com_google_absl//absl/log:globals
82abseil_cpp_source_set("globals") {
83  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/globals.h" ]
84  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/globals.cc" ]
85  cflags = [
86    "-DNOMINMAX",
87    "-Wall",
88    "-Wcast-qual",
89    "-Wconversion-null",
90    "-Wextra",
91    "-Wformat-security",
92    "-Wmissing-declarations",
93    "-Wnon-virtual-dtor",
94    "-Woverlength-strings",
95    "-Wpointer-arith",
96    "-Wundef",
97    "-Wunused-local-typedefs",
98    "-Wunused-result",
99    "-Wvarargs",
100    "-Wvla",
101    "-Wwrite-strings",
102  ]
103  public_deps = [
104    "../base:atomic_hook",
105    "../base:config",
106    "../base:core_headers",
107    "../base:log_severity",
108    "../base:raw_logging_internal",
109    "../hash",
110    "../strings",
111    "internal:vlog_config",
112  ]
113}
114
115# Generated from @com_google_absl//absl/log:log
116abseil_cpp_source_set("log") {
117  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/log.h" ]
118  cflags = [
119    "-DNOMINMAX",
120    "-Wall",
121    "-Wcast-qual",
122    "-Wconversion-null",
123    "-Wextra",
124    "-Wformat-security",
125    "-Wmissing-declarations",
126    "-Wnon-virtual-dtor",
127    "-Woverlength-strings",
128    "-Wpointer-arith",
129    "-Wundef",
130    "-Wunused-local-typedefs",
131    "-Wunused-result",
132    "-Wvarargs",
133    "-Wvla",
134    "-Wwrite-strings",
135  ]
136  public_deps = [
137    ":vlog_is_on",
138    "internal:log_impl",
139  ]
140}
141
142# Generated from @com_google_absl//absl/log:log_entry
143abseil_cpp_source_set("log_entry") {
144  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/log_entry.h" ]
145  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/log_entry.cc" ]
146  cflags = [
147    "-DNOMINMAX",
148    "-Wall",
149    "-Wcast-qual",
150    "-Wconversion-null",
151    "-Wextra",
152    "-Wformat-security",
153    "-Wmissing-declarations",
154    "-Wnon-virtual-dtor",
155    "-Woverlength-strings",
156    "-Wpointer-arith",
157    "-Wundef",
158    "-Wunused-local-typedefs",
159    "-Wunused-result",
160    "-Wvarargs",
161    "-Wvla",
162    "-Wwrite-strings",
163  ]
164  public_deps = [
165    "../base:config",
166    "../base:core_headers",
167    "../base:log_severity",
168    "../strings",
169    "../time",
170    "../types:span",
171    "internal:config",
172  ]
173}
174
175# Generated from @com_google_absl//absl/log:log_sink
176abseil_cpp_source_set("log_sink") {
177  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/log_sink.h" ]
178  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/log_sink.cc" ]
179  cflags = [
180    "-DNOMINMAX",
181    "-Wall",
182    "-Wcast-qual",
183    "-Wconversion-null",
184    "-Wextra",
185    "-Wformat-security",
186    "-Wmissing-declarations",
187    "-Wnon-virtual-dtor",
188    "-Woverlength-strings",
189    "-Wpointer-arith",
190    "-Wundef",
191    "-Wunused-local-typedefs",
192    "-Wunused-result",
193    "-Wvarargs",
194    "-Wvla",
195    "-Wwrite-strings",
196  ]
197  public_deps = [
198    ":log_entry",
199    "../base:config",
200  ]
201}
202
203# Generated from @com_google_absl//absl/log:log_sink_registry
204abseil_cpp_source_set("log_sink_registry") {
205  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/log_sink_registry.h" ]
206  cflags = [
207    "-DNOMINMAX",
208    "-Wall",
209    "-Wcast-qual",
210    "-Wconversion-null",
211    "-Wextra",
212    "-Wformat-security",
213    "-Wmissing-declarations",
214    "-Wnon-virtual-dtor",
215    "-Woverlength-strings",
216    "-Wpointer-arith",
217    "-Wundef",
218    "-Wunused-local-typedefs",
219    "-Wunused-result",
220    "-Wvarargs",
221    "-Wvla",
222    "-Wwrite-strings",
223  ]
224  public_deps = [
225    ":log_sink",
226    "../base:config",
227    "internal:log_sink_set",
228  ]
229}
230
231# Generated from @com_google_absl//absl/log:vlog_is_on
232abseil_cpp_source_set("vlog_is_on") {
233  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/vlog_is_on.h" ]
234  cflags = [
235    "-DNOMINMAX",
236    "-Wall",
237    "-Wcast-qual",
238    "-Wconversion-null",
239    "-Wextra",
240    "-Wformat-security",
241    "-Wmissing-declarations",
242    "-Wnon-virtual-dtor",
243    "-Woverlength-strings",
244    "-Wpointer-arith",
245    "-Wundef",
246    "-Wunused-local-typedefs",
247    "-Wunused-result",
248    "-Wvarargs",
249    "-Wvla",
250    "-Wwrite-strings",
251  ]
252  public_deps = [ ":absl_vlog_is_on" ]
253}
254