summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2024-02-02 07:49:21 +0100
committerRobert Nagy <rnagy@FreeBSD.org>2024-02-02 13:31:40 +0100
commitbb9858177483120737f2d5e4a7a19f7b86744d9d (patch)
treee0b114d5c4840c2b01fa5f497a68022eb559f403 /www/chromium/files/patch-content_common_BUILD.gn
parentmath/R-cran-sp: Update to 2.1.3 (diff)
www/chromium: update to 121.0.6167.139
Security: https://vuxml.freebsd.org/freebsd/dc9e5237-c197-11ee-86bb-a8a1599412c6.html
Diffstat (limited to 'www/chromium/files/patch-content_common_BUILD.gn')
-rw-r--r--www/chromium/files/patch-content_common_BUILD.gn39
1 files changed, 37 insertions, 2 deletions
diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn
index 9d3df23e28ff..8bbc18b1f071 100644
--- a/www/chromium/files/patch-content_common_BUILD.gn
+++ b/www/chromium/files/patch-content_common_BUILD.gn
@@ -1,6 +1,41 @@
---- content/common/BUILD.gn.orig 2023-12-10 06:10:27 UTC
+--- content/common/BUILD.gn.orig 2024-01-30 07:53:34 UTC
+++ content/common/BUILD.gn
-@@ -438,6 +438,9 @@ if (is_linux || is_chromeos) {
+@@ -404,20 +404,29 @@ source_set("common") {
+ }
+
+ if (is_linux || is_chromeos) {
+- sources += [
+- "gpu_pre_sandbox_hook_linux.cc",
+- "gpu_pre_sandbox_hook_linux.h",
+- ]
++ if (is_bsd) {
++ sources += [
++ "gpu_pre_sandbox_hook_bsd.cc",
++ "gpu_pre_sandbox_hook_bsd.h",
++ ]
++ } else {
++ sources += [
++ "gpu_pre_sandbox_hook_linux.cc",
++ "gpu_pre_sandbox_hook_linux.h",
++ ]
++ }
+ public_deps += [ "//sandbox/policy" ]
+ deps += [
+ ":sandbox_support_linux",
+ ":set_process_title_linux",
+ "//media/gpu:buildflags",
+ "//sandbox/linux:sandbox_services",
+- "//sandbox/linux:seccomp_bpf",
+ "//sandbox/policy:chromecast_sandbox_allowlist_buildflags",
+ "//third_party/fontconfig",
+ ]
++ if (use_seccomp_bpf) {
++ deps += [ "//sandbox/linux:seccomp_bpf" ]
++ }
+ if (use_v4l2_codec) {
+ deps += [ "//media/gpu/v4l2" ]
+ }
+@@ -487,6 +496,9 @@ if (is_linux || is_chromeos) {
public = [ "set_process_title_linux.h" ]
sources = [ "set_process_title_linux.cc" ]
deps = [ "//base" ]