1{
2  "templates": {
3    "cc_defaults": {
4      "name": "boost_module_defaults",
5      "vendor_available": true,
6      "host_supported": true,
7      "target": {
8        "linux_glibc_x86_64": {
9          "cflags": [
10            "-msse4.1"
11          ]
12        }
13      },
14      "rtti": true,
15      "cflags": [
16        "-Wall",
17        "-Werror",
18        "-fexceptions",
19        "-Wno-enum-constexpr-conversion"
20      ],
21      "visibility": ["//external/sdv/vsomeip"]
22    },
23
24    "cc_library_headers": {
25      "name": "libboost_library_headers",
26      "vendor_available": true,
27      "host_supported": true,
28      "export_include_dirs": [],
29      "visibility": ["//external/sdv/vsomeip"]
30    }
31  },
32
33  "ignored_modules": [
34    "context",
35    "coroutine",
36    "dll",
37    "fiber",
38    "graph_parallel",
39    "graph",
40    "mpi",
41    "nowide",
42    "type_erasure",
43    "poly_collection",
44    "parameter_python",
45    "python",
46    "test",
47    "wave",
48    "winapi"
49  ],
50
51  "modules": {
52    "<DEFAULT>": {
53      "defaults": ["boost_module_defaults"],
54      "export_header_lib_headers": ["libboost_library_headers"],
55      "header_libs": [
56        "libboost_library_headers"
57      ]
58    },
59    "asio": {
60      "cflags": [
61        "-DBOOST_ASIO_HAS_STD_STRING_VIEW"
62      ],
63      "exclude_srcs": [
64        "asio/example/cpp03/windows/*.cpp"
65      ]
66    },
67    "atomic": {
68      "exclude_srcs": [
69        "atomic/src/wait_ops_windows.cpp"
70      ],
71      "local_include_dirs" : [
72          "atomic/src/"
73      ]
74    },
75    "container": {
76      "cflags": [
77        "-Wno-expansion-to-defined"
78      ],
79      "srcs": [
80        "container/src/alloc_lib.c",
81        "container/src/dlmalloc.cpp",
82        "container/src/global_resource.cpp",
83        "container/src/monotonic_buffer_resource.cpp",
84        "container/src/pool_resource.cpp",
85        "container/src/synchronized_pool_resource.cpp",
86        "container/src/unsynchronized_pool_resource.cpp"
87      ]
88    },
89    "date_time": {
90      "cflags": [
91        "-DBOOST_DATE_TIME_DYN_LINK",
92        "-Wno-ignored-attributes",
93        "-DBOOST_NO_STD_WSTRING"
94      ],
95      "exclude_srcs": [
96        "date_time/src/gregorian/date_generators.cpp",
97        "date_time/src/gregorian/greg_weekday.cpp"
98      ]
99    },
100    "filesystem": {
101      "cflags": [
102        "-DBOOST_FILESYSTEM_TARGET_TYPE=SHARED_LIBRARY",
103        "-Wl,--no-undefined",
104        "-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF",
105        "-Wno-unused-command-line-argument",
106	      "-Wno-unused-parameter",
107        "-Wno-non-virtual-dtor"
108      ]
109    },
110    "iostreams": {
111      "exclude_srcs": [
112        "iostreams/src/zlib.cpp",
113        "iostreams/src/gzip.cpp",
114        "iostreams/src/bzip2.cpp",
115        "iostreams/src/lzma.cpp",
116        "iostreams/src/zstd.cpp"
117      ]
118    },
119    "json": {
120      "cflags": [
121        "-Wno-non-virtual-dtor",
122        "-Wno-implicit-fallthrough"
123      ]
124    },
125    "locale": {
126      "exclude_srcs": [
127        "locale/src/icu/*.cpp",
128        "locale/src/posix/*.cpp",
129        "locale/src/win32/*.cpp"
130      ],
131      "cflags": [
132        "-DBOOST_LOCALE_WITH_ICONV",
133        "-DBOOST_LOCALE_NO_POSIX_BACKEND",
134        "-DBOOST_LOCALE_NO_WINAPI_BACKEND",
135        "-Wno-implicit-fallthrough"
136      ]
137    },
138    "log": {
139      "local_include_dirs" : [
140        "log/src",
141        "log/src/posix",
142        "log/src/setup"
143      ],
144      "exclude_srcs": [
145        "log/src/dump_ssse3.cpp",
146        "log/src/dump_avx2.cpp",
147        "log/src/windows/*.cpp"
148      ],
149      "cflags": [
150        "-DBOOST_LOG_NO_THREADS",
151        "-DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS"
152      ]
153    },
154    "math": {
155      "local_include_dirs": [
156        "math/src/tr1"
157      ],
158      "cflags": [
159       "-Wno-unused-parameter"
160      ]
161    },
162    "stacktrace": {
163      "exclude_srcs": [
164        "stacktrace/src/backtrace.cpp",
165        "stacktrace/src/basic.cpp",
166        "stacktrace/src/noop.cpp",
167        "stacktrace/src/win*.cpp"
168      ]
169    },
170    "thread": {
171      "exclude_srcs": [
172        "thread/src/win32/*.cpp"
173      ],
174      "cflags": [
175        "-Wno-non-virtual-dtor",
176        "-DBOOST_THREAD_THREADAPI=pthread",
177        "-DBOOST_THREAD_BUILD_LIB",
178        "-DBOOST_LOCALE_NO_POSIX_BACKEND",
179        "-DBOOST_LOCALE_NO_WINAPI_BACKEND",
180        "-DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS"
181      ],
182      "srcs": [
183        "thread/src/future.cpp",
184        "thread/src/tss_null.cpp",
185        "thread/src/pthread/once.cpp",
186        "thread/src/pthread/thread.cpp"
187      ]
188    },
189    "url": {
190      "cflags": [
191        "-Wno-non-virtual-dtor"
192      ]
193    }
194  }
195}
196