зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1659385 - Only build defaultagent localization file if required. r=mhowell
Keep L10n repacks from trying to include defaultagent_localized.ini when it's not needed. Thunderbird L10n repacks fail because this file is not present. Differential Revision: https://phabricator.services.mozilla.com/D87622
This commit is contained in:
Родитель
b0175d3263
Коммит
8841e58687
|
@ -40,10 +40,11 @@ LOCALIZED_GENERATED_FILES += ['locale.ini']
|
|||
LOCALIZED_GENERATED_FILES['locale.ini'].script = 'generate_locale_ini.py'
|
||||
LOCALIZED_FILES += ['!locale.ini']
|
||||
|
||||
LOCALIZED_GENERATED_FILES += ['defaultagent_localized.ini']
|
||||
wdba_l10n = LOCALIZED_GENERATED_FILES['defaultagent_localized.ini']
|
||||
wdba_l10n.script = '/browser/locales/generate_ini.py'
|
||||
wdba_l10n.inputs = [
|
||||
'/browser/locales/en-US/defaultagent/defaultagent_localized.ini',
|
||||
]
|
||||
LOCALIZED_FILES += ['!defaultagent_localized.ini']
|
||||
if CONFIG['MOZ_DEFAULT_BROWSER_AGENT']:
|
||||
LOCALIZED_GENERATED_FILES += ['defaultagent_localized.ini']
|
||||
wdba_l10n = LOCALIZED_GENERATED_FILES['defaultagent_localized.ini']
|
||||
wdba_l10n.script = '/browser/locales/generate_ini.py'
|
||||
wdba_l10n.inputs = [
|
||||
'/browser/locales/en-US/defaultagent/defaultagent_localized.ini',
|
||||
]
|
||||
LOCALIZED_FILES += ['!defaultagent_localized.ini']
|
||||
|
|
Загрузка…
Ссылка в новой задаче