73
edits
| Line 1: | Line 1: | ||
== Prerequisites == | == Prerequisites == | ||
* A build of xulrunner or firefox. A debug build is recommended during development. | * A build of xulrunner or firefox. A debug build is recommended during development. Here is a sample mozconfig | ||
<pre> | |||
mk_add_options MOZ_CO_PROJECT=browser,xulrunner | |||
ac_add_options --enable-application=browser | |||
ac_add_options --enable-debug | |||
ac_add_options --disable-optimize | |||
ac_add_options --enable-tests | |||
ac_add_options --disable-installer | |||
ac_add_options --disable-crashreporter | |||
ac_add_options --disable-javaxpcom | |||
ac_add_options --disable-printing | |||
ac_add_options --disable-embedding-tests | |||
mk_add_options MOZ_OBJDIR=@topsrcdir@/../objdir | |||
mk_add_options MOZ_MAKE_FLAGS=-j4 | |||
</pre> | |||
* [[Embedding/NewApi#Getting_the_code|Get the code]] | * [[Embedding/NewApi#Getting_the_code|Get the code]] | ||
* Set the environment variable GRE_HOME to point to your build's dist/bin folder | * Set the environment variable GRE_HOME to point to your build's dist/bin folder | ||
edits