1--- src/3rdparty/chromium/content/browser/BUILD.gn.orig	2025-08-15 18:30:00 UTC
2+++ src/3rdparty/chromium/content/browser/BUILD.gn
3@@ -2529,6 +2529,14 @@ jumbo_source_set("browser") {
4     ]
5   }
6
7+  if (is_bsd) {
8+    sources += [
9+      "file_system_access/file_path_watcher/file_path_watcher_bsd.cc",
10+      "file_system_access/file_path_watcher/file_path_watcher_kqueue.cc",
11+      "file_system_access/file_path_watcher/file_path_watcher_kqueue.h",
12+    ]
13+  }
14+
15   if (is_linux || is_chromeos) {
16     sources -=
17         [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ]
18@@ -2574,6 +2582,15 @@ jumbo_source_set("browser") {
19   if (allow_oop_video_decoder) {
20     sources += [ "media/stable_video_decoder_factory.cc" ]
21     deps += [ "//media/mojo/mojom/stable:stable_video_decoder" ]
22+  }
23+
24+  if (is_bsd) {
25+    sources -= [
26+      "file_system_access/file_path_watcher/file_path_watcher_inotify.cc",
27+      "file_system_access/file_path_watcher/file_path_watcher_inotify.h",
28+      "sandbox_ipc_linux.cc",
29+      "sandbox_ipc_linux.h",
30+    ]
31   }
32
33   if (is_chromeos) {
34