aboutsummaryrefslogtreecommitdiffstats
path: root/build/sysincl/macro.yml
blob: 0932a56a567d00734531970195e62f4108dda0ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# This file contains the most frequently used macros from the whole arcadia
- includes:

    # libc++ uses include_next statement to include headers from libc and / or compiler-provided headers.
    # As MSVC compiler does not support this setting, we emulate it via these macro-defines.
    #
    # These includes are used in contrib/libs/cxxsupp/libcxx and contrib/libs/libc_compat,
    # hence source_filter setting is intentionally omitted.
    - Y_MSVC_INCLUDE_NEXT(eh.h)
    - Y_MSVC_INCLUDE_NEXT(initializer_list)
    - Y_MSVC_INCLUDE_NEXT(limits.h)
    - Y_MSVC_INCLUDE_NEXT(math.h)
    - Y_MSVC_INCLUDE_NEXT(setjmp.h)
    - Y_MSVC_INCLUDE_NEXT(stdbool.h)
    - Y_MSVC_INCLUDE_NEXT(stdint.h)
    - Y_MSVC_INCLUDE_NEXT(yvals.h)

    - Y_UCRT_INCLUDE_NEXT(coMPlex.h)
    - Y_UCRT_INCLUDE_NEXT(ctype.h)
    - Y_UCRT_INCLUDE_NEXT(errno.h)
    - Y_UCRT_INCLUDE_NEXT(fenv.h)
    - Y_UCRT_INCLUDE_NEXT(float.h)
    - Y_UCRT_INCLUDE_NEXT(inttypes.h)
    - Y_UCRT_INCLUDE_NEXT(locale.h)
    - Y_UCRT_INCLUDE_NEXT(math.h)
    - Y_UCRT_INCLUDE_NEXT(stddef.h)
    - Y_UCRT_INCLUDE_NEXT(stdio.h)
    - Y_UCRT_INCLUDE_NEXT(stdlib.h)
    - Y_UCRT_INCLUDE_NEXT(string.h)
    - Y_UCRT_INCLUDE_NEXT(wchar.h)
    - Y_UCRT_INCLUDE_NEXT(wctype.h)

    # BOOST_PP_INCLUDE_SELF() SHOULD be always be resolved into the same file it is included from.
    # Hence this file was already parsed and empty resolving is equivalent to providing the actual resolution for it.
    - BOOST_PP_INCLUDE_SELF()

    # libfreetype officially insists on using macros to include its headers:
    # https://freetype.org/freetype2/docs/tutorial/step1.html#section-1
    #
    # Many contribs follow this recommendation, so these sysincls intentionally lack source_filter setting.
    - FT_ADVANCES_H: contrib/libs/freetype/include/freetype/ftadvanc.h
    - FT_BBOX_H: contrib/libs/freetype/include/freetype/ftbbox.h
    - FT_BDF_H: contrib/libs/freetype/include/freetype/ftbdf.h
    - FT_BITMAP_H: contrib/libs/freetype/include/freetype/ftbitmap.h
    - FT_BZIP2_H: contrib/libs/freetype/include/freetype/ftbzip2.h
    - FT_CACHE_H: contrib/libs/freetype/include/freetype/ftcache.h
    - FT_CID_H: contrib/libs/freetype/include/freetype/ftcid.h
    - FT_COLOR_H: contrib/libs/freetype/include/freetype/ftcolor.h
    - FT_CONFIG_CONFIG_H: contrib/libs/freetype/include/freetype/config/ftconfig.h
    - FT_CONFIG_MODULES_H: contrib/libs/freetype/include/freetype/config/ftmodule.h
    - FT_CONFIG_OPTIONS_H: contrib/libs/freetype/include/freetype/config/ftoption.h
    - FT_CONFIG_STANDARD_LIBRARY_H: contrib/libs/freetype/include/freetype/config/ftstdlib.h
    - FT_ERRORS_H: contrib/libs/freetype/include/freetype/fterrors.h
    - FT_FONT_FORMATS_H: contrib/libs/freetype/include/freetype/ftfntfmt.h
    - FT_FREETYPE_H: contrib/libs/freetype/include/freetype/freetype.h
    - FT_GASP_H: contrib/libs/freetype/include/freetype/ftgasp.h
    - FT_GLYPH_H: contrib/libs/freetype/include/freetype/ftglyph.h
    - FT_GX_VALIDATE_H: contrib/libs/freetype/include/freetype/ftgxval.h
    - FT_GZIP_H: contrib/libs/freetype/include/freetype/ftgzip.h
    - FT_IMAGE_H: contrib/libs/freetype/include/freetype/ftimage.h
    - FT_INCREMENTAL_H: contrib/libs/freetype/include/freetype/ftincrem.h
    - FT_LCD_FILTER_H: contrib/libs/freetype/include/freetype/ftlcdfil.h
    - FT_LIST_H: contrib/libs/freetype/include/freetype/ftlist.h
    - FT_LZW_H: contrib/libs/freetype/include/freetype/ftlzw.h
    - FT_MAC_H: contrib/libs/freetype/include/freetype/ftmac.h
    - FT_MODULE_ERRORS_H: contrib/libs/freetype/include/freetype/ftmoderr.h
    - FT_MODULE_H: contrib/libs/freetype/include/freetype/ftmodapi.h
    - FT_MULTIPLE_MASTERS_H: contrib/libs/freetype/include/freetype/ftmm.h
    - FT_OPENTYPE_VALIDATE_H: contrib/libs/freetype/include/freetype/ftotval.h
    - FT_OTSVG_H: contrib/libs/freetype/include/freetype/otsvg.h
    - FT_OUTLINE_H: contrib/libs/freetype/include/freetype/ftoutln.h
    - FT_PFR_H: contrib/libs/freetype/include/freetype/ftpfr.h
    - FT_RENDER_H: contrib/libs/freetype/include/freetype/ftrender.h
    - FT_SFNT_NAMES_H: contrib/libs/freetype/include/freetype/ftsnames.h
    - FT_SIZES_H: contrib/libs/freetype/include/freetype/ftsizes.h
    - FT_STROKER_H: contrib/libs/freetype/include/freetype/ftstroke.h
    - FT_SYNTHESIS_H: contrib/libs/freetype/include/freetype/ftsynth.h
    - FT_SYSTEM_H: contrib/libs/freetype/include/freetype/ftsystem.h
    - FT_TRIGONOMETRY_H: contrib/libs/freetype/include/freetype/fttrigon.h
    - FT_TRUETYPE_IDS_H: contrib/libs/freetype/include/freetype/ttnameid.h
    - FT_TRUETYPE_TABLES_H: contrib/libs/freetype/include/freetype/tttables.h
    - FT_TRUETYPE_TAGS_H: contrib/libs/freetype/include/freetype/tttags.h
    - FT_TYPE1_TABLES_H: contrib/libs/freetype/include/freetype/t1tables.h
    - FT_TYPES_H: contrib/libs/freetype/include/freetype/fttypes.h
    - FT_WINFONTS_H: contrib/libs/freetype/include/freetype/ftwinfnt.h
    - FT_XFREE86_H: contrib/libs/freetype/include/freetype/ftfntfmt.h

