Debian Codegraph @

llvm/utils/gn/secondary/libcxx/include/BUILD.gn

raw
1 import("//libcxx/config.gni")
2 import("//llvm/utils/gn/build/write_cmake_config.gni")
3
4 libcxx_generated_include_dir = "$root_build_dir/include/c++/v1"
5
6 # This is a bit weird. For now, we assume that __config_site is identical
7 # in all toolchains, and only copy it (and all other libcxx headers)
8 # to 'include' in the root build dir, so that it's the same for all toolchains.
9 # Maybe we want to make this per-toolchain eventually (and then use root_out_dir
10 # in libcxx_generated_include_dir) -- e.g. for cross-builds that for example
11 # use for-linux-configured libc++ for the host build but for-windows-configured
12 # libc++ for the target build.
13 if (current_toolchain == default_toolchain) {
14 write_cmake_config("write_config_site") {
15 input = "__config_site.in"
16 output = "$libcxx_generated_include_dir/__config_site"
17
18 values = [
19 "_LIBCPP_ABI_FORCE_ITANIUM=",
20 "_LIBCPP_ABI_FORCE_MICROSOFT=",
21 "_LIBCPP_EXTRA_SITE_DEFINES=",
22 "_LIBCPP_HAS_NO_FILESYSTEM=",
23 "_LIBCPP_HAS_NO_THREADS=",
24 "_LIBCPP_HAS_NO_MONOTONIC_CLOCK=",
25 "_LIBCPP_HAS_MUSL_LIBC=",
26 "_LIBCPP_HAS_THREAD_API_PTHREAD=",
27 "_LIBCPP_HAS_THREAD_API_EXTERNAL=",
28 "_LIBCPP_HAS_THREAD_API_WIN32=",
29 "_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS=",
30 "_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS=1",
31 "_LIBCPP_NO_VCRUNTIME=",
32 "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION=",
33 "_LIBCPP_HAS_NO_RANDOM_DEVICE=",
34 "_LIBCPP_HAS_NO_LOCALIZATION=",
35 "_LIBCPP_HAS_NO_UNICODE=",
36 "_LIBCPP_HAS_NO_WIDE_CHARACTERS=",
37 "_LIBCPP_HAS_NO_STD_MODULES=",
38 "_LIBCPP_INSTRUMENTED_WITH_ASAN=",
39 "_LIBCPP_ABI_DEFINES=",
40 "_LIBCPP_HARDENING_MODE_DEFAULT=_LIBCPP_HARDENING_MODE_NONE",
41 "_LIBCPP_PSTL_BACKEND_LIBDISPATCH=",
42 "_LIBCPP_PSTL_BACKEND_SERIAL=1",
43 "_LIBCPP_PSTL_BACKEND_STD_THREAD=",
44 ]
45 if (libcxx_abi_version != 1) {
46 values += [ "_LIBCPP_ABI_VERSION=$libcxx_abi_version" ]
47 } else {
48 values += [ "_LIBCPP_ABI_VERSION=" ]
49 }
50 if (libcxx_abi_namespace != "") {
51 values += [ "_LIBCPP_ABI_NAMESPACE=$libcxx_abi_namespace" ]
52 } else {
53 values += [ "_LIBCPP_ABI_NAMESPACE=__" + libcxx_abi_version ]
54 }
55 if (!libcxx_enable_time_zone_database) {
56 values += [ "_LIBCPP_HAS_NO_TIME_ZONE_DATABASE=1" ]
57 } else {
58 values += [ "_LIBCPP_HAS_NO_TIME_ZONE_DATABASE=" ]
59 }
60 }
61
62 # This uses write_cmake_config() instead of a normal copy() rule because
63 # copy() uses `sources`, and if there's more than one `sources` in a file,
64 # sync_source_lists_from_cmake.py can't auto-sync changes.
65 write_cmake_config("write_assertion_handler") {
66 input = "//libcxx/vendor/llvm/default_assertion_handler.in"
67 output = "$libcxx_generated_include_dir/__assertion_handler"
68 values = []
69 }
70
71 copy("copy_headers") {
72 sources = [
73 "__algorithm/adjacent_find.h",
74 "__algorithm/all_of.h",
75 "__algorithm/any_of.h",
76 "__algorithm/binary_search.h",
77 "__algorithm/clamp.h",
78 "__algorithm/comp.h",
79 "__algorithm/comp_ref_type.h",
80 "__algorithm/copy.h",
81 "__algorithm/copy_backward.h",
82 "__algorithm/copy_if.h",
83 "__algorithm/copy_move_common.h",
84 "__algorithm/copy_n.h",
85 "__algorithm/count.h",
86 "__algorithm/count_if.h",
87 "__algorithm/equal.h",
88 "__algorithm/equal_range.h",
89 "__algorithm/fill.h",
90 "__algorithm/fill_n.h",
91 "__algorithm/find.h",
92 "__algorithm/find_end.h",
93 "__algorithm/find_first_of.h",
94 "__algorithm/find_if.h",
95 "__algorithm/find_if_not.h",
96 "__algorithm/find_segment_if.h",
97 "__algorithm/fold.h",
98 "__algorithm/for_each.h",
99 "__algorithm/for_each_n.h",
100 "__algorithm/for_each_segment.h",
101 "__algorithm/generate.h",
102 "__algorithm/generate_n.h",
103 "__algorithm/half_positive.h",
104 "__algorithm/in_found_result.h",
105 "__algorithm/in_fun_result.h",
106 "__algorithm/in_in_out_result.h",
107 "__algorithm/in_in_result.h",
108 "__algorithm/in_out_out_result.h",
109 "__algorithm/in_out_result.h",
110 "__algorithm/includes.h",
111 "__algorithm/inplace_merge.h",
112 "__algorithm/is_heap.h",
113 "__algorithm/is_heap_until.h",
114 "__algorithm/is_partitioned.h",
115 "__algorithm/is_permutation.h",
116 "__algorithm/is_sorted.h",
117 "__algorithm/is_sorted_until.h",
118 "__algorithm/iter_swap.h",
119 "__algorithm/iterator_operations.h",
120 "__algorithm/lexicographical_compare.h",
121 "__algorithm/lexicographical_compare_three_way.h",
122 "__algorithm/lower_bound.h",
123 "__algorithm/make_heap.h",
124 "__algorithm/make_projected.h",
125 "__algorithm/max.h",
126 "__algorithm/max_element.h",
127 "__algorithm/merge.h",
128 "__algorithm/min.h",
129 "__algorithm/min_element.h",
130 "__algorithm/min_max_result.h",
131 "__algorithm/minmax.h",
132 "__algorithm/minmax_element.h",
133 "__algorithm/mismatch.h",
134 "__algorithm/move.h",
135 "__algorithm/move_backward.h",
136 "__algorithm/next_permutation.h",
137 "__algorithm/none_of.h",
138 "__algorithm/nth_element.h",
139 "__algorithm/partial_sort.h",
140 "__algorithm/partial_sort_copy.h",
141 "__algorithm/partition.h",
142 "__algorithm/partition_copy.h",
143 "__algorithm/partition_point.h",
144 "__algorithm/pop_heap.h",
145 "__algorithm/prev_permutation.h",
146 "__algorithm/pstl.h",
147 "__algorithm/push_heap.h",
148 "__algorithm/ranges_adjacent_find.h",
149 "__algorithm/ranges_all_of.h",
150 "__algorithm/ranges_any_of.h",
151 "__algorithm/ranges_binary_search.h",
152 "__algorithm/ranges_clamp.h",
153 "__algorithm/ranges_contains.h",
154 "__algorithm/ranges_contains_subrange.h",
155 "__algorithm/ranges_copy.h",
156 "__algorithm/ranges_copy_backward.h",
157 "__algorithm/ranges_copy_if.h",
158 "__algorithm/ranges_copy_n.h",
159 "__algorithm/ranges_count.h",
160 "__algorithm/ranges_count_if.h",
161 "__algorithm/ranges_ends_with.h",
162 "__algorithm/ranges_equal.h",
163 "__algorithm/ranges_equal_range.h",
164 "__algorithm/ranges_fill.h",
165 "__algorithm/ranges_fill_n.h",
166 "__algorithm/ranges_find.h",
167 "__algorithm/ranges_find_end.h",
168 "__algorithm/ranges_find_first_of.h",
169 "__algorithm/ranges_find_if.h",
170 "__algorithm/ranges_find_if_not.h",
171 "__algorithm/ranges_find_last.h",
172 "__algorithm/ranges_for_each.h",
173 "__algorithm/ranges_for_each_n.h",
174 "__algorithm/ranges_generate.h",
175 "__algorithm/ranges_generate_n.h",
176 "__algorithm/ranges_includes.h",
177 "__algorithm/ranges_inplace_merge.h",
178 "__algorithm/ranges_is_heap.h",
179 "__algorithm/ranges_is_heap_until.h",
180 "__algorithm/ranges_is_partitioned.h",
181 "__algorithm/ranges_is_permutation.h",
182 "__algorithm/ranges_is_sorted.h",
183 "__algorithm/ranges_is_sorted_until.h",
184 "__algorithm/ranges_iterator_concept.h",
185 "__algorithm/ranges_lexicographical_compare.h",
186 "__algorithm/ranges_lower_bound.h",
187 "__algorithm/ranges_make_heap.h",
188 "__algorithm/ranges_max.h",
189 "__algorithm/ranges_max_element.h",
190 "__algorithm/ranges_merge.h",
191 "__algorithm/ranges_min.h",
192 "__algorithm/ranges_min_element.h",
193 "__algorithm/ranges_minmax.h",
194 "__algorithm/ranges_minmax_element.h",
195 "__algorithm/ranges_mismatch.h",
196 "__algorithm/ranges_move.h",
197 "__algorithm/ranges_move_backward.h",
198 "__algorithm/ranges_next_permutation.h",
199 "__algorithm/ranges_none_of.h",
200 "__algorithm/ranges_nth_element.h",
201 "__algorithm/ranges_partial_sort.h",
202 "__algorithm/ranges_partial_sort_copy.h",
203 "__algorithm/ranges_partition.h",
204 "__algorithm/ranges_partition_copy.h",
205 "__algorithm/ranges_partition_point.h",
206 "__algorithm/ranges_pop_heap.h",
207 "__algorithm/ranges_prev_permutation.h",
208 "__algorithm/ranges_push_heap.h",
209 "__algorithm/ranges_remove.h",
210 "__algorithm/ranges_remove_copy.h",
211 "__algorithm/ranges_remove_copy_if.h",
212 "__algorithm/ranges_remove_if.h",
213 "__algorithm/ranges_replace.h",
214 "__algorithm/ranges_replace_copy.h",
215 "__algorithm/ranges_replace_copy_if.h",
216 "__algorithm/ranges_replace_if.h",
217 "__algorithm/ranges_reverse.h",
218 "__algorithm/ranges_reverse_copy.h",
219 "__algorithm/ranges_rotate.h",
220 "__algorithm/ranges_rotate_copy.h",
221 "__algorithm/ranges_sample.h",
222 "__algorithm/ranges_search.h",
223 "__algorithm/ranges_search_n.h",
224 "__algorithm/ranges_set_difference.h",
225 "__algorithm/ranges_set_intersection.h",
226 "__algorithm/ranges_set_symmetric_difference.h",
227 "__algorithm/ranges_set_union.h",
228 "__algorithm/ranges_shuffle.h",
229 "__algorithm/ranges_sort.h",
230 "__algorithm/ranges_sort_heap.h",
231 "__algorithm/ranges_stable_partition.h",
232 "__algorithm/ranges_stable_sort.h",
233 "__algorithm/ranges_starts_with.h",
234 "__algorithm/ranges_swap_ranges.h",
235 "__algorithm/ranges_transform.h",
236 "__algorithm/ranges_unique.h",
237 "__algorithm/ranges_unique_copy.h",
238 "__algorithm/ranges_upper_bound.h",
239 "__algorithm/remove.h",
240 "__algorithm/remove_copy.h",
241 "__algorithm/remove_copy_if.h",
242 "__algorithm/remove_if.h",
243 "__algorithm/replace.h",
244 "__algorithm/replace_copy.h",
245 "__algorithm/replace_copy_if.h",
246 "__algorithm/replace_if.h",
247 "__algorithm/reverse.h",
248 "__algorithm/reverse_copy.h",
249 "__algorithm/rotate.h",
250 "__algorithm/rotate_copy.h",
251 "__algorithm/sample.h",
252 "__algorithm/search.h",
253 "__algorithm/search_n.h",
254 "__algorithm/set_difference.h",
255 "__algorithm/set_intersection.h",
256 "__algorithm/set_symmetric_difference.h",
257 "__algorithm/set_union.h",
258 "__algorithm/shift_left.h",
259 "__algorithm/shift_right.h",
260 "__algorithm/shuffle.h",
261 "__algorithm/sift_down.h",
262 "__algorithm/simd_utils.h",
263 "__algorithm/sort.h",
264 "__algorithm/sort_heap.h",
265 "__algorithm/stable_partition.h",
266 "__algorithm/stable_sort.h",
267 "__algorithm/swap_ranges.h",
268 "__algorithm/three_way_comp_ref_type.h",
269 "__algorithm/transform.h",
270 "__algorithm/uniform_random_bit_generator_adaptor.h",
271 "__algorithm/unique.h",
272 "__algorithm/unique_copy.h",
273 "__algorithm/unwrap_iter.h",
274 "__algorithm/unwrap_range.h",
275 "__algorithm/upper_bound.h",
276 "__assert",
277 "__atomic/aliases.h",
278 "__atomic/atomic.h",
279 "__atomic/atomic_base.h",
280 "__atomic/atomic_flag.h",
281 "__atomic/atomic_init.h",
282 "__atomic/atomic_lock_free.h",
283 "__atomic/atomic_ref.h",
284 "__atomic/atomic_sync.h",
285 "__atomic/check_memory_order.h",
286 "__atomic/contention_t.h",
287 "__atomic/cxx_atomic_impl.h",
288 "__atomic/fence.h",
289 "__atomic/is_always_lock_free.h",
290 "__atomic/kill_dependency.h",
291 "__atomic/memory_order.h",
292 "__atomic/to_gcc_order.h",
293 "__bit/bit_cast.h",
294 "__bit/bit_ceil.h",
295 "__bit/bit_floor.h",
296 "__bit/bit_log2.h",
297 "__bit/bit_width.h",
298 "__bit/blsr.h",
299 "__bit/byteswap.h",
300 "__bit/countl.h",
301 "__bit/countr.h",
302 "__bit/endian.h",
303 "__bit/has_single_bit.h",
304 "__bit/invert_if.h",
305 "__bit/popcount.h",
306 "__bit/rotate.h",
307 "__bit_reference",
308 "__charconv/chars_format.h",
309 "__charconv/from_chars_integral.h",
310 "__charconv/from_chars_result.h",
311 "__charconv/tables.h",
312 "__charconv/to_chars.h",
313 "__charconv/to_chars_base_10.h",
314 "__charconv/to_chars_floating_point.h",
315 "__charconv/to_chars_integral.h",
316 "__charconv/to_chars_result.h",
317 "__charconv/traits.h",
318 "__chrono/calendar.h",
319 "__chrono/concepts.h",
320 "__chrono/convert_to_timespec.h",
321 "__chrono/convert_to_tm.h",
322 "__chrono/day.h",
323 "__chrono/duration.h",
324 "__chrono/exception.h",
325 "__chrono/file_clock.h",
326 "__chrono/formatter.h",
327 "__chrono/hh_mm_ss.h",
328 "__chrono/high_resolution_clock.h",
329 "__chrono/leap_second.h",
330 "__chrono/literals.h",
331 "__chrono/local_info.h",
332 "__chrono/month.h",
333 "__chrono/month_weekday.h",
334 "__chrono/monthday.h",
335 "__chrono/ostream.h",
336 "__chrono/parser_std_format_spec.h",
337 "__chrono/statically_widen.h",
338 "__chrono/steady_clock.h",
339 "__chrono/sys_info.h",
340 "__chrono/system_clock.h",
341 "__chrono/time_point.h",
342 "__chrono/time_zone.h",
343 "__chrono/time_zone_link.h",
344 "__chrono/tzdb.h",
345 "__chrono/tzdb_list.h",
346 "__chrono/weekday.h",
347 "__chrono/year.h",
348 "__chrono/year_month.h",
349 "__chrono/year_month_day.h",
350 "__chrono/year_month_weekday.h",
351 "__chrono/zoned_time.h",
352 "__compare/common_comparison_category.h",
353 "__compare/compare_partial_order_fallback.h",
354 "__compare/compare_strong_order_fallback.h",
355 "__compare/compare_three_way.h",
356 "__compare/compare_three_way_result.h",
357 "__compare/compare_weak_order_fallback.h",
358 "__compare/is_eq.h",
359 "__compare/ordering.h",
360 "__compare/partial_order.h",
361 "__compare/strong_order.h",
362 "__compare/synth_three_way.h",
363 "__compare/three_way_comparable.h",
364 "__compare/weak_order.h",
365 "__concepts/arithmetic.h",
366 "__concepts/assignable.h",
367 "__concepts/boolean_testable.h",
368 "__concepts/class_or_enum.h",
369 "__concepts/common_reference_with.h",
370 "__concepts/common_with.h",
371 "__concepts/constructible.h",
372 "__concepts/convertible_to.h",
373 "__concepts/copyable.h",
374 "__concepts/derived_from.h",
375 "__concepts/destructible.h",
376 "__concepts/different_from.h",
377 "__concepts/equality_comparable.h",
378 "__concepts/invocable.h",
379 "__concepts/movable.h",
380 "__concepts/predicate.h",
381 "__concepts/regular.h",
382 "__concepts/relation.h",
383 "__concepts/same_as.h",
384 "__concepts/semiregular.h",
385 "__concepts/swappable.h",
386 "__concepts/totally_ordered.h",
387 "__condition_variable/condition_variable.h",
388 "__config",
389 "__configuration/abi.h",
390 "__configuration/availability.h",
391 "__configuration/compiler.h",
392 "__configuration/language.h",
393 "__configuration/platform.h",
394 "__coroutine/coroutine_handle.h",
395 "__coroutine/coroutine_traits.h",
396 "__coroutine/noop_coroutine_handle.h",
397 "__coroutine/trivial_awaitables.h",
398 "__debug_utils/randomize_range.h",
399 "__debug_utils/sanitizers.h",
400 "__debug_utils/strict_weak_ordering_check.h",
401 "__exception/exception.h",
402 "__exception/exception_ptr.h",
403 "__exception/nested_exception.h",
404 "__exception/operations.h",
405 "__exception/terminate.h",
406 "__expected/bad_expected_access.h",
407 "__expected/expected.h",
408 "__expected/unexpect.h",
409 "__expected/unexpected.h",
410 "__filesystem/copy_options.h",
411 "__filesystem/directory_entry.h",
412 "__filesystem/directory_iterator.h",
413 "__filesystem/directory_options.h",
414 "__filesystem/file_status.h",
415 "__filesystem/file_time_type.h",
416 "__filesystem/file_type.h",
417 "__filesystem/filesystem_error.h",
418 "__filesystem/operations.h",
419 "__filesystem/path.h",
420 "__filesystem/path_iterator.h",
421 "__filesystem/perm_options.h",
422 "__filesystem/perms.h",
423 "__filesystem/recursive_directory_iterator.h",
424 "__filesystem/space_info.h",
425 "__filesystem/u8path.h",
426 "__format/buffer.h",
427 "__format/concepts.h",
428 "__format/container_adaptor.h",
429 "__format/enable_insertable.h",
430 "__format/escaped_output_table.h",
431 "__format/extended_grapheme_cluster_table.h",
432 "__format/format_arg.h",
433 "__format/format_arg_store.h",
434 "__format/format_args.h",
435 "__format/format_context.h",
436 "__format/format_error.h",
437 "__format/format_functions.h",
438 "__format/format_parse_context.h",
439 "__format/format_string.h",
440 "__format/format_to_n_result.h",
441 "__format/formatter.h",
442 "__format/formatter_bool.h",
443 "__format/formatter_char.h",
444 "__format/formatter_floating_point.h",
445 "__format/formatter_integer.h",
446 "__format/formatter_integral.h",
447 "__format/formatter_output.h",
448 "__format/formatter_pointer.h",
449 "__format/formatter_string.h",
450 "__format/formatter_tuple.h",
451 "__format/indic_conjunct_break_table.h",
452 "__format/parser_std_format_spec.h",
453 "__format/range_default_formatter.h",
454 "__format/range_formatter.h",
455 "__format/unicode.h",
456 "__format/width_estimation_table.h",
457 "__format/write_escaped.h",
458 "__functional/binary_function.h",
459 "__functional/binary_negate.h",
460 "__functional/bind.h",
461 "__functional/bind_back.h",
462 "__functional/bind_front.h",
463 "__functional/binder1st.h",
464 "__functional/binder2nd.h",
465 "__functional/boyer_moore_searcher.h",
466 "__functional/compose.h",
467 "__functional/default_searcher.h",
468 "__functional/function.h",
469 "__functional/hash.h",
470 "__functional/identity.h",
471 "__functional/invoke.h",
472 "__functional/is_transparent.h",
473 "__functional/mem_fn.h",
474 "__functional/mem_fun_ref.h",
475 "__functional/not_fn.h",
476 "__functional/operations.h",
477 "__functional/perfect_forward.h",
478 "__functional/pointer_to_binary_function.h",
479 "__functional/pointer_to_unary_function.h",
480 "__functional/ranges_operations.h",
481 "__functional/reference_wrapper.h",
482 "__functional/unary_function.h",
483 "__functional/unary_negate.h",
484 "__functional/weak_result_type.h",
485 "__fwd/array.h",
486 "__fwd/bit_reference.h",
487 "__fwd/complex.h",
488 "__fwd/deque.h",
489 "__fwd/format.h",
490 "__fwd/fstream.h",
491 "__fwd/functional.h",
492 "__fwd/ios.h",
493 "__fwd/istream.h",
494 "__fwd/mdspan.h",
495 "__fwd/memory.h",
496 "__fwd/memory_resource.h",
497 "__fwd/ostream.h",
498 "__fwd/pair.h",
499 "__fwd/queue.h",
500 "__fwd/span.h",
501 "__fwd/sstream.h",
502 "__fwd/stack.h",
503 "__fwd/streambuf.h",
504 "__fwd/string.h",
505 "__fwd/string_view.h",
506 "__fwd/subrange.h",
507 "__fwd/tuple.h",
508 "__fwd/vector.h",
509 "__hash_table",
510 "__ios/fpos.h",
511 "__iterator/access.h",
512 "__iterator/advance.h",
513 "__iterator/aliasing_iterator.h",
514 "__iterator/back_insert_iterator.h",
515 "__iterator/bounded_iter.h",
516 "__iterator/common_iterator.h",
517 "__iterator/concepts.h",
518 "__iterator/counted_iterator.h",
519 "__iterator/cpp17_iterator_concepts.h",
520 "__iterator/data.h",
521 "__iterator/default_sentinel.h",
522 "__iterator/distance.h",
523 "__iterator/empty.h",
524 "__iterator/erase_if_container.h",
525 "__iterator/front_insert_iterator.h",
526 "__iterator/incrementable_traits.h",
527 "__iterator/indirectly_comparable.h",
528 "__iterator/insert_iterator.h",
529 "__iterator/istream_iterator.h",
530 "__iterator/istreambuf_iterator.h",
531 "__iterator/iter_move.h",
532 "__iterator/iter_swap.h",
533 "__iterator/iterator.h",
534 "__iterator/iterator_traits.h",
535 "__iterator/iterator_with_data.h",
536 "__iterator/mergeable.h",
537 "__iterator/move_iterator.h",
538 "__iterator/move_sentinel.h",
539 "__iterator/next.h",
540 "__iterator/ostream_iterator.h",
541 "__iterator/ostreambuf_iterator.h",
542 "__iterator/permutable.h",
543 "__iterator/prev.h",
544 "__iterator/projected.h",
545 "__iterator/ranges_iterator_traits.h",
546 "__iterator/readable_traits.h",
547 "__iterator/reverse_access.h",
548 "__iterator/reverse_iterator.h",
549 "__iterator/segmented_iterator.h",
550 "__iterator/size.h",
551 "__iterator/sortable.h",
552 "__iterator/unreachable_sentinel.h",
553 "__iterator/wrap_iter.h",
554 "__locale",
555 "__locale_dir/locale_base_api.h",
556 "__locale_dir/locale_base_api/android.h",
557 "__locale_dir/locale_base_api/bsd_locale_defaults.h",
558 "__locale_dir/locale_base_api/bsd_locale_fallbacks.h",
559 "__locale_dir/locale_base_api/fuchsia.h",
560 "__locale_dir/locale_base_api/ibm.h",
561 "__locale_dir/locale_base_api/locale_guard.h",
562 "__locale_dir/locale_base_api/musl.h",
563 "__locale_dir/locale_base_api/newlib.h",
564 "__locale_dir/locale_base_api/openbsd.h",
565 "__locale_dir/locale_base_api/win32.h",
566 "__math/abs.h",
567 "__math/copysign.h",
568 "__math/error_functions.h",
569 "__math/exponential_functions.h",
570 "__math/fdim.h",
571 "__math/fma.h",
572 "__math/gamma.h",
573 "__math/hyperbolic_functions.h",
574 "__math/hypot.h",
575 "__math/inverse_hyperbolic_functions.h",
576 "__math/inverse_trigonometric_functions.h",
577 "__math/logarithms.h",
578 "__math/min_max.h",
579 "__math/modulo.h",
580 "__math/remainder.h",
581 "__math/roots.h",
582 "__math/rounding_functions.h",
583 "__math/special_functions.h",
584 "__math/traits.h",
585 "__math/trigonometric_functions.h",
586 "__mbstate_t.h",
587 "__mdspan/default_accessor.h",
588 "__mdspan/extents.h",
589 "__mdspan/layout_left.h",
590 "__mdspan/layout_right.h",
591 "__mdspan/layout_stride.h",
592 "__mdspan/mdspan.h",
593 "__memory/addressof.h",
594 "__memory/align.h",
595 "__memory/aligned_alloc.h",
596 "__memory/allocate_at_least.h",
597 "__memory/allocation_guard.h",
598 "__memory/allocator.h",
599 "__memory/allocator_arg_t.h",
600 "__memory/allocator_destructor.h",
601 "__memory/allocator_traits.h",
602 "__memory/assume_aligned.h",
603 "__memory/auto_ptr.h",
604 "__memory/builtin_new_allocator.h",
605 "__memory/compressed_pair.h",
606 "__memory/concepts.h",
607 "__memory/construct_at.h",
608 "__memory/destruct_n.h",
609 "__memory/inout_ptr.h",
610 "__memory/out_ptr.h",
611 "__memory/pointer_traits.h",
612 "__memory/ranges_construct_at.h",
613 "__memory/ranges_uninitialized_algorithms.h",
614 "__memory/raw_storage_iterator.h",
615 "__memory/shared_ptr.h",
616 "__memory/swap_allocator.h",
617 "__memory/temp_value.h",
618 "__memory/temporary_buffer.h",
619 "__memory/uninitialized_algorithms.h",
620 "__memory/unique_ptr.h",
621 "__memory/uses_allocator.h",
622 "__memory/uses_allocator_construction.h",
623 "__memory/voidify.h",
624 "__memory_resource/memory_resource.h",
625 "__memory_resource/monotonic_buffer_resource.h",
626 "__memory_resource/polymorphic_allocator.h",
627 "__memory_resource/pool_options.h",
628 "__memory_resource/synchronized_pool_resource.h",
629 "__memory_resource/unsynchronized_pool_resource.h",
630 "__mutex/lock_guard.h",
631 "__mutex/mutex.h",
632 "__mutex/once_flag.h",
633 "__mutex/tag_types.h",
634 "__mutex/unique_lock.h",
635 "__node_handle",
636 "__numeric/accumulate.h",
637 "__numeric/adjacent_difference.h",
638 "__numeric/exclusive_scan.h",
639 "__numeric/gcd_lcm.h",
640 "__numeric/inclusive_scan.h",
641 "__numeric/inner_product.h",
642 "__numeric/iota.h",
643 "__numeric/midpoint.h",
644 "__numeric/partial_sum.h",
645 "__numeric/pstl.h",
646 "__numeric/reduce.h",
647 "__numeric/saturation_arithmetic.h",
648 "__numeric/transform_exclusive_scan.h",
649 "__numeric/transform_inclusive_scan.h",
650 "__numeric/transform_reduce.h",
651 "__ostream/basic_ostream.h",
652 "__ostream/print.h",
653 "__pstl/backend.h",
654 "__pstl/backend_fwd.h",
655 "__pstl/backends/default.h",
656 "__pstl/backends/libdispatch.h",
657 "__pstl/backends/serial.h",
658 "__pstl/backends/std_thread.h",
659 "__pstl/cpu_algos/any_of.h",
660 "__pstl/cpu_algos/cpu_traits.h",
661 "__pstl/cpu_algos/fill.h",
662 "__pstl/cpu_algos/find_if.h",
663 "__pstl/cpu_algos/for_each.h",
664 "__pstl/cpu_algos/merge.h",
665 "__pstl/cpu_algos/stable_sort.h",
666 "__pstl/cpu_algos/transform.h",
667 "__pstl/cpu_algos/transform_reduce.h",
668 "__pstl/dispatch.h",
669 "__pstl/handle_exception.h",
670 "__random/bernoulli_distribution.h",
671 "__random/binomial_distribution.h",
672 "__random/cauchy_distribution.h",
673 "__random/chi_squared_distribution.h",
674 "__random/clamp_to_integral.h",
675 "__random/default_random_engine.h",
676 "__random/discard_block_engine.h",
677 "__random/discrete_distribution.h",
678 "__random/exponential_distribution.h",
679 "__random/extreme_value_distribution.h",
680 "__random/fisher_f_distribution.h",
681 "__random/gamma_distribution.h",
682 "__random/generate_canonical.h",
683 "__random/geometric_distribution.h",
684 "__random/independent_bits_engine.h",
685 "__random/is_seed_sequence.h",
686 "__random/is_valid.h",
687 "__random/knuth_b.h",
688 "__random/linear_congruential_engine.h",
689 "__random/log2.h",
690 "__random/lognormal_distribution.h",
691 "__random/mersenne_twister_engine.h",
692 "__random/negative_binomial_distribution.h",
693 "__random/normal_distribution.h",
694 "__random/piecewise_constant_distribution.h",
695 "__random/piecewise_linear_distribution.h",
696 "__random/poisson_distribution.h",
697 "__random/random_device.h",
698 "__random/ranlux.h",
699 "__random/seed_seq.h",
700 "__random/shuffle_order_engine.h",
701 "__random/student_t_distribution.h",
702 "__random/subtract_with_carry_engine.h",
703 "__random/uniform_int_distribution.h",
704 "__random/uniform_random_bit_generator.h",
705 "__random/uniform_real_distribution.h",
706 "__random/weibull_distribution.h",
707 "__ranges/access.h",
708 "__ranges/all.h",
709 "__ranges/as_rvalue_view.h",
710 "__ranges/chunk_by_view.h",
711 "__ranges/common_view.h",
712 "__ranges/concepts.h",
713 "__ranges/container_compatible_range.h",
714 "__ranges/counted.h",
715 "__ranges/dangling.h",
716 "__ranges/data.h",
717 "__ranges/drop_view.h",
718 "__ranges/drop_while_view.h",
719 "__ranges/elements_view.h",
720 "__ranges/empty.h",
721 "__ranges/empty_view.h",
722 "__ranges/enable_borrowed_range.h",
723 "__ranges/enable_view.h",
724 "__ranges/filter_view.h",
725 "__ranges/from_range.h",
726 "__ranges/iota_view.h",
727 "__ranges/istream_view.h",
728 "__ranges/join_view.h",
729 "__ranges/lazy_split_view.h",
730 "__ranges/movable_box.h",
731 "__ranges/non_propagating_cache.h",
732 "__ranges/owning_view.h",
733 "__ranges/range_adaptor.h",
734 "__ranges/rbegin.h",
735 "__ranges/ref_view.h",
736 "__ranges/rend.h",
737 "__ranges/repeat_view.h",
738 "__ranges/reverse_view.h",
739 "__ranges/single_view.h",
740 "__ranges/size.h",
741 "__ranges/split_view.h",
742 "__ranges/subrange.h",
743 "__ranges/take_view.h",
744 "__ranges/take_while_view.h",
745 "__ranges/to.h",
746 "__ranges/transform_view.h",
747 "__ranges/view_interface.h",
748 "__ranges/views.h",
749 "__ranges/zip_view.h",
750 "__split_buffer",
751 "__std_mbstate_t.h",
752 "__stop_token/atomic_unique_lock.h",
753 "__stop_token/intrusive_list_view.h",
754 "__stop_token/intrusive_shared_ptr.h",
755 "__stop_token/stop_callback.h",
756 "__stop_token/stop_source.h",
757 "__stop_token/stop_state.h",
758 "__stop_token/stop_token.h",
759 "__string/char_traits.h",
760 "__string/constexpr_c_functions.h",
761 "__string/extern_template_lists.h",
762 "__support/ibm/gettod_zos.h",
763 "__support/ibm/locale_mgmt_zos.h",
764 "__support/ibm/nanosleep.h",
765 "__support/xlocale/__nop_locale_mgmt.h",
766 "__support/xlocale/__posix_l_fallback.h",
767 "__support/xlocale/__strtonum_fallback.h",
768 "__system_error/errc.h",
769 "__system_error/error_category.h",
770 "__system_error/error_code.h",
771 "__system_error/error_condition.h",
772 "__system_error/system_error.h",
773 "__thread/formatter.h",
774 "__thread/id.h",
775 "__thread/jthread.h",
776 "__thread/poll_with_backoff.h",
777 "__thread/support.h",
778 "__thread/support/c11.h",
779 "__thread/support/external.h",
780 "__thread/support/pthread.h",
781 "__thread/support/windows.h",
782 "__thread/this_thread.h",
783 "__thread/thread.h",
784 "__thread/timed_backoff_policy.h",
785 "__tree",
786 "__tuple/find_index.h",
787 "__tuple/ignore.h",
788 "__tuple/make_tuple_types.h",
789 "__tuple/sfinae_helpers.h",
790 "__tuple/tuple_element.h",
791 "__tuple/tuple_indices.h",
792 "__tuple/tuple_like.h",
793 "__tuple/tuple_like_ext.h",
794 "__tuple/tuple_like_no_subrange.h",
795 "__tuple/tuple_size.h",
796 "__tuple/tuple_types.h",
797 "__type_traits/add_const.h",
798 "__type_traits/add_cv.h",
799 "__type_traits/add_lvalue_reference.h",
800 "__type_traits/add_pointer.h",
801 "__type_traits/add_rvalue_reference.h",
802 "__type_traits/add_volatile.h",
803 "__type_traits/aligned_storage.h",
804 "__type_traits/aligned_union.h",
805 "__type_traits/alignment_of.h",
806 "__type_traits/can_extract_key.h",
807 "__type_traits/common_reference.h",
808 "__type_traits/common_type.h",
809 "__type_traits/conditional.h",
810 "__type_traits/conjunction.h",
811 "__type_traits/copy_cv.h",
812 "__type_traits/copy_cvref.h",
813 "__type_traits/datasizeof.h",
814 "__type_traits/decay.h",
815 "__type_traits/dependent_type.h",
816 "__type_traits/desugars_to.h",
817 "__type_traits/disjunction.h",
818 "__type_traits/enable_if.h",
819 "__type_traits/extent.h",
820 "__type_traits/has_unique_object_representation.h",
821 "__type_traits/has_virtual_destructor.h",
822 "__type_traits/integral_constant.h",
823 "__type_traits/invoke.h",
824 "__type_traits/is_abstract.h",
825 "__type_traits/is_aggregate.h",
826 "__type_traits/is_allocator.h",
827 "__type_traits/is_always_bitcastable.h",
828 "__type_traits/is_arithmetic.h",
829 "__type_traits/is_array.h",
830 "__type_traits/is_assignable.h",
831 "__type_traits/is_base_of.h",
832 "__type_traits/is_bounded_array.h",
833 "__type_traits/is_callable.h",
834 "__type_traits/is_char_like_type.h",
835 "__type_traits/is_class.h",
836 "__type_traits/is_compound.h",
837 "__type_traits/is_const.h",
838 "__type_traits/is_constant_evaluated.h",
839 "__type_traits/is_constructible.h",
840 "__type_traits/is_convertible.h",
841 "__type_traits/is_core_convertible.h",
842 "__type_traits/is_destructible.h",
843 "__type_traits/is_empty.h",
844 "__type_traits/is_enum.h",
845 "__type_traits/is_equality_comparable.h",
846 "__type_traits/is_execution_policy.h",
847 "__type_traits/is_final.h",
848 "__type_traits/is_floating_point.h",
849 "__type_traits/is_function.h",
850 "__type_traits/is_fundamental.h",
851 "__type_traits/is_implicitly_default_constructible.h",
852 "__type_traits/is_integral.h",
853 "__type_traits/is_literal_type.h",
854 "__type_traits/is_member_pointer.h",
855 "__type_traits/is_nothrow_assignable.h",
856 "__type_traits/is_nothrow_constructible.h",
857 "__type_traits/is_nothrow_convertible.h",
858 "__type_traits/is_nothrow_destructible.h",
859 "__type_traits/is_null_pointer.h",
860 "__type_traits/is_object.h",
861 "__type_traits/is_pod.h",
862 "__type_traits/is_pointer.h",
863 "__type_traits/is_polymorphic.h",
864 "__type_traits/is_primary_template.h",
865 "__type_traits/is_reference.h",
866 "__type_traits/is_reference_wrapper.h",
867 "__type_traits/is_referenceable.h",
868 "__type_traits/is_same.h",
869 "__type_traits/is_scalar.h",
870 "__type_traits/is_signed.h",
871 "__type_traits/is_signed_integer.h",
872 "__type_traits/is_specialization.h",
873 "__type_traits/is_standard_layout.h",
874 "__type_traits/is_swappable.h",
875 "__type_traits/is_trivial.h",
876 "__type_traits/is_trivially_assignable.h",
877 "__type_traits/is_trivially_constructible.h",
878 "__type_traits/is_trivially_copyable.h",
879 "__type_traits/is_trivially_destructible.h",
880 "__type_traits/is_trivially_lexicographically_comparable.h",
881 "__type_traits/is_trivially_relocatable.h",
882 "__type_traits/is_unbounded_array.h",
883 "__type_traits/is_union.h",
884 "__type_traits/is_unsigned.h",
885 "__type_traits/is_unsigned_integer.h",
886 "__type_traits/is_valid_expansion.h",
887 "__type_traits/is_void.h",
888 "__type_traits/is_volatile.h",
889 "__type_traits/lazy.h",
890 "__type_traits/make_32_64_or_128_bit.h",
891 "__type_traits/make_const_lvalue_ref.h",
892 "__type_traits/make_signed.h",
893 "__type_traits/make_unsigned.h",
894 "__type_traits/maybe_const.h",
895 "__type_traits/nat.h",
896 "__type_traits/negation.h",
897 "__type_traits/noexcept_move_assign_container.h",
898 "__type_traits/promote.h",
899 "__type_traits/rank.h",
900 "__type_traits/remove_all_extents.h",
901 "__type_traits/remove_const.h",
902 "__type_traits/remove_const_ref.h",
903 "__type_traits/remove_cv.h",
904 "__type_traits/remove_cvref.h",
905 "__type_traits/remove_extent.h",
906 "__type_traits/remove_pointer.h",
907 "__type_traits/remove_reference.h",
908 "__type_traits/remove_volatile.h",
909 "__type_traits/result_of.h",
910 "__type_traits/strip_signature.h",
911 "__type_traits/type_identity.h",
912 "__type_traits/type_list.h",
913 "__type_traits/underlying_type.h",
914 "__type_traits/unwrap_ref.h",
915 "__type_traits/void_t.h",
916 "__undef_macros",
917 "__utility/as_const.h",
918 "__utility/as_lvalue.h",
919 "__utility/auto_cast.h",
920 "__utility/cmp.h",
921 "__utility/convert_to_integral.h",
922 "__utility/declval.h",
923 "__utility/empty.h",
924 "__utility/exception_guard.h",
925 "__utility/exchange.h",
926 "__utility/forward.h",
927 "__utility/forward_like.h",
928 "__utility/in_place.h",
929 "__utility/integer_sequence.h",
930 "__utility/is_pointer_in_range.h",
931 "__utility/is_valid_range.h",
932 "__utility/move.h",
933 "__utility/no_destroy.h",
934 "__utility/pair.h",
935 "__utility/piecewise_construct.h",
936 "__utility/priority_tag.h",
937 "__utility/private_constructor_tag.h",
938 "__utility/rel_ops.h",
939 "__utility/small_buffer.h",
940 "__utility/swap.h",
941 "__utility/to_underlying.h",
942 "__utility/unreachable.h",
943 "__variant/monostate.h",
944 "__verbose_abort",
945 "algorithm",
946 "any",
947 "array",
948 "atomic",
949 "barrier",
950 "bit",
951 "bitset",
952 "cassert",
953 "ccomplex",
954 "cctype",
955 "cerrno",
956 "cfenv",
957 "cfloat",
958 "charconv",
959 "chrono",
960 "cinttypes",
961 "ciso646",
962 "climits",
963 "clocale",
964 "cmath",
965 "codecvt",
966 "compare",
967 "complex",
968 "complex.h",
969 "concepts",
970 "condition_variable",
971 "coroutine",
972 "csetjmp",
973 "csignal",
974 "cstdarg",
975 "cstdbool",
976 "cstddef",
977 "cstdint",
978 "cstdio",
979 "cstdlib",
980 "cstring",
981 "ctgmath",
982 "ctime",
983 "ctype.h",
984 "cuchar",
985 "cwchar",
986 "cwctype",
987 "deque",
988 "errno.h",
989 "exception",
990 "execution",
991 "expected",
992 "experimental/__config",
993 "experimental/__simd/aligned_tag.h",
994 "experimental/__simd/declaration.h",
995 "experimental/__simd/reference.h",
996 "experimental/__simd/scalar.h",
997 "experimental/__simd/simd.h",
998 "experimental/__simd/simd_mask.h",
999 "experimental/__simd/traits.h",
1000 "experimental/__simd/utility.h",
1001 "experimental/__simd/vec_ext.h",
1002 "experimental/iterator",
1003 "experimental/memory",
1004 "experimental/propagate_const",
1005 "experimental/simd",
1006 "experimental/type_traits",
1007 "experimental/utility",
1008 "ext/__hash",
1009 "ext/hash_map",
1010 "ext/hash_set",
1011 "fenv.h",
1012 "filesystem",
1013 "float.h",
1014 "format",
1015 "forward_list",
1016 "fstream",
1017 "functional",
1018 "future",
1019 "initializer_list",
1020 "inttypes.h",
1021 "iomanip",
1022 "ios",
1023 "iosfwd",
1024 "iostream",
1025 "istream",
1026 "iterator",
1027 "latch",
1028 "limits",
1029 "list",
1030 "locale",
1031 "locale.h",
1032 "map",
1033 "math.h",
1034 "mdspan",
1035 "memory",
1036 "memory_resource",
1037 "module.modulemap",
1038 "mutex",
1039 "new",
1040 "numbers",
1041 "numeric",
1042 "optional",
1043 "ostream",
1044 "print",
1045 "queue",
1046 "random",
1047 "ranges",
1048 "ratio",
1049 "regex",
1050 "scoped_allocator",
1051 "semaphore",
1052 "set",
1053 "shared_mutex",
1054 "source_location",
1055 "span",
1056 "sstream",
1057 "stack",
1058 "stdatomic.h",
1059 "stdbool.h",
1060 "stddef.h",
1061 "stdexcept",
1062 "stdint.h",
1063 "stdio.h",
1064 "stdlib.h",
1065 "stop_token",
1066 "streambuf",
1067 "string",
1068 "string.h",
1069 "string_view",
1070 "strstream",
1071 "syncstream",
1072 "system_error",
1073 "tgmath.h",
1074 "thread",
1075 "tuple",
1076 "type_traits",
1077 "typeindex",
1078 "typeinfo",
1079 "uchar.h",
1080 "unordered_map",
1081 "unordered_set",
1082 "utility",
1083 "valarray",
1084 "variant",
1085 "vector",
1086 "version",
1087 "wchar.h",
1088 "wctype.h",
1089 ]
1090 deps = [
1091 ":write_assertion_handler",
1092 ":write_config_site",
1093 ]
1094 if (target_os != "mac" && target_os != "win") {
1095 # libcxx/cmake/Modules/HandleLibCXXABI.cmake sets
1096 # LIBCXX_CXX_ABI_HEADER_TARGET if the libcxx abi library either of
1097 # "libstdc++", "libsupc++", "libcxxabi", "libcxxrt", but not if it's "none",
1098 # "default", or "vcruntime". So on Windows, these don't get copied due to
1099 # LIBCXX_CXX_ABI_HEADER_TARGET not being set.
1100 # On macOS, libcxx/CMakeLists.txt sets LIBCXX_CXX_ABI_SYSTEM to 1, which
1101 # causes an empty header list to be passed to setup_abi_lib, so these
1102 # don't get copied on macOS due to that.
1103 deps += [ "//libcxxabi/include" ]
1104 }
1105 outputs = [ "$root_build_dir/include/c++/v1/{{source_target_relative}}" ]
1106 }
1107 }
1108
1109 config("include_config") {
1110 include_dirs = [ libcxx_generated_include_dir ]
1111 }
1112
1113 group("include") {
1114 deps = [ ":copy_headers($default_toolchain)" ]
1115 public_configs = [ ":include_config" ]
1116 }