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