PKGBUILDs/extra/chromium/0002-Run-blink-bindings-generation-single-threaded.patch

26 lines
866 B
Diff
Raw Normal View History

2024-08-15 18:19:26 +00:00
From 56d856d30a5bb8e56d0b28325f3d8ad78aa7eae2 Mon Sep 17 00:00:00 2001
2021-07-21 18:31:16 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Tue, 2 Feb 2021 13:58:59 -0700
2022-11-30 02:05:20 +00:00
Subject: [PATCH 2/3] Run blink bindings generation single threaded
2021-07-21 18:31:16 +00:00
When not single threaded this process will eat all the RAM.
---
third_party/blink/renderer/bindings/BUILD.gn | 1 +
1 file changed, 1 insertion(+)
diff --git a/third_party/blink/renderer/bindings/BUILD.gn b/third_party/blink/renderer/bindings/BUILD.gn
2024-04-13 16:31:27 +00:00
index b1c8a6458c7c7..0a2fc40a384db 100644
2021-07-21 18:31:16 +00:00
--- a/third_party/blink/renderer/bindings/BUILD.gn
+++ b/third_party/blink/renderer/bindings/BUILD.gn
2024-04-13 16:31:27 +00:00
@@ -163,6 +163,7 @@ template("generate_bindings") {
2021-07-21 18:31:16 +00:00
outputs = invoker.outputs
args = [
2021-09-01 13:05:13 +00:00
+ "--single_process",
"--web_idl_database",
rebase_path(web_idl_database, root_build_dir),
"--root_src_dir",
2021-07-21 18:31:16 +00:00
--
2024-07-18 13:38:09 +00:00
2.45.2
2021-07-21 18:31:16 +00:00