Files
ports/devel/electron42/files/patch-content_browser_BUILD.gn
2026-10-04 04:07:15 +00:00

34 lines
1015 B
Plaintext

--- content/browser/BUILD.gn.orig 2026-05-12 08:53:52 UTC
+++ content/browser/BUILD.gn
@@ -2648,6 +2648,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" ]
@@ -2697,6 +2705,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_p2p_enabled) {