Bug 1362496 - Add chrome-% for Firefox Desktop. r?pike
In order to be able to produce multi-locale Firefox Desktop, we need make chrome-% to work
for browser/locales the same way as it works for mobile/android/locales.
MozReview-Commit-ID: 9dm7YGZhr9C
--- a/browser/locales/Makefile.in
+++ b/browser/locales/Makefile.in
@@ -109,16 +109,35 @@ endif
@$(MAKE) -C ../../devtools/client/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
@$(MAKE) -B searchplugins AB_CD=$* XPI_NAME=locale-$*
@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
ifdef NIGHTLY_BUILD
@$(MAKE) -C ../extensions/webcompat-reporter/locales AB_CD=$* XPI_NAME=locale-$*
endif
+chrome-%:
+ @$(MAKE) -C ../../toolkit/locales chrome-$*
+ @$(MAKE) -C ../../services/sync/locales chrome AB_CD=$*
+ @$(MAKE) -C ../../extensions/spellcheck/locales chrome AB_CD=$*
+ifndef RELEASE_OR_BETA
+ @$(MAKE) -C ../extensions/formautofill/locale chrome AB_CD=$*
+endif
+ @$(MAKE) -C ../extensions/pocket/locale chrome AB_CD=$*
+ifndef RELEASE_OR_BETA
+ @$(MAKE) -C ../extensions/presentation/locale chrome AB_CD=$*
+endif
+ @$(MAKE) -C ../../intl/locales chrome AB_CD=$*
+ @$(MAKE) -C ../../devtools/client/locales chrome AB_CD=$*
+ @$(MAKE) chrome AB_CD=$*
+ @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$*
+ifdef NIGHTLY_BUILD
+ @$(MAKE) -C ../extensions/webcompat-reporter/locales chrome AB_CD=$*
+endif
+
repackage-win32-installer: WIN32_INSTALLER_OUT=$(ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe
repackage-win32-installer: $(call ESCAPE_WILDCARD,$(WIN32_INSTALLER_IN)) $(SUBMAKEFILES) libs-$(AB_CD)
@echo 'Repackaging $(WIN32_INSTALLER_IN) into $(WIN32_INSTALLER_OUT).'
$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY) export
$(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen l10ngen/setup.exe l10ngen/7zSD.sfx
$(MAKE) repackage-zip \
AB_CD=$(AB_CD) \
MOZ_PKG_FORMAT=SFX7Z \