diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron39/files/patch-sandbox_linux_BUILD.gn | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron39/files/patch-sandbox_linux_BUILD.gn')
| -rw-r--r-- | devel/electron39/files/patch-sandbox_linux_BUILD.gn | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-sandbox_linux_BUILD.gn b/devel/electron39/files/patch-sandbox_linux_BUILD.gn new file mode 100644 index 000000000000..a0f041c53b88 --- /dev/null +++ b/devel/electron39/files/patch-sandbox_linux_BUILD.gn @@ -0,0 +1,35 @@ +--- sandbox/linux/BUILD.gn.orig 2025-08-26 20:49:50 UTC ++++ sandbox/linux/BUILD.gn +@@ -11,11 +11,11 @@ declare_args() { + } + + declare_args() { +- compile_suid_client = is_linux || is_chromeos ++ compile_suid_client = (is_linux || is_chromeos) && !is_bsd + +- compile_credentials = is_linux || is_chromeos ++ compile_credentials = (is_linux || is_chromeos) && !is_bsd + +- compile_syscall_broker = is_linux || is_chromeos ++ compile_syscall_broker = (is_linux || is_chromeos) && !is_bsd + + # On Android, use plain GTest. + use_base_test_suite = is_linux || is_chromeos +@@ -373,6 +373,17 @@ component("sandbox_services") { + "services/libc_interceptor.h", + ] + } ++ ++ if (is_bsd) { ++ sources -= [ ++ "services/scoped_process.cc", ++ "services/scoped_process.h", ++ "services/syscall_wrappers.cc", ++ "services/syscall_wrappers.h", ++ "services/yama.cc", ++ "services/yama.h", ++ ] ++ } + } + + source_set("sandbox_services_headers") { |
