blob: ad0231d8ddbcbeaddf0a31b460a41b97806e3867 [file] [log] [blame]
Bob Badourd69ad692021-02-16 19:02:14 -08001package {
Elliott Hughes813fd6d2021-06-25 14:42:51 -07002 default_applicable_licenses: ["Android-Apache-2.0"],
Bob Badourd69ad692021-02-16 19:02:14 -08003}
4
Josh Gaocbe70cb2016-10-18 18:17:52 -07005cc_defaults {
6 name: "debuggerd_defaults",
7 cflags: [
8 "-Wall",
9 "-Wextra",
Josh Gaoc7fe0602017-03-13 14:13:29 -070010 "-Werror",
Kalesh Singha9ea7e52021-06-17 15:49:50 -040011 "-Wno-gcc-compat",
Josh Gao2b2ae0c2017-08-21 14:31:17 -070012 "-Wno-unused-argument",
13 "-Wno-unused-function",
Josh Gaocbe70cb2016-10-18 18:17:52 -070014 "-Wno-nullability-completeness",
15 "-Os",
Yabin Cuie90a9442021-08-11 13:21:11 -070016 "-fno-finite-loops",
Josh Gaocbe70cb2016-10-18 18:17:52 -070017 ],
18
19 local_include_dirs: ["include"],
20}
21
Narayan Kamatha73df602017-05-24 15:07:25 +010022cc_library_headers {
23 name: "libdebuggerd_common_headers",
Elliott Hughesdc699a22018-02-16 17:58:14 -080024 export_include_dirs: ["common/include"],
Jiyong Parka0e75042018-05-24 14:11:00 +090025 recovery_available: true,
Yifan Hong2ec92cf2020-10-27 16:25:45 -070026 vendor_ramdisk_available: true,
Shikha Panwar757f2992022-03-25 19:43:14 +000027 apex_available: [
28 "com.android.virt",
29 "//apex_available:platform",
30 ],
Narayan Kamatha73df602017-05-24 15:07:25 +010031}
32
Narayan Kamath2d377cd2017-05-10 10:58:59 +010033cc_library_shared {
Josh Gaoe1aa0ca2017-03-01 17:23:22 -080034 name: "libtombstoned_client",
35 defaults: ["debuggerd_defaults"],
36 srcs: [
Narayan Kamath2d377cd2017-05-10 10:58:59 +010037 "tombstoned/tombstoned_client.cpp",
38 "util.cpp",
39 ],
40
Narayan Kamatha73df602017-05-24 15:07:25 +010041 header_libs: ["libdebuggerd_common_headers"],
42
Narayan Kamath2d377cd2017-05-10 10:58:59 +010043 static_libs: [
Narayan Kamatha73df602017-05-24 15:07:25 +010044 "libasync_safe",
Narayan Kamath2d377cd2017-05-10 10:58:59 +010045 ],
46
47 shared_libs: [
Narayan Kamath2d377cd2017-05-10 10:58:59 +010048 "libbase",
Narayan Kamatha73df602017-05-24 15:07:25 +010049 "libcutils",
Narayan Kamath2d377cd2017-05-10 10:58:59 +010050 ],
Shikha Panwar757f2992022-03-25 19:43:14 +000051 apex_available: [
52 "com.android.virt",
53 "//apex_available:platform",
54 ],
Narayan Kamath2d377cd2017-05-10 10:58:59 +010055
Narayan Kamatha73df602017-05-24 15:07:25 +010056 export_header_lib_headers: ["libdebuggerd_common_headers"],
Elliott Hughesdc699a22018-02-16 17:58:14 -080057 export_include_dirs: ["tombstoned/include"],
Narayan Kamath2d377cd2017-05-10 10:58:59 +010058}
59
Josh Gao9da1f512018-08-06 15:38:29 -070060// Utility library to talk to tombstoned and get an output fd.
Narayan Kamath2d377cd2017-05-10 10:58:59 +010061cc_library_static {
62 name: "libtombstoned_client_static",
63 defaults: ["debuggerd_defaults"],
Jiyong Park011ee122018-05-29 16:41:30 +090064 recovery_available: true,
Yifan Hong2ec92cf2020-10-27 16:25:45 -070065 vendor_ramdisk_available: true,
Narayan Kamath2d377cd2017-05-10 10:58:59 +010066 srcs: [
67 "tombstoned/tombstoned_client.cpp",
Josh Gaoe1aa0ca2017-03-01 17:23:22 -080068 "util.cpp",
69 ],
70
Narayan Kamatha73df602017-05-24 15:07:25 +010071 header_libs: ["libdebuggerd_common_headers"],
72
Josh Gaoe1aa0ca2017-03-01 17:23:22 -080073 whole_static_libs: [
Christopher Ferrisac225782017-04-25 11:23:10 -070074 "libasync_safe",
Josh Gaoe1aa0ca2017-03-01 17:23:22 -080075 "libcutils",
76 "libbase",
77 ],
Narayan Kamath2d377cd2017-05-10 10:58:59 +010078
Narayan Kamatha73df602017-05-24 15:07:25 +010079 export_header_lib_headers: ["libdebuggerd_common_headers"],
Elliott Hughesdc699a22018-02-16 17:58:14 -080080 export_include_dirs: ["tombstoned/include"],
Josh Gaoe1aa0ca2017-03-01 17:23:22 -080081}
82
83// Core implementation, linked into libdebuggerd_handler and the dynamic linker.
Josh Gao9c02dc52016-06-15 17:29:00 -070084cc_library_static {
Josh Gaoe73c9322017-02-08 16:06:26 -080085 name: "libdebuggerd_handler_core",
Josh Gaocbe70cb2016-10-18 18:17:52 -070086 defaults: ["debuggerd_defaults"],
Jiyong Parka0e75042018-05-24 14:11:00 +090087 recovery_available: true,
Yifan Hong2ec92cf2020-10-27 16:25:45 -070088 vendor_ramdisk_available: true,
Josh Gaocbe70cb2016-10-18 18:17:52 -070089 srcs: ["handler/debuggerd_handler.cpp"],
Josh Gao9c02dc52016-06-15 17:29:00 -070090
Josh Gaofdf832d2017-08-25 18:00:18 -070091 header_libs: [
92 "libbase_headers",
93 "libdebuggerd_common_headers",
Josh Gaoa48b41b2019-12-13 14:11:04 -080094 "bionic_libc_platform_headers",
Josh Gaofdf832d2017-08-25 18:00:18 -070095 ],
Narayan Kamatha73df602017-05-24 15:07:25 +010096
Josh Gaoe73c9322017-02-08 16:06:26 -080097 whole_static_libs: [
Christopher Ferrisac225782017-04-25 11:23:10 -070098 "libasync_safe",
Josh Gao2b2ae0c2017-08-21 14:31:17 -070099 "libcutils",
Josh Gaoe73c9322017-02-08 16:06:26 -0800100 "libdebuggerd",
101 ],
102
Narayan Kamatha73df602017-05-24 15:07:25 +0100103 export_header_lib_headers: ["libdebuggerd_common_headers"],
Josh Gaoe73c9322017-02-08 16:06:26 -0800104 export_include_dirs: ["include"],
105}
106
Josh Gaoe1aa0ca2017-03-01 17:23:22 -0800107// Implementation with a no-op fallback.
Josh Gaoe73c9322017-02-08 16:06:26 -0800108cc_library_static {
109 name: "libdebuggerd_handler",
110 defaults: ["debuggerd_defaults"],
111 srcs: ["handler/debuggerd_fallback_nop.cpp"],
112
Josh Gaoa48b41b2019-12-13 14:11:04 -0800113 header_libs: ["bionic_libc_platform_headers"],
114 export_header_lib_headers: ["bionic_libc_platform_headers"],
115
Josh Gaoe73c9322017-02-08 16:06:26 -0800116 whole_static_libs: [
117 "libdebuggerd_handler_core",
118 ],
119
120 export_include_dirs: ["include"],
121}
122
Martin Stjernholma2cc8932019-10-23 21:32:43 +0100123// Fallback implementation, for use in the Bionic linker only.
Josh Gaoe73c9322017-02-08 16:06:26 -0800124cc_library_static {
125 name: "libdebuggerd_handler_fallback",
Martin Stjernholma2cc8932019-10-23 21:32:43 +0100126 visibility: ["//bionic/linker"],
127 apex_available: [
128 "com.android.runtime",
129 "//apex_available:platform",
130 ],
Josh Gaoe73c9322017-02-08 16:06:26 -0800131 defaults: ["debuggerd_defaults"],
Jiyong Park011ee122018-05-29 16:41:30 +0900132 recovery_available: true,
Yifan Hong2ec92cf2020-10-27 16:25:45 -0700133 vendor_ramdisk_available: true,
Josh Gaoe1aa0ca2017-03-01 17:23:22 -0800134 srcs: [
135 "handler/debuggerd_fallback.cpp",
136 ],
Josh Gaoe73c9322017-02-08 16:06:26 -0800137
Josh Gaoe1aa0ca2017-03-01 17:23:22 -0800138 whole_static_libs: [
139 "libdebuggerd_handler_core",
Narayan Kamath2d377cd2017-05-10 10:58:59 +0100140 "libtombstoned_client_static",
Christopher Ferrisac225782017-04-25 11:23:10 -0700141 "libasync_safe",
Josh Gaoe1aa0ca2017-03-01 17:23:22 -0800142 "libbase",
Josh Gaoe73c9322017-02-08 16:06:26 -0800143 "libdebuggerd",
Martin Stjernholma2cc8932019-10-23 21:32:43 +0100144 "libunwindstack_no_dex",
Josh Gaoe73c9322017-02-08 16:06:26 -0800145 "liblzma",
146 "libcutils",
147 ],
Josh Gaoa48b41b2019-12-13 14:11:04 -0800148
149 header_libs: ["bionic_libc_platform_headers"],
150 export_header_lib_headers: ["bionic_libc_platform_headers"],
151
Josh Gaocbe70cb2016-10-18 18:17:52 -0700152 export_include_dirs: ["include"],
153}
154
155cc_library {
156 name: "libdebuggerd_client",
157 defaults: ["debuggerd_defaults"],
158 srcs: [
159 "client/debuggerd_client.cpp",
160 "util.cpp",
161 ],
162
163 shared_libs: [
164 "libbase",
165 "libcutils",
Josh Gao4175cee2019-01-04 13:57:09 -0800166 "libprocinfo",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700167 ],
Josh Gaoe1aa0ca2017-03-01 17:23:22 -0800168
Josh Gaoa48b41b2019-12-13 14:11:04 -0800169 header_libs: [
170 "libdebuggerd_common_headers",
171 "bionic_libc_platform_headers",
172 ],
173 export_header_lib_headers: [
174 "libdebuggerd_common_headers",
175 "bionic_libc_platform_headers",
176 ],
177
Josh Gaocbe70cb2016-10-18 18:17:52 -0700178 export_include_dirs: ["include"],
179}
180
Josh Gaoe73c9322017-02-08 16:06:26 -0800181cc_library_static {
Josh Gaocbe70cb2016-10-18 18:17:52 -0700182 name: "libdebuggerd",
183 defaults: ["debuggerd_defaults"],
Jiyong Parka0e75042018-05-24 14:11:00 +0900184 recovery_available: true,
Yifan Hong2ec92cf2020-10-27 16:25:45 -0700185 vendor_ramdisk_available: true,
Josh Gaocbe70cb2016-10-18 18:17:52 -0700186
187 srcs: [
188 "libdebuggerd/backtrace.cpp",
Mitch Phillipse0b4bb12020-02-14 14:54:31 -0800189 "libdebuggerd/gwp_asan.cpp",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700190 "libdebuggerd/open_files_list.cpp",
191 "libdebuggerd/tombstone.cpp",
Josh Gao76e1e302021-01-26 15:53:11 -0800192 "libdebuggerd/tombstone_proto.cpp",
193 "libdebuggerd/tombstone_proto_to_text.cpp",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700194 "libdebuggerd/utility.cpp",
195 ],
196
Josh Gaocbe70cb2016-10-18 18:17:52 -0700197 local_include_dirs: ["libdebuggerd/include"],
198 export_include_dirs: ["libdebuggerd/include"],
Josh Gao9c02dc52016-06-15 17:29:00 -0700199
Peter Collingbournef8622522020-04-07 14:07:32 -0700200 include_dirs: [
201 // Needed for private/bionic_fdsan.h
202 "bionic/libc",
Peter Collingbournef8622522020-04-07 14:07:32 -0700203 ],
Mitch Phillipse0b4bb12020-02-14 14:54:31 -0800204 header_libs: [
205 "bionic_libc_platform_headers",
206 "gwp_asan_headers",
207 ],
Josh Gaoce841d92018-08-06 18:26:42 -0700208
Josh Gaoe73c9322017-02-08 16:06:26 -0800209 static_libs: [
Martin Stjernholma2cc8932019-10-23 21:32:43 +0100210 "libdexfile_support", // libunwindstack dependency
Christopher Ferris9a8c8552017-08-11 15:29:19 -0700211 "libunwindstack",
Josh Gaoe73c9322017-02-08 16:06:26 -0800212 "liblzma",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700213 "libbase",
214 "libcutils",
215 "liblog",
216 ],
Martin Stjernholm3784b9d2021-08-26 21:18:43 +0100217 runtime_libs: [
218 "libdexfile", // libdexfile_support dependency
219 ],
Josh Gaoa48b41b2019-12-13 14:11:04 -0800220
Peter Collingbournef8622522020-04-07 14:07:32 -0700221 whole_static_libs: [
Josh Gao618cea32021-01-26 17:45:43 -0800222 "libasync_safe",
Peter Collingbournef8622522020-04-07 14:07:32 -0700223 "gwp_asan_crash_handler",
Josh Gao76e1e302021-01-26 15:53:11 -0800224 "libtombstone_proto",
Josh Gaodbb83de2021-03-01 23:13:13 -0800225 "libprocinfo",
Josh Gao76e1e302021-01-26 15:53:11 -0800226 "libprotobuf-cpp-lite",
Peter Collingbournef8622522020-04-07 14:07:32 -0700227 ],
Mitch Phillipse0b4bb12020-02-14 14:54:31 -0800228
Martin Stjernholmbb4f2b42018-12-19 14:28:33 +0000229 target: {
230 recovery: {
231 exclude_static_libs: [
Martin Stjernholma2cc8932019-10-23 21:32:43 +0100232 "libdexfile_support",
Martin Stjernholmbb4f2b42018-12-19 14:28:33 +0000233 ],
Martin Stjernholm3784b9d2021-08-26 21:18:43 +0100234 exclude_runtime_libs: [
235 "libdexfile",
236 ],
Martin Stjernholmbb4f2b42018-12-19 14:28:33 +0000237 },
Yifan Hong2ec92cf2020-10-27 16:25:45 -0700238 vendor_ramdisk: {
239 exclude_static_libs: [
240 "libdexfile_support",
241 ],
Martin Stjernholm3784b9d2021-08-26 21:18:43 +0100242 exclude_runtime_libs: [
243 "libdexfile",
244 ],
Yifan Hong2ec92cf2020-10-27 16:25:45 -0700245 },
Martin Stjernholmbb4f2b42018-12-19 14:28:33 +0000246 },
Christopher Ferris4ae266c2019-04-03 09:27:12 -0700247
248 product_variables: {
249 debuggable: {
250 cflags: ["-DROOT_POSSIBLE"],
251 },
Christopher Ferris7aad2562021-09-24 00:06:38 -0700252
253 malloc_not_svelte: {
254 cflags: ["-DUSE_SCUDO"],
255 whole_static_libs: ["libscudo"],
256 srcs: ["libdebuggerd/scudo.cpp"],
257 header_libs: ["scudo_headers"],
258 },
Christopher Ferris4ae266c2019-04-03 09:27:12 -0700259 },
Josh Gaocbe70cb2016-10-18 18:17:52 -0700260}
261
Josh Gao76e1e302021-01-26 15:53:11 -0800262cc_binary {
263 name: "pbtombstone",
264 defaults: ["debuggerd_defaults"],
265 srcs: ["pbtombstone.cpp"],
266 static_libs: [
267 "libbase",
268 "libdebuggerd",
269 "liblog",
270 "libprotobuf-cpp-lite",
271 "libtombstone_proto",
272 "libunwindstack",
273 ],
274}
275
Christopher Ferrisfe751c52021-04-16 09:40:40 -0700276cc_test_library {
277 name: "libcrash_test",
278 defaults: ["debuggerd_defaults"],
279 srcs: ["crash_test.cpp"],
280}
281
Josh Gaocbe70cb2016-10-18 18:17:52 -0700282cc_test {
283 name: "debuggerd_test",
284 defaults: ["debuggerd_defaults"],
Josh Gao6cad1392019-08-27 16:02:38 -0700285 require_root: true,
Josh Gaocbe70cb2016-10-18 18:17:52 -0700286
287 cflags: ["-Wno-missing-field-initializers"],
288 srcs: [
289 "libdebuggerd/test/dump_memory_test.cpp",
290 "libdebuggerd/test/elf_fake.cpp",
291 "libdebuggerd/test/log_fake.cpp",
292 "libdebuggerd/test/open_files_list_test.cpp",
Peter Collingbourne47d784e2021-11-05 18:40:52 -0700293 "libdebuggerd/test/utility_test.cpp",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700294 ],
295
296 target: {
297 android: {
298 srcs: [
Josh Gaoae9d7672017-03-24 16:26:03 -0700299 "client/debuggerd_client_test.cpp",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700300 "debuggerd_test.cpp",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700301 ],
Elliott Hughesdc699a22018-02-16 17:58:14 -0800302 static_libs: [
303 "libasync_safe",
304 "libtombstoned_client_static",
305 ],
Josh Gaocbe70cb2016-10-18 18:17:52 -0700306 },
307 },
308
309 shared_libs: [
Josh Gaocbe70cb2016-10-18 18:17:52 -0700310 "libbase",
311 "libcutils",
Josh Gaoae9d7672017-03-24 16:26:03 -0700312 "libdebuggerd_client",
Narayan Kamatha73df602017-05-24 15:07:25 +0100313 "liblog",
Elliott Hughesdc699a22018-02-16 17:58:14 -0800314 "libnativehelper",
Martin Stjernholm852b64e2019-02-20 17:01:24 +0000315 "libunwindstack",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700316 ],
317
318 static_libs: [
Josh Gao352a8452017-03-30 16:46:21 -0700319 "libdebuggerd",
Mitch Phillipse0b4bb12020-02-14 14:54:31 -0800320 "libgmock",
Peter Collingbourned00a5772020-07-20 23:11:16 -0700321 "libminijail",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700322 ],
323
Josh Gaoa48b41b2019-12-13 14:11:04 -0800324 header_libs: [
325 "bionic_libc_platform_headers",
Mitch Phillipse0b4bb12020-02-14 14:54:31 -0800326 "gwp_asan_headers",
Josh Gaoa48b41b2019-12-13 14:11:04 -0800327 ],
328
Josh Gaocbe70cb2016-10-18 18:17:52 -0700329 local_include_dirs: [
330 "libdebuggerd",
331 ],
332
333 compile_multilib: "both",
334 multilib: {
335 lib32: {
336 stem: "debuggerd_test32",
337 },
338 lib64: {
339 stem: "debuggerd_test64",
340 },
341 },
Elliott Hughes40fdf3f2018-04-27 16:12:06 -0700342
Christopher Ferrisfe751c52021-04-16 09:40:40 -0700343 data: [
344 ":libcrash_test",
345 ],
346
Elliott Hughes40fdf3f2018-04-27 16:12:06 -0700347 test_suites: ["device-tests"],
Josh Gaocbe70cb2016-10-18 18:17:52 -0700348}
349
Josh Gaoa42314e2017-12-19 15:08:19 -0800350cc_benchmark {
351 name: "debuggerd_benchmark",
352 defaults: ["debuggerd_defaults"],
353 srcs: ["debuggerd_benchmark.cpp"],
354 shared_libs: [
355 "libbase",
356 "libdebuggerd_client",
357 ],
358}
359
Josh Gaocbe70cb2016-10-18 18:17:52 -0700360cc_binary {
361 name: "crash_dump",
362 srcs: [
363 "crash_dump.cpp",
364 "util.cpp",
365 ],
366 defaults: ["debuggerd_defaults"],
367
368 compile_multilib: "both",
369 multilib: {
370 lib32: {
371 suffix: "32",
372 },
373 lib64: {
374 suffix: "64",
375 },
376 },
377
Josh Gaoa48b41b2019-12-13 14:11:04 -0800378 header_libs: [
379 "bionic_libc_platform_headers",
380 ],
381
Josh Gaoe73c9322017-02-08 16:06:26 -0800382 static_libs: [
Narayan Kamath2d377cd2017-05-10 10:58:59 +0100383 "libtombstoned_client_static",
Josh Gaoe73c9322017-02-08 16:06:26 -0800384 "libdebuggerd",
385 "libcutils",
Josh Gao76e1e302021-01-26 15:53:11 -0800386
387 "libtombstone_proto",
388 "libprotobuf-cpp-lite",
Josh Gaoe73c9322017-02-08 16:06:26 -0800389 ],
390
Josh Gaocbe70cb2016-10-18 18:17:52 -0700391 shared_libs: [
Josh Gaocbe70cb2016-10-18 18:17:52 -0700392 "libbase",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700393 "liblog",
394 "libprocinfo",
Josh Gao2b2ae0c2017-08-21 14:31:17 -0700395 "libunwindstack",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700396 ],
Peter Collingbourneb72e7482020-03-16 18:14:13 -0700397
398 apex_available: [
399 "com.android.runtime",
400 ],
Peter Collingbournea2739da2022-02-02 17:00:42 -0800401
402 // Required for tests.
403 required: ["crash_dump.policy"],
Josh Gaocbe70cb2016-10-18 18:17:52 -0700404}
405
406cc_binary {
407 name: "debuggerd",
408 srcs: [
409 "debuggerd.cpp",
410 ],
411 defaults: ["debuggerd_defaults"],
412
413 shared_libs: [
414 "libbase",
415 "libdebuggerd_client",
416 "liblog",
Josh Gao0915f232017-06-27 14:08:05 -0700417 "libprocinfo",
Josh Gaocbe70cb2016-10-18 18:17:52 -0700418 ],
419
420 local_include_dirs: ["include"],
421}
422
423cc_binary {
424 name: "tombstoned",
425 srcs: [
426 "util.cpp",
427 "tombstoned/intercept_manager.cpp",
428 "tombstoned/tombstoned.cpp",
429 ],
430 defaults: ["debuggerd_defaults"],
431
Josh Gaoa48b41b2019-12-13 14:11:04 -0800432 header_libs: [
433 "bionic_libc_platform_headers",
434 "libdebuggerd_common_headers"
435 ],
Narayan Kamatha73df602017-05-24 15:07:25 +0100436
Josh Gaocbe70cb2016-10-18 18:17:52 -0700437 static_libs: [
438 "libbase",
439 "libcutils",
440 "libevent",
441 "liblog",
442 ],
443
Elliott Hughesdc699a22018-02-16 17:58:14 -0800444 init_rc: ["tombstoned/tombstoned.rc"],
Josh Gao9c02dc52016-06-15 17:29:00 -0700445}
Ray Essickbd3ba782020-01-21 15:21:08 -0800446
447prebuilt_etc {
448 name: "crash_dump.policy",
449 sub_dir: "seccomp_policy",
450 filename_from_src: true,
451 arch: {
452 arm: {
453 src: "seccomp_policy/crash_dump.arm.policy",
454 },
455 arm64: {
456 src: "seccomp_policy/crash_dump.arm64.policy",
457 },
458 x86: {
459 src: "seccomp_policy/crash_dump.x86.policy",
460 },
461 x86_64: {
462 src: "seccomp_policy/crash_dump.x86_64.policy",
463 },
464 },
465 required: [
466 "crash_dump.policy_other",
467 ],
468}
469
470
471// NB -- this installs "the other" architecture. (puts 32 bit config in on 64 bit device)
472// or at least that is the intention so that we get both of them populated
473prebuilt_etc {
474 name: "crash_dump.policy_other",
475 sub_dir: "seccomp_policy",
476 filename_from_src: true,
477 arch: {
478 arm: {
479 src: "seccomp_policy/crash_dump.arm64.policy",
480 },
481 arm64: {
482 src: "seccomp_policy/crash_dump.arm.policy",
483 },
484 x86: {
485 src: "seccomp_policy/crash_dump.x86_64.policy",
486 },
487 x86_64: {
488 src: "seccomp_policy/crash_dump.x86.policy",
489 },
490 },
491}