Brad Lassey – bug 597041 - Feedback is missing in the control panel on the Android platform, creates an .xpi for android r=mfinkle a=blocking-fennec
authorBrad Lassey <blassey@mozilla.com>
Thu, 30 Sep 2010 13:26:52 -0400
changeset 66755 d7565380051eb6e4aab421dfc4b488972108ea6c
parent 66754 ea69b160002a36c71920af9122978f7038b9b2ef
child 66756 0dc604c7bcd88d477d34679ab954909c5ccd1ab1
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, blocking-fennec
bugs597041
Brad Lassey – bug 597041 - Feedback is missing in the control panel on the Android platform, creates an .xpi for android r=mfinkle a=blocking-fennec
mobile/app/profile/extensions/Makefile.in
--- a/mobile/app/profile/extensions/Makefile.in
+++ b/mobile/app/profile/extensions/Makefile.in
@@ -44,16 +44,21 @@ include $(DEPTH)/config/autoconf.mk
 
 include $(topsrcdir)/config/rules.mk
 
 #ifeq (beta,$(MOZ_UPDATE_CHANNEL))
 EXTENSIONS = \
   feedback@mobile.mozilla.org \
   $(NULL)
 
-define _INSTALL_EXTENSIONS
-$(PYTHON) $(topsrcdir)/config/nsinstall.py $(wildcard $(srcdir)/$(dir)/*) $(DIST)/bin/extensions/$(dir)
+ABS_DIST = $(call core_abspath,$(DIST))
+
+define _PACKAGE_EXTENSIONS
+rm -f $(ABS_DIST)/bin/extensions/$(dir).xpi
+mkdir -p $(ABS_DIST)/bin/extensions
+cd $(srcdir)/$(dir)/; $(ZIP) -r9 $(ABS_DIST)/bin/extensions/$(dir).xpi *
 
 endef # do not remove the blank line!
 
 libs::
-	$(foreach dir,$(EXTENSIONS),$(_INSTALL_EXTENSIONS))
+	$(foreach dir,$(EXTENSIONS),$(_PACKAGE_EXTENSIONS))
+
 #endif