summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-content_browser_BUILD.gn
blob: ed6679540f73d55dd00ea0169c813670e7a35b50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- content/browser/BUILD.gn.orig	2025-09-13 16:56:52 UTC
+++ content/browser/BUILD.gn
@@ -90,6 +90,7 @@ source_set("browser") {
   frameworks = []
   ldflags = []
 
+  # Iridium / node dep fixes
   deps = [
     "//base",
     "//base:base_static",
@@ -103,6 +104,7 @@ source_set("browser") {
     "//cc/animation",
     "//cc/mojo_embedder",
     "//cc/paint",
+    "//chrome/common:buildflags",
     "//components/attribution_reporting:data_host_mojom",
     "//components/attribution_reporting:mojom",
     "//components/back_forward_cache:enum",
@@ -132,6 +134,7 @@ source_set("browser") {
     "//components/optimization_guide/core:features",
     "//components/optimization_guide/public/mojom",
     "//components/os_crypt/sync",
+    "//components/paint_preview/buildflags:buildflags",
     "//components/payments/content/icon",
     "//components/payments/mojom",
     "//components/performance_manager/scenario_api",
@@ -2599,6 +2602,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" ]
@@ -2647,6 +2658,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) {