aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-mojo_public_tools_bindings_mojom.gni
blob: b4511f374ac03611726cd99def3f11cbf03c8feb (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	2022-05-19 14:06:27 UTC
+++ mojo/public/tools/bindings/mojom.gni
@@ -689,6 +689,16 @@ template("mojom") {
       enabled_features += [ "is_win" ]
     }
 
+    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) {
       script = mojom_parser_script
       inputs = mojom_parser_sources + [ build_metadata_filename ]