Extract chrome files from moz .jars to create embed.jar if building with jar chrome only. Bug #72390. Shoudl fix tinderbox bustage too.
git-svn-id: svn://10.0.0.236/trunk@90341 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5afd721d44
commit
1a21bbb1ce
@ -27,7 +27,19 @@ include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
embed_chrome: embed-jar.mn
|
||||
$(PERL) $(MOZILLA_DIR)/config/make-jars.pl -v -d $(DIST)/bin/chrome -s $(DIST)/bin/chrome < $(MOZILLA_DIR)/embedding/config/embed-jar.mn
|
||||
ifneq (jar,$(MOZ_CHROME_FILE_FORMAT))
|
||||
$(PERL) $(MOZILLA_DIR)/config/make-jars.pl -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/bin/chrome < $(MOZILLA_DIR)/embedding/config/embed-jar.mn
|
||||
else
|
||||
for f in $(DIST)/bin/chrome/*.jar; do \
|
||||
b=`basename $$f | sed -e 's|.jar$$||'` ; \
|
||||
echo "$$b" ; \
|
||||
$(NSINSTALL) -D $(DIST)/Embed/tmpchrome/$$b ;\
|
||||
unzip -d $(DIST)/Embed/tmpchrome/$$b $$f ; \
|
||||
done
|
||||
$(PERL) $(MOZILLA_DIR)/config/make-jars.pl -v -f $(MOZ_CHROME_FILE_FORMAT) -d $(DIST)/bin/chrome -s $(DIST)/Embed/tmpchrome < $(MOZILLA_DIR)/embedding/config/embed-jar.mn
|
||||
$(RM) -rf $(DIST)/Embed/tmpchrome
|
||||
endif
|
||||
|
||||
|
||||
install:: embed_chrome
|
||||
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/basebrowser-unix -o unix -v
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user