mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 16:07:38 -04:00
39 lines
1,000 B
Text
39 lines
1,000 B
Text
--- sandbox/policy/BUILD.gn.orig 2023-12-10 06:10:27 UTC
|
|
+++ sandbox/policy/BUILD.gn
|
|
@@ -48,7 +48,7 @@ component("policy") {
|
|
"//sandbox/linux:seccomp_bpf",
|
|
]
|
|
}
|
|
- if (is_linux || is_chromeos) {
|
|
+ if ((is_linux || is_chromeos) && !is_bsd) {
|
|
sources += [
|
|
"linux/bpf_audio_policy_linux.cc",
|
|
"linux/bpf_audio_policy_linux.h",
|
|
@@ -119,6 +119,27 @@ component("policy") {
|
|
"//sandbox/linux:sandbox_services",
|
|
"//sandbox/linux:seccomp_bpf",
|
|
"//sandbox/linux:suid_sandbox_client",
|
|
+ ]
|
|
+ }
|
|
+ if (is_openbsd) {
|
|
+ sources += [
|
|
+ "openbsd/sandbox_openbsd.cc",
|
|
+ "openbsd/sandbox_openbsd.h",
|
|
+ ]
|
|
+ deps += [
|
|
+ "//sandbox:sandbox_buildflags",
|
|
+ "//ui/gfx/x",
|
|
+ ]
|
|
+ libs = [ "util" ]
|
|
+ }
|
|
+ if (is_freebsd) {
|
|
+ sources += [
|
|
+ "freebsd/sandbox_freebsd.cc",
|
|
+ "freebsd/sandbox_freebsd.h",
|
|
+ ]
|
|
+ deps += [
|
|
+ "//sandbox:sandbox_buildflags",
|
|
+ "//ui/gfx/x",
|
|
]
|
|
}
|
|
if (is_chromeos_ash) {
|