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:
parent
414f219628
commit
99c6180113
1 changed files with 7 additions and 10 deletions
|
@ -8,13 +8,13 @@ diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuil
|
|||
nargs="+",
|
||||
required=True,
|
||||
- help='List of locales to package, including "en-US"',
|
||||
+ help='List of locales to package, excluding "en-US"',
|
||||
+ help="List of locales to package",
|
||||
)
|
||||
@CommandArgument(
|
||||
"--verbose", action="store_true", help="Log informative status messages."
|
||||
)
|
||||
def package_l10n(command_context, verbose=False, locales=[]):
|
||||
@@ -2484,55 +2484,36 @@
|
||||
@@ -2484,55 +2484,33 @@
|
||||
"export BUILD_BACKENDS=FasterMake,RecursiveMake\n"
|
||||
"in your mozconfig."
|
||||
)
|
||||
|
@ -72,16 +72,13 @@ diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuil
|
|||
+ {"locales": locales},
|
||||
+ "Processing chrome Gecko resources for locales {locales}",
|
||||
+ )
|
||||
+ command_context.run_process(
|
||||
+ [
|
||||
+ mozpath.join(command_context.topsrcdir, "mach"),
|
||||
+ "build",
|
||||
+ " ".join(map(lambda locale: "chrome-{}".format(locale), locales)),
|
||||
+ ],
|
||||
+ command_context._run_make(
|
||||
+ directory=mozpath.join(command_context.topobjdir),
|
||||
+ target=list(map(lambda locale: "chrome-{}".format(locale), locales)),
|
||||
+ append_env=append_env,
|
||||
+ pass_thru=True,
|
||||
+ pass_thru=False,
|
||||
+ print_directory=False,
|
||||
+ ensure_exit_code=True,
|
||||
+ cwd=mozpath.join(command_context.topsrcdir),
|
||||
+ )
|
||||
|
||||
if command_context.substs["MOZ_BUILD_APP"] == "mobile/android":
|
||||
|
|
Loading…
Reference in a new issue