xref: /aosp_15_r20/external/pigweed/third_party/abseil-cpp/absl/flags/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/flags:commandlineflag
23abseil_cpp_source_set("commandlineflag") {
24  public = [ "$dir_pw_third_party_abseil_cpp/absl/flags/commandlineflag.h" ]
25  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/commandlineflag.cc" ]
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    ":commandlineflag_internal",
46    "../base:config",
47    "../base:fast_type_id",
48    "../strings",
49    "../types:optional",
50  ]
51}
52
53# Generated from @com_google_absl//absl/flags:commandlineflag_internal
54abseil_cpp_source_set("commandlineflag_internal") {
55  public =
56      [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/commandlineflag.h" ]
57  sources = [
58    "$dir_pw_third_party_abseil_cpp/absl/flags/internal/commandlineflag.cc",
59  ]
60  cflags = [
61    "-DNOMINMAX",
62    "-Wall",
63    "-Wcast-qual",
64    "-Wconversion-null",
65    "-Wextra",
66    "-Wformat-security",
67    "-Wmissing-declarations",
68    "-Wnon-virtual-dtor",
69    "-Woverlength-strings",
70    "-Wpointer-arith",
71    "-Wundef",
72    "-Wunused-local-typedefs",
73    "-Wunused-result",
74    "-Wvarargs",
75    "-Wvla",
76    "-Wwrite-strings",
77  ]
78  public_deps = [
79    "../base:config",
80    "../base:fast_type_id",
81  ]
82}
83
84# Generated from @com_google_absl//absl/flags:config
85abseil_cpp_source_set("config") {
86  public = [
87    "$dir_pw_third_party_abseil_cpp/absl/flags/config.h",
88    "$dir_pw_third_party_abseil_cpp/absl/flags/usage_config.h",
89  ]
90  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/usage_config.cc" ]
91  cflags = [
92    "-DNOMINMAX",
93    "-Wall",
94    "-Wcast-qual",
95    "-Wconversion-null",
96    "-Wextra",
97    "-Wformat-security",
98    "-Wmissing-declarations",
99    "-Wnon-virtual-dtor",
100    "-Woverlength-strings",
101    "-Wpointer-arith",
102    "-Wundef",
103    "-Wunused-local-typedefs",
104    "-Wunused-result",
105    "-Wvarargs",
106    "-Wvla",
107    "-Wwrite-strings",
108  ]
109  public_deps = [
110    ":path_util",
111    ":program_name",
112    "../base:config",
113    "../base:core_headers",
114    "../strings",
115    "../synchronization",
116  ]
117}
118
119# Generated from @com_google_absl//absl/flags:flag
120abseil_cpp_source_set("flag") {
121  public = [
122    "$dir_pw_third_party_abseil_cpp/absl/flags/declare.h",
123    "$dir_pw_third_party_abseil_cpp/absl/flags/flag.h",
124  ]
125  cflags = [
126    "-DNOMINMAX",
127    "-Wall",
128    "-Wcast-qual",
129    "-Wconversion-null",
130    "-Wextra",
131    "-Wformat-security",
132    "-Wmissing-declarations",
133    "-Wnon-virtual-dtor",
134    "-Woverlength-strings",
135    "-Wpointer-arith",
136    "-Wundef",
137    "-Wunused-local-typedefs",
138    "-Wunused-result",
139    "-Wvarargs",
140    "-Wvla",
141    "-Wwrite-strings",
142  ]
143  public_deps = [
144    ":commandlineflag",
145    ":config",
146    ":flag_internal",
147    ":reflection",
148    "../base:config",
149    "../base:core_headers",
150    "../strings",
151  ]
152}
153
154# Generated from @com_google_absl//absl/flags:flag_internal
155abseil_cpp_source_set("flag_internal") {
156  public = [
157    "$dir_pw_third_party_abseil_cpp/absl/flags/internal/flag.h",
158    "$dir_pw_third_party_abseil_cpp/absl/flags/internal/sequence_lock.h",
159  ]
160  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/flag.cc" ]
161  cflags = [
162    "-DNOMINMAX",
163    "-Wall",
164    "-Wcast-qual",
165    "-Wconversion-null",
166    "-Wextra",
167    "-Wformat-security",
168    "-Wmissing-declarations",
169    "-Wnon-virtual-dtor",
170    "-Woverlength-strings",
171    "-Wpointer-arith",
172    "-Wundef",
173    "-Wunused-local-typedefs",
174    "-Wunused-result",
175    "-Wvarargs",
176    "-Wvla",
177    "-Wwrite-strings",
178  ]
179  public_deps = [
180    ":commandlineflag",
181    ":commandlineflag_internal",
182    ":config",
183    ":marshalling",
184    ":reflection",
185    "../base",
186    "../base:config",
187    "../base:core_headers",
188    "../base:dynamic_annotations",
189    "../memory",
190    "../meta:type_traits",
191    "../strings",
192    "../synchronization",
193    "../utility",
194  ]
195}
196
197# Generated from @com_google_absl//absl/flags:marshalling
198abseil_cpp_source_set("marshalling") {
199  public = [ "$dir_pw_third_party_abseil_cpp/absl/flags/marshalling.h" ]
200  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/marshalling.cc" ]
201  cflags = [
202    "-DNOMINMAX",
203    "-Wall",
204    "-Wcast-qual",
205    "-Wconversion-null",
206    "-Wextra",
207    "-Wformat-security",
208    "-Wmissing-declarations",
209    "-Wnon-virtual-dtor",
210    "-Woverlength-strings",
211    "-Wpointer-arith",
212    "-Wundef",
213    "-Wunused-local-typedefs",
214    "-Wunused-result",
215    "-Wvarargs",
216    "-Wvla",
217    "-Wwrite-strings",
218  ]
219  public_deps = [
220    "../base:config",
221    "../base:core_headers",
222    "../base:log_severity",
223    "../numeric:int128",
224    "../strings",
225    "../strings:str_format",
226    "../types:optional",
227  ]
228}
229
230# Generated from @com_google_absl//absl/flags:parse
231abseil_cpp_source_set("parse") {
232  public = [
233    "$dir_pw_third_party_abseil_cpp/absl/flags/internal/parse.h",
234    "$dir_pw_third_party_abseil_cpp/absl/flags/parse.h",
235  ]
236  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/parse.cc" ]
237  cflags = [
238    "-DNOMINMAX",
239    "-Wall",
240    "-Wcast-qual",
241    "-Wconversion-null",
242    "-Wextra",
243    "-Wformat-security",
244    "-Wmissing-declarations",
245    "-Wnon-virtual-dtor",
246    "-Woverlength-strings",
247    "-Wpointer-arith",
248    "-Wundef",
249    "-Wunused-local-typedefs",
250    "-Wunused-result",
251    "-Wvarargs",
252    "-Wvla",
253    "-Wwrite-strings",
254  ]
255  public_deps = [
256    ":commandlineflag",
257    ":commandlineflag_internal",
258    ":config",
259    ":flag",
260    ":flag_internal",
261    ":private_handle_accessor",
262    ":program_name",
263    ":reflection",
264    ":usage",
265    ":usage_internal",
266    "../algorithm:container",
267    "../base:config",
268    "../base:core_headers",
269    "../strings",
270    "../synchronization",
271  ]
272}
273
274# Generated from @com_google_absl//absl/flags:path_util
275abseil_cpp_source_set("path_util") {
276  public = [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/path_util.h" ]
277  cflags = [
278    "-DNOMINMAX",
279    "-Wall",
280    "-Wcast-qual",
281    "-Wconversion-null",
282    "-Wextra",
283    "-Wformat-security",
284    "-Wmissing-declarations",
285    "-Wnon-virtual-dtor",
286    "-Woverlength-strings",
287    "-Wpointer-arith",
288    "-Wundef",
289    "-Wunused-local-typedefs",
290    "-Wunused-result",
291    "-Wvarargs",
292    "-Wvla",
293    "-Wwrite-strings",
294  ]
295  public_deps = [
296    "../base:config",
297    "../strings",
298  ]
299}
300
301# Generated from @com_google_absl//absl/flags:private_handle_accessor
302abseil_cpp_source_set("private_handle_accessor") {
303  public = [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/private_handle_accessor.h" ]
304  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/private_handle_accessor.cc" ]
305  cflags = [
306    "-DNOMINMAX",
307    "-Wall",
308    "-Wcast-qual",
309    "-Wconversion-null",
310    "-Wextra",
311    "-Wformat-security",
312    "-Wmissing-declarations",
313    "-Wnon-virtual-dtor",
314    "-Woverlength-strings",
315    "-Wpointer-arith",
316    "-Wundef",
317    "-Wunused-local-typedefs",
318    "-Wunused-result",
319    "-Wvarargs",
320    "-Wvla",
321    "-Wwrite-strings",
322  ]
323  public_deps = [
324    ":commandlineflag",
325    ":commandlineflag_internal",
326    "../base:config",
327    "../strings",
328  ]
329}
330
331# Generated from @com_google_absl//absl/flags:program_name
332abseil_cpp_source_set("program_name") {
333  public =
334      [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/program_name.h" ]
335  sources =
336      [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/program_name.cc" ]
337  cflags = [
338    "-DNOMINMAX",
339    "-Wall",
340    "-Wcast-qual",
341    "-Wconversion-null",
342    "-Wextra",
343    "-Wformat-security",
344    "-Wmissing-declarations",
345    "-Wnon-virtual-dtor",
346    "-Woverlength-strings",
347    "-Wpointer-arith",
348    "-Wundef",
349    "-Wunused-local-typedefs",
350    "-Wunused-result",
351    "-Wvarargs",
352    "-Wvla",
353    "-Wwrite-strings",
354  ]
355  public_deps = [
356    ":path_util",
357    "../base:config",
358    "../base:core_headers",
359    "../strings",
360    "../synchronization",
361  ]
362}
363
364# Generated from @com_google_absl//absl/flags:reflection
365abseil_cpp_source_set("reflection") {
366  public = [
367    "$dir_pw_third_party_abseil_cpp/absl/flags/internal/registry.h",
368    "$dir_pw_third_party_abseil_cpp/absl/flags/reflection.h",
369  ]
370  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/reflection.cc" ]
371  cflags = [
372    "-DNOMINMAX",
373    "-Wall",
374    "-Wcast-qual",
375    "-Wconversion-null",
376    "-Wextra",
377    "-Wformat-security",
378    "-Wmissing-declarations",
379    "-Wnon-virtual-dtor",
380    "-Woverlength-strings",
381    "-Wpointer-arith",
382    "-Wundef",
383    "-Wunused-local-typedefs",
384    "-Wunused-result",
385    "-Wvarargs",
386    "-Wvla",
387    "-Wwrite-strings",
388  ]
389  public_deps = [
390    ":commandlineflag",
391    ":commandlineflag_internal",
392    ":config",
393    ":private_handle_accessor",
394    "../base:config",
395    "../base:core_headers",
396    "../base:no_destructor",
397    "../container:flat_hash_map",
398    "../strings",
399    "../synchronization",
400  ]
401}
402
403# Generated from @com_google_absl//absl/flags:usage
404abseil_cpp_source_set("usage") {
405  public = [ "$dir_pw_third_party_abseil_cpp/absl/flags/usage.h" ]
406  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/usage.cc" ]
407  cflags = [
408    "-DNOMINMAX",
409    "-Wall",
410    "-Wcast-qual",
411    "-Wconversion-null",
412    "-Wextra",
413    "-Wformat-security",
414    "-Wmissing-declarations",
415    "-Wnon-virtual-dtor",
416    "-Woverlength-strings",
417    "-Wpointer-arith",
418    "-Wundef",
419    "-Wunused-local-typedefs",
420    "-Wunused-result",
421    "-Wvarargs",
422    "-Wvla",
423    "-Wwrite-strings",
424  ]
425  public_deps = [
426    ":usage_internal",
427    "../base:config",
428    "../base:core_headers",
429    "../base:raw_logging_internal",
430    "../strings",
431    "../synchronization",
432  ]
433}
434
435# Generated from @com_google_absl//absl/flags:usage_internal
436abseil_cpp_source_set("usage_internal") {
437  public = [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/usage.h" ]
438  sources = [ "$dir_pw_third_party_abseil_cpp/absl/flags/internal/usage.cc" ]
439  cflags = [
440    "-DNOMINMAX",
441    "-Wall",
442    "-Wcast-qual",
443    "-Wconversion-null",
444    "-Wextra",
445    "-Wformat-security",
446    "-Wmissing-declarations",
447    "-Wnon-virtual-dtor",
448    "-Woverlength-strings",
449    "-Wpointer-arith",
450    "-Wundef",
451    "-Wunused-local-typedefs",
452    "-Wunused-result",
453    "-Wvarargs",
454    "-Wvla",
455    "-Wwrite-strings",
456  ]
457  public_deps = [
458    ":commandlineflag",
459    ":config",
460    ":flag",
461    ":flag_internal",
462    ":path_util",
463    ":private_handle_accessor",
464    ":program_name",
465    ":reflection",
466    "../base:config",
467    "../base:core_headers",
468    "../strings",
469    "../synchronization",
470  ]
471}
472