Bug 1802128 - Drop mobile/android/locales/en-US/defines.inc as unused. r=nalexander,geckoview-reviewers,m_kato

Differential Revision: https://phabricator.services.mozilla.com/D163047
This commit is contained in:
Eemeli Aro 2022-12-05 17:15:52 +00:00
Родитель f00af81593
Коммит 8535633e9d
6 изменённых файлов: 3 добавлений и 40 удалений

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

@ -24,7 +24,7 @@ wget-en-US:
# make -j1 because dependencies in l10n build targets don't work
# with parallel builds
merge-% installers-% langpack-% chrome-%:
merge-% chrome-%:
$(MAKE) -j1 -C mobile/android/locales $@
ifdef ENABLE_TESTS

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

@ -50,19 +50,6 @@ chrome-%:
$(MAKE) -C $(DEPTH)/mobile/locales chrome-$*
$(MAKE) chrome AB_CD=$*
langpack: langpack-$(AB_CD)
# This is a generic target that will make a langpack and repack tarball
# builds. It is called from the tinderbox scripts. Alter it with caution.
installers-%: IS_LANGUAGE_REPACK=1
installers-%:
$(MAKE) clobber-stage
$(MAKE) l10n-$*
$(MAKE) package-langpack-$*
$(MAKE) repackage-zip-$*
@echo 'repackaging done'
# When we unpack fennec on MacOS X the platform.ini and application.ini are in slightly
# different locations that on all other platforms
ifeq (Darwin, $(OS_ARCH))

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

@ -1,12 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#filter emptyLines
#define MOZ_LANGPACK_CREATOR mozilla.org
# If non-English locales wish to credit multiple contributors, uncomment this
# variable definition and use the format specified.
# #define MOZ_LANGPACK_CONTRIBUTORS <em:contributor>Joe Solon</em:contributor> <em:contributor>Suzy Solon</em:contributor>
#unfilter emptyLines

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

@ -65,10 +65,7 @@ def test(mod, path, entity=None):
return "error"
if mod == "mobile/android":
if entity is None:
if re.match(r"mobile-l10n.js", path) or re.match(r"defines.inc", path):
return "ignore"
if path == "defines.inc":
if entity == "MOZ_LANGPACK_CONTRIBUTORS":
if re.match(r"mobile-l10n.js", path):
return "ignore"
return "error"

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

@ -180,11 +180,5 @@ exclude-multi-locale = [
[[filters]]
path = [
"{l}mobile/android/mobile-l10n.js",
"{l}mobile/android/defines.inc",
]
action = "ignore"
[[filters]]
path = "{l}mobile/android/defines.inc"
key = "MOZ_LANGPACK_CONTRIBUTORS"
action = "ignore"

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

@ -66,10 +66,7 @@ def test(mod, path, entity=None):
return "error"
if mod == "mobile/android":
if entity is None:
if re.match(r"mobile-l10n.js", path) or re.match(r"defines.inc", path):
return "ignore"
if path == "defines.inc":
if entity == "MOZ_LANGPACK_CONTRIBUTORS":
if re.match(r"mobile-l10n.js", path):
return "ignore"
return "error"