Browser Metrics:Building

From MozillaWiki
Jump to: navigation, search

To build the metrics extension:

  • download and unpack the XULRunner SDK from 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