Bug 594549 - Provide update locale info in the Android package [r=blassey, a=blocking-fennec]

This commit is contained in:
Alex Pakhotin 2010-09-08 13:17:52 -07:00
Родитель 1a24c4a0f7
Коммит 3376e41429
2 изменённых файлов: 4 добавлений и 0 удалений

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

@ -303,6 +303,7 @@ abstract public class GeckoApp
byte[] buf = new byte[8192];
unpackFile(zip, buf, null, "application.ini");
unpackFile(zip, buf, null, getContentProcessName());
unpackFile(zip, buf, null, "update.locale");
try {
ZipEntry componentsList = zip.getEntry("components/components.manifest");

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

@ -184,6 +184,9 @@ dist: FORCE
rm -rf dist/defaults/*
@(for f in $(DIST)/bin/defaults/* ; do $(NSINSTALL) $$f dist/defaults ; done )
@(for f in $(DIST_LINK_FILES) ; do if [ -e $(DIST)/bin/$$f ] ; then echo $$f ; ln -sf ../$(DIST)/bin/$$f dist ; fi ; done)
ifdef MOZ_UPDATER
$(NSINSTALL) $(DIST)/bin/update.locale dist
endif
gecko-unsigned-unaligned.apk: gecko.ap_ classes.dex dist $(FULL_LIBS)
$(APKBUILDER) $@ -v $(APKBUILDER_FLAGS) -z gecko.ap_ -f classes.dex -nf `pwd`/libs -rf dist