aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-mojo_public_tools_bindings_mojom.gni
blob: 0be942f4872ce3f59eadeadb639a46e9c9aab26d (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-06-17 14:20:10 UTC
+++ mojo/public/tools/bindings/mojom.gni
@@ -694,6 +694,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 ]