pkg/breakpad: add linux_syscall_support.h to the vendored files

This commit is contained in:
Mitchell Hashimoto
2024-08-28 18:49:01 -07:00
parent f133206c55
commit 0f35f6267e
4 changed files with 5381 additions and 0 deletions

1
.gitattributes vendored
View File

@ -1,5 +1,6 @@
vendor/** linguist-vendored
website/** linguist-documentation
pkg/breakpad/vendor/** linguist-vendored
pkg/cimgui/vendor/** linguist-vendored
pkg/simdutf/vendor/** linguist-vendored
src/terminal/res/** linguist-vendored

View File

@ -13,6 +13,7 @@ pub fn build(b: *std.Build) !void {
});
lib.linkLibCpp();
lib.addIncludePath(upstream.path("src"));
lib.addIncludePath(b.path("vendor"));
if (target.result.isDarwin()) {
const apple_sdk = @import("apple_sdk");
try apple_sdk.addPaths(b, &lib.root_module);

File diff suppressed because it is too large Load Diff

View File

@ -175,6 +175,10 @@ pub fn build(b: *std.Build) !void {
.optimize = optimize,
});
lib.linkLibrary(breakpad_dep.artifact("breakpad"));
// We need to add this because Sentry includes some breakpad
// headers that include this vendored file...
lib.addIncludePath(breakpad_dep.path("vendor"));
},
.inproc => lib.addCSourceFiles(.{