0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00

update faster-package-multi-locale.patch

This commit is contained in:
Malte Jürgens 2022-06-15 11:48:45 +02:00
parent 99c6180113
commit 6686daaa3a
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -30,7 +30,7 @@ diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuil
- )
- locales.append("en-US")
- locales = list(sorted(locales))
+ locales = list(filter(lambda locale: locale != "en-US", sorted(locales)))
+ locales = sorted(locale for locale in locales if locale != "en-US")
append_env = {
# We are only (re-)packaging, we don't want to (re-)build
@ -73,8 +73,8 @@ diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuil
+ "Processing chrome Gecko resources for locales {locales}",
+ )
+ command_context._run_make(
+ directory=mozpath.join(command_context.topobjdir),
+ target=list(map(lambda locale: "chrome-{}".format(locale), locales)),
+ directory=command_context.topobjdir,
+ target=["chrome-{}".format(locale) for locale in locales],
+ append_env=append_env,
+ pass_thru=False,
+ print_directory=False,