Browser Metrics:Building
From MozillaWiki
To build the metrics extension:
- download and unpack the XULRunner SDK from http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-trunk/ Be sure to download the .sdk package!
- Use the following .mozconfig to build a source tree:
mk_add_options MOZ_CO_PROJECTS=browser ac_add_options --with-libxul-sdk=/path/to/xulrunner-sdk ac_add_options --enable-application=extensions/metrics # Use an objdir!
- When the build is finished (it will be quick!) the extension can be found at objdir/dist/xpi-stage