port bug 1155776, bug 1155816, bug 870370 (moves from Makefile.in to moz.build) master
authorRobert Kaiser <kairo@kairo.at>
Sun, 3 May 2015 23:36:08 +0000 (01:36 +0200)
committerRobert Kaiser <kairo@kairo.at>
Sun, 3 May 2015 23:36:08 +0000 (01:36 +0200)
Makefile.in
moz.build

index 29260a4..b77274d 100644 (file)
@@ -46,9 +46,7 @@ include $(DEPTH)/config/autoconf.mk
 EXTENSION_VERSION      = 4.0.1
 
 XPI_NAME               = mandelbrot
-USE_EXTENSION_MANIFEST = 1
 NO_JAR_AUTO_REG        = 1
-NO_JS_MANIFEST         = 1
 INSTALL_EXTENSION_ID   = mandelbrot@kairo.at
 XPI_PKGNAME            = mandelbrot-$(EXTENSION_VERSION)
 
@@ -56,10 +54,6 @@ DIST_FILES = \
   install.rdf \
   $(NULL)
 
-EXTRA_COMPONENTS = \
-  aboutMandelbrot.js \
-  $(NULL)
-
 # include config.mk before using the AB_CD var
 include $(topsrcdir)/config/config.mk
 
index bdafcaf..18c9699 100644 (file)
--- a/moz.build
+++ b/moz.build
@@ -5,9 +5,16 @@
 
 TEST_DIRS += ['tests']
 
+NO_JS_MANIFEST = True
+USE_EXTENSION_MANIFEST = True
+
 XPI_NAME = 'mandelbrot'
 export('XPI_NAME')
 
 JAR_MANIFESTS += ['jar.mn']
 
 JS_PREFERENCE_FILES += ['prefs.js']
+
+EXTRA_COMPONENTS += [
+    'aboutMandelbrot.js',
+]