freebsd-ports/www/iridium/files/patch-sandbox_linux_BUILD.gn
Robert Nagy 7034f5e54b www/iridium: update to 2023.03.111
Approved by:	rene (mentor)
2023-03-14 06:51:33 +01:00

35 lines
976 B
Text

--- sandbox/linux/BUILD.gn.orig 2023-03-13 07:33:08 UTC
+++ sandbox/linux/BUILD.gn
@@ -12,11 +12,11 @@ if (is_android) {
}
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
@@ -379,6 +379,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") {