mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 20:20:00 +00:00
bug 307225, make langpacks nice extensions with chrome.manifest and up-to-date install.rdf, l10n-packaging-only build change, r=gandalf,coop
This commit is contained in:
parent
65d0cac300
commit
1b94f3bd87
@ -238,10 +238,10 @@ langpack-%: XPI_NAME=locale-$*
|
||||
langpack-%:
|
||||
@echo "Making langpack $(LANGPACK_FILE)"
|
||||
@$(RM) -rf $(DIST)/xpi-stage/locale-$(AB_CD)
|
||||
@$(MAKE) libs-$(AB_CD)
|
||||
@$(MAKE) libs-$(AB_CD) USE_EXTENSION_MANIFEST=1
|
||||
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) -I$(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/defines.inc -I$(LOCALE_SRCDIR)/defines.inc $(srcdir)/generic/install.rdf > $(FINAL_TARGET)/install.rdf
|
||||
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
|
||||
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome
|
||||
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome chrome.manifest
|
||||
|
||||
# This is a generic target that will make a langpack, repack ZIP (+tarball)
|
||||
# builds, and repack an installer if applicable. It is called from the
|
||||
|
@ -45,43 +45,17 @@
|
||||
em:id="@MOZ_LANGPACK_EID@"
|
||||
em:name="@MOZ_LANG_TITLE@ Language Pack"
|
||||
em:version="@MOZ_APP_VERSION@"
|
||||
em:type="8"
|
||||
em:creator="@MOZ_LANGPACK_CREATOR@">
|
||||
#ifdef MOZ_LANGPACK_CONTRIBUTORS
|
||||
@MOZ_LANGPACK_CONTRIBUTORS@
|
||||
#endif
|
||||
<em:file>
|
||||
<Description about="urn:mozilla:extension:file:@AB_CD@.jar">
|
||||
<em:locale>locale/global/</em:locale>
|
||||
<em:locale>locale/global-platform/</em:locale>
|
||||
<em:locale>locale/global-region/</em:locale>
|
||||
|
||||
<em:locale>locale/browser/</em:locale>
|
||||
<em:locale>locale/browser-region/</em:locale>
|
||||
<em:locale>locale/passwordmgr/</em:locale>
|
||||
<em:locale>locale/mozapps/</em:locale>
|
||||
|
||||
<em:locale>locale/necko/</em:locale>
|
||||
<em:locale>locale/cookie/</em:locale>
|
||||
<em:locale>locale/pippki/</em:locale>
|
||||
<em:locale>locale/pipnss/</em:locale>
|
||||
|
||||
#ifdef EXTENSION_PREF
|
||||
<em:locale>locale/autoconfig/</em:locale>
|
||||
#endif
|
||||
#ifdef LOCALE_HAS_DOMI
|
||||
<em:locale>locale/inspector/</em:locale>
|
||||
#endif
|
||||
#ifdef LOCALE_HAS_HELP
|
||||
<em:locale>locale/help/</em:locale>
|
||||
#endif
|
||||
</Description>
|
||||
</em:file>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
|
||||
<em:minVersion>1.0</em:minVersion>
|
||||
<em:maxVersion>1.0</em:maxVersion>
|
||||
<em:minVersion>@MOZ_APP_VERSION@</em:minVersion>
|
||||
<em:maxVersion>@MOZ_APP_VERSION@</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
</Description>
|
||||
|
Loading…
x
Reference in New Issue
Block a user