All platforms are using the same set of makefiles for the build so all you have to do is edit Makefile.in files (and possibly toolkit/toolkit-tiers.mk if you add new makefiles).

Note

Don't forget to check TreeHerder after you check in!

Adding files to the build

Checking in

Adding new files to the build can cause breakage on tinderbox and to other developers if things aren't checked in the correct order.

  1. Check in only the new files.
  2. Check in the patches to existing files that make your new files get used.

Exporting files

Exporting a file makes it get copied to mozilla/dist. C and C++ header files are exported by including them the EXPORTS list in Makefile.in, and IDL files are exported by including them in the XPIDLSRCS list.

Original Document Information