xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/log/internal/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/internal:append_truncated
23abseil_cpp_source_set("append_truncated") {
24  public =
25      [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/append_truncated.h" ]
26  cflags = [
27    "-DNOMINMAX",
28    "-Wall",
29    "-Wcast-qual",
30    "-Wconversion-null",
31    "-Wextra",
32    "-Wformat-security",
33    "-Wmissing-declarations",
34    "-Wnon-virtual-dtor",
35    "-Woverlength-strings",
36    "-Wpointer-arith",
37    "-Wundef",
38    "-Wunused-local-typedefs",
39    "-Wunused-result",
40    "-Wvarargs",
41    "-Wvla",
42    "-Wwrite-strings",
43  ]
44  public_deps = [
45    "../../base:config",
46    "../../strings",
47    "../../types:span",
48  ]
49}
50
51# Generated from @com_google_absl//absl/log/internal:check_impl
52abseil_cpp_source_set("check_impl") {
53  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/check_impl.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    ":check_op",
74    ":conditions",
75    ":log_message",
76    ":strip",
77    "../../base:core_headers",
78  ]
79}
80
81# Generated from @com_google_absl//absl/log/internal:check_op
82abseil_cpp_source_set("check_op") {
83  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/check_op.h" ]
84  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/check_op.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    ":nullguard",
105    ":nullstream",
106    ":strip",
107    "../../base:config",
108    "../../base:core_headers",
109    "../../base:nullability",
110    "../../strings",
111  ]
112}
113
114# Generated from @com_google_absl//absl/log/internal:conditions
115abseil_cpp_source_set("conditions") {
116  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/conditions.h" ]
117  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/conditions.cc" ]
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    ":voidify",
138    "../../base",
139    "../../base:config",
140    "../../base:core_headers",
141  ]
142}
143
144# Generated from @com_google_absl//absl/log/internal:config
145abseil_cpp_source_set("config") {
146  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/config.h" ]
147  cflags = [
148    "-DNOMINMAX",
149    "-Wall",
150    "-Wcast-qual",
151    "-Wconversion-null",
152    "-Wextra",
153    "-Wformat-security",
154    "-Wmissing-declarations",
155    "-Wnon-virtual-dtor",
156    "-Woverlength-strings",
157    "-Wpointer-arith",
158    "-Wundef",
159    "-Wunused-local-typedefs",
160    "-Wunused-result",
161    "-Wvarargs",
162    "-Wvla",
163    "-Wwrite-strings",
164  ]
165  public_deps = [
166    "../../base:config",
167    "../../base:core_headers",
168  ]
169}
170
171# Generated from @com_google_absl//absl/log/internal:fnmatch
172abseil_cpp_source_set("fnmatch") {
173  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/fnmatch.h" ]
174  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/fnmatch.cc" ]
175  cflags = [
176    "-DNOMINMAX",
177    "-Wall",
178    "-Wcast-qual",
179    "-Wconversion-null",
180    "-Wextra",
181    "-Wformat-security",
182    "-Wmissing-declarations",
183    "-Wnon-virtual-dtor",
184    "-Woverlength-strings",
185    "-Wpointer-arith",
186    "-Wundef",
187    "-Wunused-local-typedefs",
188    "-Wunused-result",
189    "-Wvarargs",
190    "-Wvla",
191    "-Wwrite-strings",
192  ]
193  public_deps = [
194    "../../base:config",
195    "../../strings",
196  ]
197}
198
199# Generated from @com_google_absl//absl/log/internal:format
200abseil_cpp_source_set("format") {
201  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_format.h" ]
202  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_format.cc" ]
203  cflags = [
204    "-DNOMINMAX",
205    "-Wall",
206    "-Wcast-qual",
207    "-Wconversion-null",
208    "-Wextra",
209    "-Wformat-security",
210    "-Wmissing-declarations",
211    "-Wnon-virtual-dtor",
212    "-Woverlength-strings",
213    "-Wpointer-arith",
214    "-Wundef",
215    "-Wunused-local-typedefs",
216    "-Wunused-result",
217    "-Wvarargs",
218    "-Wvla",
219    "-Wwrite-strings",
220  ]
221  public_deps = [
222    ":append_truncated",
223    ":config",
224    ":globals",
225    "../../base:config",
226    "../../base:core_headers",
227    "../../base:log_severity",
228    "../../strings",
229    "../../strings:str_format",
230    "../../time",
231    "../../types:span",
232  ]
233}
234
235# Generated from @com_google_absl//absl/log/internal:globals
236abseil_cpp_source_set("globals") {
237  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/globals.h" ]
238  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/globals.cc" ]
239  cflags = [
240    "-DNOMINMAX",
241    "-Wall",
242    "-Wcast-qual",
243    "-Wconversion-null",
244    "-Wextra",
245    "-Wformat-security",
246    "-Wmissing-declarations",
247    "-Wnon-virtual-dtor",
248    "-Woverlength-strings",
249    "-Wpointer-arith",
250    "-Wundef",
251    "-Wunused-local-typedefs",
252    "-Wunused-result",
253    "-Wvarargs",
254    "-Wvla",
255    "-Wwrite-strings",
256  ]
257  public_deps = [
258    "../../base:config",
259    "../../base:core_headers",
260    "../../base:log_severity",
261    "../../base:raw_logging_internal",
262    "../../strings",
263    "../../time",
264  ]
265}
266
267# Generated from @com_google_absl//absl/log/internal:log_impl
268abseil_cpp_source_set("log_impl") {
269  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_impl.h" ]
270  cflags = [
271    "-DNOMINMAX",
272    "-Wall",
273    "-Wcast-qual",
274    "-Wconversion-null",
275    "-Wextra",
276    "-Wformat-security",
277    "-Wmissing-declarations",
278    "-Wnon-virtual-dtor",
279    "-Woverlength-strings",
280    "-Wpointer-arith",
281    "-Wundef",
282    "-Wunused-local-typedefs",
283    "-Wunused-result",
284    "-Wvarargs",
285    "-Wvla",
286    "-Wwrite-strings",
287  ]
288  public_deps = [
289    ":conditions",
290    ":log_message",
291    ":strip",
292    "..:absl_vlog_is_on",
293  ]
294}
295
296# Generated from @com_google_absl//absl/log/internal:log_message
297abseil_cpp_source_set("log_message") {
298  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_message.h" ]
299  sources =
300      [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_message.cc" ]
301  cflags = [
302    "-DNOMINMAX",
303    "-Wall",
304    "-Wcast-qual",
305    "-Wconversion-null",
306    "-Wextra",
307    "-Wformat-security",
308    "-Wmissing-declarations",
309    "-Wnon-virtual-dtor",
310    "-Woverlength-strings",
311    "-Wpointer-arith",
312    "-Wundef",
313    "-Wunused-local-typedefs",
314    "-Wunused-result",
315    "-Wvarargs",
316    "-Wvla",
317    "-Wwrite-strings",
318  ]
319  public_deps = [
320    ":append_truncated",
321    ":format",
322    ":globals",
323    ":log_sink_set",
324    ":nullguard",
325    ":proto",
326    "..:globals",
327    "..:log_entry",
328    "..:log_sink",
329    "..:log_sink_registry",
330    "../../base",
331    "../../base:config",
332    "../../base:core_headers",
333    "../../base:errno_saver",
334    "../../base:log_severity",
335    "../../base:raw_logging_internal",
336    "../../base:strerror",
337    "../../container:inlined_vector",
338    "../../debugging:examine_stack",
339    "../../memory",
340    "../../strings",
341    "../../time",
342    "../../types:span",
343  ]
344}
345
346# Generated from @com_google_absl//absl/log/internal:log_sink_set
347abseil_cpp_source_set("log_sink_set") {
348  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_sink_set.h" ]
349  sources =
350      [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/log_sink_set.cc" ]
351  cflags = [
352    "-DNOMINMAX",
353    "-Wall",
354    "-Wcast-qual",
355    "-Wconversion-null",
356    "-Wextra",
357    "-Wformat-security",
358    "-Wmissing-declarations",
359    "-Wnon-virtual-dtor",
360    "-Woverlength-strings",
361    "-Wpointer-arith",
362    "-Wundef",
363    "-Wunused-local-typedefs",
364    "-Wunused-result",
365    "-Wvarargs",
366    "-Wvla",
367    "-Wwrite-strings",
368  ]
369  public_deps = [
370    ":config",
371    ":globals",
372    "..:globals",
373    "..:log_entry",
374    "..:log_sink",
375    "../../base",
376    "../../base:config",
377    "../../base:core_headers",
378    "../../base:log_severity",
379    "../../base:no_destructor",
380    "../../base:raw_logging_internal",
381    "../../cleanup",
382    "../../strings",
383    "../../synchronization",
384    "../../types:span",
385  ]
386}
387
388# Generated from @com_google_absl//absl/log/internal:nullguard
389abseil_cpp_source_set("nullguard") {
390  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/nullguard.h" ]
391  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/nullguard.cc" ]
392  cflags = [
393    "-DNOMINMAX",
394    "-Wall",
395    "-Wcast-qual",
396    "-Wconversion-null",
397    "-Wextra",
398    "-Wformat-security",
399    "-Wmissing-declarations",
400    "-Wnon-virtual-dtor",
401    "-Woverlength-strings",
402    "-Wpointer-arith",
403    "-Wundef",
404    "-Wunused-local-typedefs",
405    "-Wunused-result",
406    "-Wvarargs",
407    "-Wvla",
408    "-Wwrite-strings",
409  ]
410  public_deps = [
411    "../../base:config",
412    "../../base:core_headers",
413  ]
414}
415
416# Generated from @com_google_absl//absl/log/internal:nullstream
417abseil_cpp_source_set("nullstream") {
418  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/nullstream.h" ]
419  cflags = [
420    "-DNOMINMAX",
421    "-Wall",
422    "-Wcast-qual",
423    "-Wconversion-null",
424    "-Wextra",
425    "-Wformat-security",
426    "-Wmissing-declarations",
427    "-Wnon-virtual-dtor",
428    "-Woverlength-strings",
429    "-Wpointer-arith",
430    "-Wundef",
431    "-Wunused-local-typedefs",
432    "-Wunused-result",
433    "-Wvarargs",
434    "-Wvla",
435    "-Wwrite-strings",
436  ]
437  public_deps = [
438    "../../base:config",
439    "../../base:core_headers",
440    "../../base:log_severity",
441    "../../strings",
442  ]
443}
444
445# Generated from @com_google_absl//absl/log/internal:proto
446abseil_cpp_source_set("proto") {
447  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/proto.h" ]
448  sources = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/proto.cc" ]
449  cflags = [
450    "-DNOMINMAX",
451    "-Wall",
452    "-Wcast-qual",
453    "-Wconversion-null",
454    "-Wextra",
455    "-Wformat-security",
456    "-Wmissing-declarations",
457    "-Wnon-virtual-dtor",
458    "-Woverlength-strings",
459    "-Wpointer-arith",
460    "-Wundef",
461    "-Wunused-local-typedefs",
462    "-Wunused-result",
463    "-Wvarargs",
464    "-Wvla",
465    "-Wwrite-strings",
466  ]
467  public_deps = [
468    "../../base",
469    "../../base:config",
470    "../../base:core_headers",
471    "../../strings",
472    "../../types:span",
473  ]
474}
475
476# Generated from @com_google_absl//absl/log/internal:strip
477abseil_cpp_source_set("strip") {
478  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/strip.h" ]
479  cflags = [
480    "-DNOMINMAX",
481    "-Wall",
482    "-Wcast-qual",
483    "-Wconversion-null",
484    "-Wextra",
485    "-Wformat-security",
486    "-Wmissing-declarations",
487    "-Wnon-virtual-dtor",
488    "-Woverlength-strings",
489    "-Wpointer-arith",
490    "-Wundef",
491    "-Wunused-local-typedefs",
492    "-Wunused-result",
493    "-Wvarargs",
494    "-Wvla",
495    "-Wwrite-strings",
496  ]
497  public_deps = [
498    ":log_message",
499    ":nullstream",
500    "../../base:core_headers",
501    "../../base:log_severity",
502  ]
503}
504
505# Generated from @com_google_absl//absl/log/internal:vlog_config
506abseil_cpp_source_set("vlog_config") {
507  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/vlog_config.h" ]
508  sources =
509      [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/vlog_config.cc" ]
510  cflags = [
511    "-DNOMINMAX",
512    "-Wall",
513    "-Wcast-qual",
514    "-Wconversion-null",
515    "-Wextra",
516    "-Wformat-security",
517    "-Wmissing-declarations",
518    "-Wnon-virtual-dtor",
519    "-Woverlength-strings",
520    "-Wpointer-arith",
521    "-Wundef",
522    "-Wunused-local-typedefs",
523    "-Wunused-result",
524    "-Wvarargs",
525    "-Wvla",
526    "-Wwrite-strings",
527  ]
528  public_deps = [
529    ":fnmatch",
530    "../../base",
531    "../../base:config",
532    "../../base:core_headers",
533    "../../base:no_destructor",
534    "../../memory",
535    "../../strings",
536    "../../synchronization",
537    "../../types:optional",
538  ]
539}
540
541# Generated from @com_google_absl//absl/log/internal:voidify
542abseil_cpp_source_set("voidify") {
543  public = [ "$dir_pw_third_party_abseil_cpp/absl/log/internal/voidify.h" ]
544  cflags = [
545    "-DNOMINMAX",
546    "-Wall",
547    "-Wcast-qual",
548    "-Wconversion-null",
549    "-Wextra",
550    "-Wformat-security",
551    "-Wmissing-declarations",
552    "-Wnon-virtual-dtor",
553    "-Woverlength-strings",
554    "-Wpointer-arith",
555    "-Wundef",
556    "-Wunused-local-typedefs",
557    "-Wunused-result",
558    "-Wvarargs",
559    "-Wvla",
560    "-Wwrite-strings",
561  ]
562  public_deps = [ "../../base:config" ]
563}
564