summaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-sandbox_policy_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-sandbox_policy_BUILD.gn')
-rw-r--r--devel/electron33/files/patch-sandbox_policy_BUILD.gn39
1 files changed, 0 insertions, 39 deletions
diff --git a/devel/electron33/files/patch-sandbox_policy_BUILD.gn b/devel/electron33/files/patch-sandbox_policy_BUILD.gn
deleted file mode 100644
index 45ddcbcada5e..000000000000
--- a/devel/electron33/files/patch-sandbox_policy_BUILD.gn
+++ /dev/null
@@ -1,39 +0,0 @@
---- sandbox/policy/BUILD.gn.orig 2024-10-16 21:31:37 UTC
-+++ sandbox/policy/BUILD.gn
-@@ -50,7 +50,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",
-@@ -125,6 +125,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) {