about [UPDATING (4 days)] [MOVED (15 hours)] [vuxml (3 hours)]summaryrefslograw-logtreecommitdiffstats
path: root/www/librewolf/files/patch-build_gn__processor.py [up]
Last 15 commits to file "www/librewolf/files/patch-build_gn__processor.py" in the last year: [ Last 15 commits to this file | All commits to this file ]
 
Commit messageAuthorDateFilesLines
* [ file ]www/librewolf: Update 160.0.1-1 => 161.0-1Martin Filla2026-11-30 02:40:43 +0000 (34 hours)1-6/+14
* [ file ]www/librewolf: Update 155.0.1-1 => 156.0-1Martin Filla2026-09-17 05:09:56 +01001-9/+9
* [ file ]www/librewolf: Update 152.0.6-1 => 153.0-3Martin Filla2026-07-25 01:24:09 +01001-9/+9
* [ file ]www/librewolf: Update 141.0.3-1 => 142.0-1Martin Filla2025-08-23 22:08:42 +01001-8/+8
* [ file ]www/librewolf: Update 136.0.4-1 => 137.0-1Martin Filla2025-04-02 14:46:46 +01001-0/+49


commit: (<title> <author> <date> etc.)
blob: 606ad13cc552ad9bc960e35107ef1d9e92c92488 (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
commit 31d12ac8ef344f0ffe2942787a9884fb2ad7c19e
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>

    FreeBSD workings for webrtc configure (gn_processor.py)

diff --git build/gn_processor.py build/gn_processor.py
index c2d98c299082..64b286f5425e 100644
--- build/gn_processor.py
+++ build/gn_processor.py
@@ -227,6 +227,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target):
     }
     os_targets = {
         "android": "Android",
+        "freebsd": "FreeBSD",
         "linux": "Linux",
         "mac": "Darwin",
         "ios": "Darwin",
@@ -237,6 +238,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target):
     # macOS and iOS (which both have OS_TARGET == "Darwin").
     target_oses = {
         "android": "Android",
+        "freebsd": "FreeBSD",
         "linux": "GNU",
         "mac": "OSX",
         "ios": "iOS",
@@ -1154,17 +1156,17 @@ def generate_gn_configs(topsrcdir, config):
 
     vars_set = []
     for is_debug in (True, False):
-        for target_os in ("android", "ios", "linux", "mac", "openbsd", "win"):
+        for target_os in ("freebsd",):
             target_cpus = ["x64"]
-            if target_os in ("android", "ios", "linux", "mac", "win", "openbsd"):
+            if target_os in ("android", "freebsd", "ios", "linux", "mac", "win", "openbsd"):
                 target_cpus.append("arm64")
             if target_os in ("android", "linux"):
                 target_cpus.append("arm")
-            if target_os in ("android", "linux", "win"):
+            if target_os in ("android", "freebsd", "linux", "win"):
                 target_cpus.append("x86")
-            if target_os in ("linux", "openbsd"):
+            if target_os in ("freebsd", "linux", "openbsd"):
                 target_cpus.append("riscv64")
-            if target_os == "linux":
+            if target_os in ("freebsd", "linux"):
                 target_cpus.extend(["loong64", "ppc64", "mipsel", "mips64el"])
             for target_cpu in target_cpus:
                 vars = {
@@ -1178,7 +1180,7 @@ def generate_gn_configs(topsrcdir, config):
                 vars.update(config_args.get("*", {}))
                 vars.update(config_args.get(target_os, {}))
 
-                if target_os == "linux":
+                if target_os in ("freebsd", "linux"):
                     for enable_x11 in (True, False):
                         vars["ozone_platform_x11"] = enable_x11
                         vars_set.append(vars.copy())
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.