зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1631409: run multi-l10n step for artifact builds to fix test failures on try r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D80701
This commit is contained in:
Родитель
93bce16559
Коммит
8be667a9ad
|
@ -1424,13 +1424,6 @@ class L10NCommands(MachCommandBase):
|
|||
@CommandArgument('--verbose', action='store_true',
|
||||
help='Log informative status messages.')
|
||||
def package_l10n(self, verbose=False, locales=[]):
|
||||
backends = self.substs['BUILD_BACKENDS']
|
||||
if 'RecursiveMake' not in backends:
|
||||
self.log(logging.ERROR, 'package-multi-locale', {'backends': backends},
|
||||
"Multi-locale packaging requires the full (non-artifact) "
|
||||
"'RecursiveMake' build backend; got {backends}.")
|
||||
return 1
|
||||
|
||||
if 'en-US' not in locales:
|
||||
self.log(logging.WARN, 'package-multi-locale', {'locales': locales},
|
||||
'List of locales does not include default locale "en-US": '
|
||||
|
|
|
@ -835,10 +835,6 @@ items from that key's value."
|
|||
self.info("Not a nightly build, skipping multi l10n.")
|
||||
return
|
||||
|
||||
if os.environ.get('USE_ARTIFACT'):
|
||||
self.info("Artifact build, skipping multi l10n.")
|
||||
return
|
||||
|
||||
dirs = self.query_abs_dirs()
|
||||
base_work_dir = dirs['base_work_dir']
|
||||
work_dir = dirs['abs_work_dir']
|
||||
|
|
Загрузка…
Ссылка в новой задаче