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:
Ben Hearsum 2020-06-24 20:54:28 +00:00
Родитель 93bce16559
Коммит 8be667a9ad
2 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -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']