From e4604fa9934ddf66c2572989abe91cb9857de254 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 1 May 2024 19:49:10 -0400 Subject: [PATCH] use autoninja wrapper for building Vanadium This is the officially documented way to build Chromium. It uses ninja from the Chromium source directory which works around errors trying to include generated headers when building Vanadium. The autoninja script also raises the soft file limit to the hard limit to avoid errors when using many jobs. --- static/build.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/build.html b/static/build.html index 74b99882..febd8ddd 100644 --- a/static/build.html +++ b/static/build.html @@ -950,7 +950,7 @@ git checkout VERSION

Build the components:

-
chrt -b 0 ninja -C out/Default/ trichrome_webview_64_32_apk trichrome_chrome_64_32_apk trichrome_library_64_32_apk vanadium_config_apk
+
chrt -b 0 autoninja -C out/Default/ trichrome_webview_64_32_apk trichrome_chrome_64_32_apk trichrome_library_64_32_apk vanadium_config_apk

Sign the apks: