зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1686089 - Make `mach package-multi-locale` handle Desktop on macOS. r=zbraniecki
There's a macOS-specific wrinkle for browser/ that populates the `.app` directory. This makes that happen as part of `mach package-multi-locale`. It's the equivalent, I suppose, of `mach android assemble-app` for Desktop. Differential Revision: https://phabricator.services.mozilla.com/D101502
This commit is contained in:
Родитель
06e7942185
Коммит
e74edb8950
|
@ -2015,15 +2015,34 @@ class L10NCommands(MachCommandBase):
|
|||
cwd=mozpath.join(self.topsrcdir),
|
||||
)
|
||||
|
||||
if self.substs["MOZ_BUILD_APP"] == "browser":
|
||||
self.log(
|
||||
logging.INFO,
|
||||
"package-multi-locale",
|
||||
{},
|
||||
"Repackaging browser",
|
||||
)
|
||||
self._run_make(
|
||||
directory=mozpath.join(self.topobjdir, "browser", "app"),
|
||||
target=["tools"],
|
||||
append_env=append_env,
|
||||
pass_thru=True,
|
||||
ensure_exit_code=True,
|
||||
)
|
||||
|
||||
self.log(
|
||||
logging.INFO,
|
||||
"package-multi-locale",
|
||||
{},
|
||||
"Invoking multi-locale `mach package`",
|
||||
)
|
||||
target = ["package"]
|
||||
if self.substs["MOZ_BUILD_APP"] == "mobile/android":
|
||||
target.append("AB_CD=multi")
|
||||
|
||||
self._run_make(
|
||||
directory=self.topobjdir,
|
||||
target=["package", "AB_CD=multi"],
|
||||
target=target,
|
||||
append_env=append_env,
|
||||
pass_thru=True,
|
||||
ensure_exit_code=True,
|
||||
|
|
Загрузка…
Ссылка в новой задаче