opnsense-ports/devel/electron32/files/patch-content_browser_BUILD.gn
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

33 lines
1,016 B
Text

--- content/browser/BUILD.gn.orig 2024-08-30 11:29:36 UTC
+++ content/browser/BUILD.gn
@@ -2397,6 +2397,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 += [
"child_process_launcher_helper_linux.cc",
@@ -2437,6 +2445,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) {