Calendar:Lightning:Building Lightning: Difference between revisions

Line 19: Line 19:
You must add two lines to the <tt>.mozconfig</tt> file:
You must add two lines to the <tt>.mozconfig</tt> file:
*<tt>mk_add_options MOZ_CO_PROJECT=mail,calendar</tt>
*<tt>mk_add_options MOZ_CO_PROJECT=mail,calendar</tt>
*<tt>ac_add_options --enable-extensions=lightning,inspector,venkman</tt>
*<tt>ac_add_options --enable-extensions=default,lightning,inspector,venkman</tt>


Right now static builds aren't working, so make sure that your <tt>.mozconfig</tt> doesn't include the lines:
Right now static builds aren't working, so make sure that your <tt>.mozconfig</tt> doesn't include the lines:
*<tt>ac_add_options --enable-static
*<tt>ac_add_options --enable-static</tt>
*<tt>ac_add_options --enable-static
*<tt>ac_add_options --enable-static</tt>


Save your .mozconfig and run your build process as per normal. This will create a <tt>dist/xpi-stage</tt> folder which will hold Lightning.
Save your .mozconfig and run your build process as per normal. This will create a <tt>dist/xpi-stage</tt> folder which will hold Lightning.
Confirmed users
2,615

edits