aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-sandbox_policy_BUILD.gn
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron35/files/patch-sandbox_policy_BUILD.gn
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron35/files/patch-sandbox_policy_BUILD.gn')
-rw-r--r--devel/electron35/files/patch-sandbox_policy_BUILD.gn39
1 files changed, 0 insertions, 39 deletions
diff --git a/devel/electron35/files/patch-sandbox_policy_BUILD.gn b/devel/electron35/files/patch-sandbox_policy_BUILD.gn
deleted file mode 100644
index 77b98f63eca2..000000000000
--- a/devel/electron35/files/patch-sandbox_policy_BUILD.gn
+++ /dev/null
@@ -1,39 +0,0 @@
---- sandbox/policy/BUILD.gn.orig 2025-03-24 20:50:14 UTC
-+++ sandbox/policy/BUILD.gn
-@@ -45,7 +45,7 @@ component("policy") {
- "//third_party/jni_zero",
- ]
- }
-- 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",
-@@ -114,6 +114,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) {