- source_filter: "^contrib/libs/openssl"
  includes:
    - OPENSSL_UNISTD: $U/unistd.h

- source_filter: "^contrib/libs/ctemplate"
  includes:
    - HASH_MAP_H: $U/unordered_map
    - HASH_SET_H: $U/unordered_set

- source_filter: "^contrib/libs/llvm(\\d+)"
  includes:
    - BACKTRACE_HEADER: $U/execinfo.h

- source_filter: "^contrib/libs/pycxx"
  includes:
    - STR_STREAM: $U/sstream

- source_filter: "^contrib/restricted/abseil-cpp-tstring/y_absl/debugging"
  includes:
    - Y_ABSL_STACKTRACE_INL_HEADER:
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_win32-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_generic-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_emscripten-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_x86-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_powerpc-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_aarch64-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_riscv-inl.inc
      - contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/stacktrace_unimplemented-inl.inc

- source_filter: "^contrib/restricted/abseil-cpp/absl/debugging"
  includes:
    - ABSL_STACKTRACE_INL_HEADER:
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_win32-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_emscripten-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_riscv-inl.inc
      - contrib/restricted/abseil-cpp/absl/debugging/internal/stacktrace_unimplemented-inl.inc

- source_filter: "^contrib/restricted/boost"
  includes:
    - BOOST_COMPILER_CONFIG:
      - contrib/restricted/boost/config/include/boost/config/compiler/intel.hpp
      - contrib/restricted/boost/config/include/boost/config/compiler/clang.hpp
      - contrib/restricted/boost/config/include/boost/config/compiler/gcc.hpp
    - BOOST_PLATFORM_CONFIG:
      - contrib/restricted/boost/config/include/boost/config/platform/linux.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/bsd.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/solaris.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/irix.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/hpux.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/cygwin.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/win32.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/haiku.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/beos.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/macos.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/zos.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/aix.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/amigaos.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/qnxnto.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/symbian.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/cray.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/vms.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/cloudabi.hpp
      - contrib/restricted/boost/config/include/boost/config/platform/wasm.hpp
    - BOOST_STDLIB_CONFIG:
      - contrib/restricted/boost/config/include/boost/config/stdlib/stlport.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/libcomo.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/roguewave.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/libcpp.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/libstdcpp3.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/sgi.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/msl.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/xlcpp_zos.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/vacpp.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/modena.hpp
      - contrib/restricted/boost/config/include/boost/config/stdlib/dinkumware.hpp
    - BOOST_FT_cc_file:
      - contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_variate_loop/preprocessed.hpp
      - contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_tags/cc_tag.hpp
    - BOOST_ABI_PREFIX: contrib/restricted/boost/config/include/boost/config/abi/msvc_prefix.hpp
    - BOOST_ABI_SUFFIX: contrib/restricted/boost/config/include/boost/config/abi/msvc_suffix.hpp
    - BOOST_FT_loop: contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_cc_loop/master.hpp
    - BOOST_FT_variate_file: contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_arity_loop.hpp
    - BOOST_PP_ASSIGN_SLOT(1): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot1.hpp
    - BOOST_PP_INCLUDE_SELF(): contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/self.hpp
    - BOOST_PP_LOCAL_ITERATE(): contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/local.hpp
    - BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP(): contrib/restricted/boost/typeof/include/boost/typeof/incr_registration_group.hpp
    - BOOST_REGEX_USER_CONFIG: contrib/restricted/boost/regex/include/boost/regex/user.hpp
    - BOOST_USER_CONFIG: contrib/restricted/boost/config/include/boost/config/user.hpp

