summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-mojo_public_tools_bindings_mojom.gni
blob: 40253193d9e24b31801c746eb6b4ee4061c69465 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- mojo/public/tools/bindings/mojom.gni.orig	2023-09-17 07:59:53 UTC
+++ mojo/public/tools/bindings/mojom.gni
@@ -743,6 +743,16 @@ template("mojom") {
       enabled_features += [ "is_apple" ]
     }
 
+    if (is_openbsd) {
+      enabled_features += [ "is_openbsd" ]
+      enabled_features += [ "is_bsd" ]
+    }
+
+    if (is_freebsd) {
+      enabled_features += [ "is_freebsd" ]
+      enabled_features += [ "is_bsd" ]
+    }
+
     action(parser_target_name) {
       allow_remote = true
       custom_processor = "mojom_parser"