ports/www/chromium/files/patch-content_browser_BUILD.gn

33 lines
1 KiB
Text

--- content/browser/BUILD.gn.orig 2025-04-04 08:52:13 UTC
+++ content/browser/BUILD.gn
@@ -2542,6 +2542,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" ]
@@ -2587,6 +2595,15 @@ source_set("browser") {
if (allow_oop_video_decoder) {
sources += [ "media/stable_video_decoder_factory.cc" ]
deps += [ "//media/mojo/mojom/stable:stable_video_decoder" ]
+ }
+
+ 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) {