aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-content_browser_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-content_browser_BUILD.gn')
-rw-r--r--devel/electron38/files/patch-content_browser_BUILD.gn33
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-content_browser_BUILD.gn b/devel/electron38/files/patch-content_browser_BUILD.gn
new file mode 100644
index 000000000000..f8c716473d73
--- /dev/null
+++ b/devel/electron38/files/patch-content_browser_BUILD.gn
@@ -0,0 +1,33 @@
+--- content/browser/BUILD.gn.orig 2025-09-10 14:33:47 UTC
++++ content/browser/BUILD.gn
+@@ -2600,6 +2600,14 @@ source_set("browser") {
+ ]
+ }
+
++ if (is_bsd) {
++ sources += [
++ "file_system_access/file_path_watcher/file_path_watcher_bsd.cc",
++ "file_system_access/file_path_watcher/file_path_watcher_kqueue.cc",
++ "file_system_access/file_path_watcher/file_path_watcher_kqueue.h",
++ ]
++ }
++
+ if (is_linux || is_chromeos) {
+ sources -=
+ [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ]
+@@ -2648,6 +2656,15 @@ source_set("browser") {
+ if (allow_oop_video_decoder) {
+ sources += [ "media/oop_video_decoder_factory.cc" ]
+ deps += [ "//media/mojo/mojom" ]
++ }
++
++ if (is_bsd) {
++ sources -= [
++ "file_system_access/file_path_watcher/file_path_watcher_inotify.cc",
++ "file_system_access/file_path_watcher/file_path_watcher_inotify.h",
++ "sandbox_ipc_linux.cc",
++ "sandbox_ipc_linux.h",
++ ]
+ }
+
+ if (is_chromeos) {