- source_filter: "^contrib/restricted/boost/atomic"
  includes:
    - BOOST_ATOMIC_DETAIL_FP_BACKEND_HEADER(boost/atomic/detail/fp_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fp_ops_emulated.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fp_ops_generic.hpp
    - BOOST_ATOMIC_DETAIL_BACKEND_HEADER(boost/atomic/detail/caps_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_aarch32.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_aarch64.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_alpha.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_ppc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_sparc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_msvc_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_msvc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_gcc_atomic.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_gcc_sync.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_linux_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_windows.hpp
    - BOOST_ATOMIC_DETAIL_EXTRA_FP_BACKEND_HEADER(boost/atomic/detail/extra_fp_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_fp_operations.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_fp_operations_fwd.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_fp_ops_emulated.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_fp_ops_generic.hpp
    - BOOST_ATOMIC_DETAIL_EXTRA_BACKEND_HEADER(boost/atomic/detail/extra_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_emulated.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_gcc_aarch32.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_gcc_aarch64.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_gcc_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_gcc_ppc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_gcc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_generic.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_msvc_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/extra_ops_msvc_x86.hpp
    - BOOST_ATOMIC_DETAIL_BACKEND_HEADER(boost/atomic/detail/ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/ops_gcc_aarch32_common.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/ops_gcc_aarch64_common.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/ops_gcc_arm_common.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/ops_gcc_ppc_common.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/ops_msvc_common.hpp
    - BOOST_ATOMIC_DETAIL_CORE_ARCH_BACKEND_HEADER(boost/atomic/detail/caps_arch_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_aarch64.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_aarch32.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_ppc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_sparc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_gcc_alpha.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_msvc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_arch_msvc_arm.hpp
    - BOOST_ATOMIC_DETAIL_CORE_ARCH_BACKEND_HEADER(boost/atomic/detail/core_arch_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_gcc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_msvc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_arch_ops_msvc_arm.hpp
    - BOOST_ATOMIC_DETAIL_CORE_ARCH_BACKEND_HEADER(boost/atomic/detail/fence_arch_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp
    - BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/caps_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_gcc_atomic.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_gcc_sync.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_linux_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/caps_windows.hpp
    - BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/core_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_ops_gcc_atomic.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_ops_gcc_sync.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_ops_linux_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/core_ops_windows.hpp
    - BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/fence_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_ops_gcc_atomic.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_ops_gcc_sync.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_ops_linux_arm.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/fence_ops_windows.hpp
    - BOOST_ATOMIC_DETAIL_WAIT_BACKEND_HEADER(boost/atomic/detail/wait_caps_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_caps_darwin_ulock.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_caps_freebsd_umtx.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_caps_futex.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_caps_windows.hpp
    - BOOST_ATOMIC_DETAIL_WAIT_BACKEND_HEADER(boost/atomic/detail/wait_ops_):
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_ops_darwin_ulock.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_ops_freebsd_umtx.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_ops_futex.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_ops_generic.hpp
      - contrib/restricted/boost/atomic/include/boost/atomic/detail/wait_ops_windows.hpp
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/atomic/src/lock_pool_init1.ipp
      - contrib/restricted/boost/atomic/src/lock_pool_init256.ipp

- source_filter: "^contrib/restricted/boost/function/"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/function/include/boost/function/detail/function_iterate.hpp

# FIXME thegeorg@:
#   boost/function_types/detail/pp_arity_loop.hpp does some extremely magical preprocessor magic
#   which I have failed to compile and evalute.
#
#   Corresponding includes will not be resolved by ymake
- source_filter: "^contrib/restricted/boost/function_types"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_cc_loop/master.hpp

- source_filter: "^contrib/restricted/boost/functional"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/functional/include/boost/functional/forward_adapter.hpp
      - contrib/restricted/boost/functional/include/boost/functional/lightweight_forward_adapter.hpp
      - contrib/restricted/boost/functional/include/boost/functional/overloaded_function.hpp
      - contrib/restricted/boost/functional/include/boost/functional/overloaded_function/detail/base.hpp

- source_filter: "^contrib/restricted/boost/fusion"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/fusion/include/boost/fusion/algorithm/transformation/zip.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/deque/detail/cpp03/as_deque.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_deque_tie.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_list_tie.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_make_deque.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_make_list.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_make_map.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_make_set.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_make_vector.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_map_tie.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/generation/detail/pp_vector_tie.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/map/detail/cpp03/as_map.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/set/detail/cpp03/as_set.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/as_vector.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector_n.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/functional/adapter/unfused_typed.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/functional/invocation/invoke.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/tuple/detail/make_tuple.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/tuple/detail/tuple_expand.hpp
      - contrib/restricted/boost/fusion/include/boost/fusion/tuple/detail/tuple_tie.hpp

- source_filter: "^contrib/restricted/boost/math"
  includes:
    - BOOST_HEADER():
      - contrib/restricted/boost/math/include/boost/math/tools/detail/polynomial_horner1_20.hpp
      - contrib/restricted/boost/math/include/boost/math/tools/detail/polynomial_horner2_20.hpp
      - contrib/restricted/boost/math/include/boost/math/tools/detail/polynomial_horner3_20.hpp

- source_filter: "^contrib/restricted/boost/mpl"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/mpl/include/boost/mpl/apply.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/apply_fwd.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/apply_wrap.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/arg.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/advance_backward.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/advance_forward.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/fold_impl_body.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/full_lambda.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/lambda_no_ctps.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/numeric_op.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/reverse_fold_impl_body.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/sequence_wrapper.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/aux_/template_arity.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/bind.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/bind_fwd.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/inherit.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/numbered.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/numbered_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/aux_/numbered.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/placeholders.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/quote.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/numbered.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/numbered_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/unpack_args.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/numbered.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/numbered_c.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/list/AUX778076_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list0.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list0_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list10_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list20_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list30_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list40_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list50.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/list50_c.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/list/aux_/preprocessed/AUX778076_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list50.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/map/AUX778076_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/map/map0.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/map10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/map20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/map30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/map40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/map50.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/map/aux_/preprocessed/AUX778076_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/set/aux_/preprocessed/AUX778076_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set50.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/vector/AUX778076_VECTOR_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector0.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector0_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector10_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector20_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector30_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector40_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector50.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/vector50_c.hpp
    - BOOST_PP_STRINGIZE(boost/mpl/vector/aux_/preprocessed/AUX778076_HEADER):
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp
      - contrib/restricted/boost/mpl/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp

- source_filter: "^contrib/restricted/boost/numeric_conversion"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/numeric_conversion/include/boost/numeric/conversion/detail/numeric_cast_traits.hpp

- source_filter: "^contrib/restricted/boost/parameter"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/parameter/include/boost/parameter/aux_/preprocessor/overloads.hpp

- source_filter: "^contrib/restricted/boost/phoenix"
  includes:
    - BOOST_PHOENIX_UNORDERED_MAP_HEADER: $U/unordered_map
    - BOOST_PHOENIX_UNORDERED_SET_HEADER: $U/unordered_set
    - BOOST_PHOENIX_ITERATE(): contrib/restricted/boost/phoenix/include/boost/phoenix/support/detail/iterate.hpp
    - BOOST_PP_ITERATE(): contrib/restricted/boost/phoenix/include/boost/phoenix/support/detail/iterate.hpp

- source_filter: "^contrib/restricted/boost/proto"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/proto/include/boost/proto/context/detail/callable_eval.hpp
      - contrib/restricted/boost/proto/include/boost/proto/context/detail/default_eval.hpp
      - contrib/restricted/boost/proto/include/boost/proto/context/detail/null_eval.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/and_n.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/args.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/basic_expr.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/class_member_traits.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/deduce_domain_n.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/deep_copy.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/expr.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/funop.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/generate_by_value.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/lambda_matches.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/make_expr.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/make_expr_.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/make_expr_funop.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/matches_.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/memfun_funop.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/or_n.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/poly_function_funop.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/poly_function_traits.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/template_arity_helper.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/traits.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/unpack_expr_.hpp
      - contrib/restricted/boost/proto/include/boost/proto/detail/vararg_matches_impl.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/call.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/construct_funop.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/construct_pod_funop.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/default_function_impl.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/expand_pack.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/fold_impl.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/lazy.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/make.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/make_gcc_workaround.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/pack_impl.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/pass_through_impl.hpp
      - contrib/restricted/boost/proto/include/boost/proto/transform/detail/when.hpp

- source_filter: "^contrib/restricted/boost/python"
  includes:
    # Almost every case of BOOST_PP_ITERATE() invocation in boost/python will include the same header it is being invoked from.
    # The only exception from this rule is <boost/python/tuple.hpp> which will include <boost/python/detail/make_tuple.hpp>.
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/python/include/boost/python/call.hpp
      - contrib/restricted/boost/python/include/boost/python/call_method.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/caller.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/defaults_def.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/invoke.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/result.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/target.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/signature.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/type_list_impl.hpp
      - contrib/restricted/boost/python/include/boost/python/object/make_holder.hpp
      - contrib/restricted/boost/python/include/boost/python/object_core.hpp
      - contrib/restricted/boost/python/include/boost/python/object/pointer_holder.hpp
      - contrib/restricted/boost/python/include/boost/python/override.hpp
      - contrib/restricted/boost/python/include/boost/python/signature.hpp
      - contrib/restricted/boost/python/include/boost/python/object/value_holder.hpp
      - contrib/restricted/boost/python/include/boost/python/detail/make_tuple.hpp

- source_filter: "^contrib/restricted/boost/signals2"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/signals2/include/boost/signals2/detail/preprocessed_arg_type_template.hpp
      - contrib/restricted/boost/signals2/include/boost/signals2/detail/signal_template.hpp
      - contrib/restricted/boost/signals2/include/boost/signals2/detail/slot_template.hpp

- source_filter: "^contrib/restricted/boost/spirit"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/spirit/include/boost/spirit/home/karma/generate_attr.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/karma/nonterminal/detail/fcall.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/karma/stream/format_manip_attr.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/lex/tokenize_and_parse_attr.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/qi/nonterminal/detail/fcall.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/qi/parse_attr.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/qi/stream/match_manip_attr.hpp
      - contrib/restricted/boost/spirit/include/boost/spirit/home/support/detail/as_variant.hpp

- source_filter: "^contrib/restricted/boost/type_erasure"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/callable.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/check_match.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/call.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/constructible.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/adapt_to_vtable.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/check_call.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/get_placeholders.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/instantiate.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/extract_concept.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/normalize_deduced.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/vtable.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/construct.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/tuple.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/null.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/require_match.hpp
      - contrib/restricted/boost/type_erasure/include/boost/type_erasure/detail/rebind_placeholders.hpp

- source_filter: "^contrib/restricted/boost/type_traits"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/type_traits/include/boost/type_traits/detail/is_function_ptr_helper.hpp
      - contrib/restricted/boost/type_traits/include/boost/type_traits/detail/is_function_ptr_tester.hpp
      - contrib/restricted/boost/type_traits/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp
      - contrib/restricted/boost/type_traits/include/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp

- source_filter: "^contrib/restricted/boost/typeof"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/typeof/include/boost/typeof/register_functions_iterate.hpp

- source_filter: "^contrib/restricted/boost/utility"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/utility/include/boost/utility/in_place_factory.hpp
      - contrib/restricted/boost/utility/include/boost/utility/detail/result_of_iterate.hpp
      - contrib/restricted/boost/utility/include/boost/utility/typed_in_place_factory.hpp

- source_filter: "^contrib/restricted/boost/variant"
  includes:
    - BOOST_PP_ITERATE():
      - contrib/restricted/boost/variant/include/boost/variant/detail/substitute.hpp

- source_filter: "^contrib/libs/gperftools"
  includes:
    - STACKTRACE_INL_HEADER:
      - contrib/libs/gperftools/srcstacktrace_win32-inl.inc
      - contrib/libs/gperftools/srcstacktrace_generic-inl.inc
      - contrib/libs/gperftools/srcstacktrace_emscripten-inl.inc
      - contrib/libs/gperftools/srcstacktrace_x86-inl.inc
      - contrib/libs/gperftools/srcstacktrace_powerpc-inl.inc
      - contrib/libs/gperftools/srcstacktrace_aarch64-inl.inc
      - contrib/libs/gperftools/srcstacktrace_riscv-inl.inc
      - contrib/libs/gperftools/srcstacktrace_unimplemented-inl.inc

- source_filter: "^contrib/libs/lzo2"
  includes:
    - LZO_CODE_MATCH_INCLUDE_FILE:
      - contrib/libs/lzo2/lzo1_cm.ch
      - contrib/libs/lzo2/lzo1a_cm.ch
      - contrib/libs/lzo2/lzo1b_cm.ch
    - LZO_CODE_RUN_INCLUDE_FILE: contrib/libs/lzo2/lzo1b_cr.ch
    - LZO_SEARCH_MATCH_INCLUDE_FILE: contrib/libs/lzo2/lzo1b_sm.ch
    - LZO_TEST_MATCH_INCLUDE_FILE: contrib/libs/lzo2/lzo1b_tm.ch

- source_filter: "^contrib/libs/msgpack"
  includes:
    - _msgpack_atomic_counter_header:
      - $U/windows.h
      - contrib/libs/msgpack/include/msgpack/gcc_atomic.h
      - contrib/libs/msgpack/include/msgpack/gcc_atomic.hpp

- source_filter: "^contrib/tools/fluent-bit-full/lib/msgpack-c"
  includes:
    - _msgpack_atomic_counter_header:
      - $U/windows.h
      - $U/ntddk.h
      - contrib/tools/fluent-bit-full/lib/msgpack-c/include/msgpack/gcc_atomic.h

- source_filter: "^mail/xiva/msgpack"
  includes:
    - _msgpack_atomic_counter_header:
      - $U/windows.h
      - mail/xiva/msgpack/include/msgpack/gcc_atomic.h

- source_filter: "^skynet/packages/libraries/liner/msgpack"
  includes:
    - _msgpack_atomic_counter_header:
      - $U/windows.h
      - skynet/packages/libraries/liner/msgpack/gcc_atomic.h

- source_filter: "^contrib/libs/opencv/modules/calib3d"
  includes:
    - CV_CPU_SIMD_FILENAME: contrib/libs/opencv/modules/calib3d/src/undistort.simd.hpp

- source_filter: "^contrib/libs/opencv/modules/core"
  includes:
    - CV_CPU_SIMD_FILENAME:
      - contrib/libs/opencv/modules/core/src/arithm.simd.hpp
      - contrib/libs/opencv/modules/core/src/convert.simd.hpp
      - contrib/libs/opencv/modules/core/src/convert_scale.simd.hpp
      - contrib/libs/opencv/modules/core/src/count_non_zero.simd.hpp
      - contrib/libs/opencv/modules/core/src/mathfuncs_core.simd.hpp
      - contrib/libs/opencv/modules/core/src/matmul.simd.hpp
      - contrib/libs/opencv/modules/core/src/mean.simd.hpp
      - contrib/libs/opencv/modules/core/src/merge.simd.hpp
      - contrib/libs/opencv/modules/core/src/split.simd.hpp
      - contrib/libs/opencv/modules/core/src/stat.simd.hpp
      - contrib/libs/opencv/modules/core/src/sum.simd.hpp
      - contrib/libs/opencv/modules/core/test/test_intrin128.simd.hpp
      - contrib/libs/opencv/modules/core/test/test_intrin256.simd.hpp
      - contrib/libs/opencv/modules/core/test/test_intrin512.simd.hpp

- source_filter: "^contrib/libs/opencv/modules/imgproc"
  includes:
    - CV_CPU_SIMD_FILENAME:
      - contrib/libs/opencv/modules/imgproc/src/accum.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/bilateral_filter.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/box_filter.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/color_hsv.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/color_rgb.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/color_yuv.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/filter.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/median_blur.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/morph.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/smooth.simd.hpp
      - contrib/libs/opencv/modules/imgproc/src/sumpixels.simd.hpp

- source_filter: "^contrib/libs/opencv/modules/features2d"
  includes:
    - CV_CPU_SIMD_FILENAME: contrib/libs/opencv/modules/features2d/src/sift.simd.hpp

- source_filter: "^contrib/libs/openmpi"
  includes:
    - MCA_event_IMPLEMENTATION_HEADER: contrib/libs/openmpi/opal/mca/event/external/external.h
    - MCA_hwloc_external_header: contrib/libs/hwloc/include/hwloc.h
    - MCA_hwloc_external_shmem_header: contrib/libs/hwloc/include/hwloc/shmem.h
    - MCA_hwloc_IMPLEMENTATION_HEADER: contrib/libs/openmpi/opal/mca/hwloc/external/external.h
    - MCA_memory_IMPLEMENTATION_HEADER: contrib/libs/openmpi/opal/mca/memory/base/empty.h
    - MCA_rte_IMPLEMENTATION_HEADER: contrib/libs/openmpi/ompi/mca/rte/orte/rte_orte.h
    - MCA_timer_IMPLEMENTATION_HEADER: contrib/libs/openmpi/opal/mca/timer/linux/timer_linux.h
    - PMIX_EVENT2_THREAD_HEADER: contrib/libs/openmpi/opal/mca/event/external/external.h
    - PMIX_EVENT_HEADER: contrib/libs/openmpi/opal/mca/event/external/external.h
    - PMIX_HWLOC_HEADER: contrib/libs/openmpi/opal/mca/hwloc/external/external.h

- source_filter: "^contrib/libs/pugixml"
  includes:
    - PUGIXML_SOURCE: contrib/libs/pugixml/pugixml.cpp

- source_filter: "^contrib/libs/unixodbc"
  includes:
    - LT_CONFIG_H: $U/config.h

- source_filter: "^contrib/libs/xpdf-3.04/splash"
  includes:
    - FT_CFF_DRIVER_H: contrib/libs/freetype/include/freetype/ftdriver.h

- source_filter: "^contrib/libs/nvidia/thrust"
  includes:
    - __THRUST_DEVICE_SYSTEM_TAG_HEADER:
      - contrib/libs/nvidia/thrust/thrust/system/cpp/detail/execution_policy.h
      - contrib/libs/nvidia/thrust/thrust/system/cuda/detail/execution_policy.h
      - contrib/libs/nvidia/thrust/thrust/system/omp/detail/execution_policy.h
      - contrib/libs/nvidia/thrust/thrust/system/tbb/detail/execution_policy.h

- source_filter: "^contrib/python/mercurial"
  includes:
    - SHA1DC_CUSTOM_INCLUDE_SHA1_C: contrib/libs/libgit2/src/util/git2_util.h
    - SHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C: contrib/libs/libgit2/src/util/git2_util.h

- source_filter: "^contrib/libs/unixodbc/libltdl"
  includes:
      - LT_CONFIG_H: $U/config.h

- source_filter: "^contrib/libs/esp-idf"
  includes:
      - MBEDTLS_CONFIG_FILE: contrib/libs/esp-idf/components/mbedtls/port/include/mbedtls/esp_config.h

- source_filter: "^contrib/libs/sparsehash/src/sparsehash"
  includes:
    - HASH_FUN_H: util/generic/hash.h

- source_filter: "^contrib/libs/cbc/Cbc/src/OsiCbc"
  includes:
    - OSICBC_DFLT_SOLVER_HPP: contrib/libs/cbc/Clp/src/OsiClp/OsiClpSolverInterface.hpp

- source_filter: "^contrib/libs/glog/sources/src"
  includes:
    - STACKTRACE_H:
      - contrib/libs/glog/sources/src/stacktrace_x86-inl.h
      - contrib/libs/glog/sources/src/stacktrace_x86_64-inl.h
      - contrib/libs/glog/sources/src/stacktrace_powerpc-inl.h
      - contrib/libs/glog/sources/src/stacktrace_generic-inl.h

- source_filter: "^contrib/libs/hdf5/src"
  includes:
    - H5_ZLIB_HEADER: contrib/libs/zlib/include/zlib.h

- source_filter: "^contrib/libs/libgit2/src/util/hash/sha1dc"
  includes:
    - SHA1DC_CUSTOM_INCLUDE_SHA1_C: contrib/libs/libgit2/src/util/git2_util.h
    - SHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C: contrib/libs/libgit2/src/util/git2_util.h

- source_filter: "^contrib/libs/libyang"
  includes:
    - IETF_DATASTORES: contrib/libs/libyang/models/ietf-datastores@2018-02-14.h
    - IETF_INET_TYPES_PATH: contrib/libs/libyang/models/ietf-inet-types@2013-07-15.h
    - IETF_YANG_LIB_PATH: contrib/libs/libyang/models/ietf-yang-library@2019-01-04.h
    - IETF_YANG_METADATA_PATH: contrib/libs/libyang/models/ietf-yang-metadata@2016-08-05.h
    - IETF_YANG_TYPES_PATH: contrib/libs/libyang/models/ietf-yang-types@2013-07-15.h
    - YANG_PATH: contrib/libs/libyang/models/yang@2017-02-20.h

# adfox/amacs and mds/cocaine are legacy projects which is set to removal from the repo.
# Resolve macro includes into nothing as nobody needs sandboxed build to be functional in these places.
- source_filter: "^adfox/amacs/deps/luabind"
  includes:
    - BOOST_PP_ITERATE()

- source_filter: "^mds/cocaine/core"
  includes:
    - BOOST_PP_ITERATE()

# market uses include-via-define by design, just ignore this includes
- source_filter: "^market/media_adv/library/experiments"
  includes:
    - MARKET_MADV_EXP_FLAGS_FILENAME

- source_filter: "^yt/yt/experiments/tabletvis/allegro5-headers"
  includes:
    - ALLEGRO_EXTRA_HEADER:
      - yt/yt/experiments/tabletvis/allegro5-headers/allegro5/platform/alunix.h
      - yt/yt/experiments/tabletvis/allegro5-headers/allegro5/platform/alwin.h

# Connectedhomeip contrib uses a special type of imports for third-party includes https://github.com/project-chip/connectedhomeip/issues/4354
# Also empty MACROs here defined for Linux and ESP32 platforms, but esp32 files use third-party library esp-idf
# So there are some problems to resolve imports especially in contrib/libs/connectedhomeip/src/app,
# after resolving a problem via ADDINCL there will be much more errors. So currently these types of errors hide under empty resolving
- source_filter: "^contrib/libs/connectedhomeip/src"
  includes:
    - CHIP_SYSTEM_LAYER_IMPL_CONFIG_FILE:
      - contrib/libs/connectedhomeip/src/system/SystemLayerImplSelect.h
      - contrib/libs/connectedhomeip/src/system/SystemLayerImplFreeRTOS.h
    - CHIP_PROJECT_CONFIG_INCLUDE:  contrib/libs/connectedhomeip/config/standalone/CHIPProjectConfig.h
    - SYSTEM_PROJECT_CONFIG_INCLUDE: contrib/libs/connectedhomeip/config/standalone/SystemProjectConfig.h
    - CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER: contrib/libs/connectedhomeip/src/lib/address_resolve/AddressResolve_DefaultImpl.h
    - CONFIGURATION_HEADER: contrib/libs/connectedhomeip/src/app/util/config.h
    - BLE_PLATFORM_CONFIG_INCLUDE
    - CHIP_PLATFORM_CONFIG_INCLUDE
    - INET_PLATFORM_CONFIG_INCLUDE
    - SYSTEM_PLATFORM_CONFIG_INCLUDE
    - CHIPDEVICEPLATFORMEVENT_HEADER
    - CHIP_DEVICE_PLATFORM_CONFIG_INCLUDE
    - CONFIGURATIONMANAGERIMPL_HEADER
    - CONNECTIVITYMANAGERIMPL_HEADER
    - KEYVALUESTOREMANAGERIMPL_HEADER
    - PLATFORMMANAGERIMPL_HEADER
    - THREADSTACKMANAGERIMPL_HEADER
    - BLEMANAGERIMPL_HEADER

- source_filter: "^smart_devices/third_party/gecko_sdk"
  includes:
    - APPLICATION_MFG_TOKEN_HEADER: smart_devices/platforms/yandexmidi/zigbee/firmware/ncp/ncp-mfg-token.h
    - APPLICATION_TOKEN_HEADER: smart_devices/platforms/yandexmidi/zigbee/firmware/ncp/ncp-token.h
    - CONFIGURATION_HEADER: smart_devices/third_party/gecko_sdk/protocol/zigbee/app/framework/util/config.h
    - PLATFORM_HEADER:
      - smart_devices/third_party/gecko_sdk/platform/base/hal/micro/cortexm3/compiler/gcc.h
      - smart_devices/third_party/gecko_sdk/platform/base/hal/micro/unix/compiler/gcc.h