Index: jhbuild/modtypes/mozillamodule.py
===================================================================
RCS file: /cvs/gnome/jhbuild/jhbuild/modtypes/mozillamodule.py,v
retrieving revision 1.6
diff -u -r1.6 mozillamodule.py
--- jhbuild/modtypes/mozillamodule.py	30 Sep 2004 09:06:33 -0000	1.6
+++ jhbuild/modtypes/mozillamodule.py	19 Jan 2005 09:31:43 -0000
@@ -25,15 +25,18 @@
 from jhbuild.errors import FatalError
 
 class MozillaModule(base.CVSModule):
-    def __init__(self, name, revision, autogenargs='', makeargs='',
-                 dependencies=[], suggests=[], cvsroot=None):
-        base.CVSModule.__init__(self, name, revision=revision,
+    def __init__(self, name, projects, revision, autogenargs='',
+		 makeargs='', dependencies=[], suggests=[], cvsroot=None):
+        base.CVSModule.__init__(self, name,
+				revision=revision,
                                 autogenargs=autogenargs,
                                 makeargs=makeargs,
                                 dependencies=dependencies,
                                 suggests=suggests,
                                 cvsroot=cvsroot,
                                 supports_non_srcdir_builds=False)
+	self.projects = projects
+	os.environ['MOZ_CO_PROJECT'] = projects
 
     def get_mozilla_ver(self, buildscript):
         filename = os.path.join(self.get_builddir(buildscript),
@@ -106,6 +109,7 @@
             cmd += " --libdir '${exec_prefix}/lib64'"
         cmd += ' --with-default-mozilla-five-home=%s' % mozilla_path
         cmd += ' %s' % self.autogenargs
+	cmd += ' --enable-application=%s' % self.projects
         
         if not buildscript.execute(cmd):
             return (self.STATE_BUILD, None, None)
@@ -118,6 +122,7 @@
         raise FatalError('%s is not a CVS root' % root[1])
     cvsroot = root[1]
     name = node.getAttribute('id')
+    projects = node.getAttribute('projects')
     revision = None
     autogenargs = ''
     makeargs = ''
@@ -135,7 +140,7 @@
                                                        config.autogenargs)
     makeargs += ' ' + config.module_makeargs.get(name, makeargs)
 
-    return MozillaModule(name, revision, autogenargs, makeargs,
+    return MozillaModule(name, projects, revision, autogenargs, makeargs,
                          dependencies, suggests, cvsroot)
 
 base.register_module_type('mozillamodule', parse_mozillamodule)
Index: modulesets/gnome-2.10.modules
===================================================================
RCS file: /cvs/gnome/jhbuild/modulesets/gnome-2.10.modules,v
retrieving revision 1.39
diff -u -r1.39 gnome-2.10.modules
--- modulesets/gnome-2.10.modules	10 Jan 2005 20:21:01 -0000	1.39
+++ modulesets/gnome-2.10.modules	19 Jan 2005 09:31:48 -0000
@@ -992,7 +992,7 @@
       <dep package="libgnomeui" />
     </dependencies>
   </cvsmodule>
-  <mozillamodule id="mozilla" autogenargs="--enable-default-toolkit=gtk2 --disable-mailnews --disable-ldap --disable-debug --enable-optimize --disable-tests --enable-crypto --enable-xft --with-system-zlib --disable-freetype2" cvsroot="mozilla.org" revision="MOZILLA_1_7_BRANCH">
+  <mozillamodule id="mozilla" projects="browser" autogenargs="--enable-default-toolkit=gtk2 --disable-ldap --disable-debug --enable-optimize --disable-tests --enable-crypto --enable-xft --with-system-zlib --disable-freetype2" cvsroot="mozilla.org">
     <dependencies>
       <dep package="gtk+" />
     </dependencies>
