User:MarkFinkle/BuildNotes

From MozillaWiki
Jump to navigation Jump to search

General Notes about building Mozilla and Fennec

Official Branding

This is a MOZCONFIG setting. It only needs to be added to the mobile project.

  • Add branding line
    • ac_add_app_options mobile --enable-official-branding

Shared vs Static Libraries

Brad has a patch that allows Fennec to be built in new ways. We can build without XULRunner (like desktop Firefox) or we could build with many small libraries. We might also be able to build completely static someday (all libraries in the fennec binary).

These different configurations require MOZCONFIG changes:

  • No separate XULRunner:
    • Remove the --with-libxul-sdk line
    • Remove the MOZ_BUILD_PROJECTS line
  • Many small libraries:
    • Add the --disable-libxul line