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