Firefox/WindowsDevEnvTips: Difference between revisions
< Firefox
No edit summary |
(→Build System Tweaks: clarify "build-backend" requirement) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* [https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Windows_Prerequisites MDN Article "Windows Prerequisites"] | * [https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Windows_Prerequisites MDN Article "Windows Prerequisites"] | ||
* [https://developer.mozilla.org/en-US/docs/Developer_Guide/mach MDN Article on mach] | * [https://developer.mozilla.org/en-US/docs/Developer_Guide/mach MDN Article on mach] | ||
* [https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions MDN Article "Build Instructions"] | |||
== Mercurial == | == Mercurial == | ||
Line 11: | Line 12: | ||
* [https://groups.google.com/d/topic/mozilla.dev.platform/cm0Jsgr6nr0/discussion Install mozmake] | * [https://groups.google.com/d/topic/mozilla.dev.platform/cm0Jsgr6nr0/discussion Install mozmake] | ||
* Use "mach build binaries" for fast incremental builds if you change only C/C++ files (requires mozmake) | * Use "mach build binaries" for fast incremental builds if you change only C/C++ files (requires mozmake) | ||
* If you build without using mach (by running make/mozmake/pymake directly), be aware that [https://groups.google.com/forum/#!topic/firefox-dev/fEjTChWPJjg you must run "mach build-backend" if you change a moz.build file]. | |||
* [http://blog.pearce.org.nz/2013/03/reducing-windows-background-cpu-load.html Disable Windows' malware scanning and indexing] on your source and object dirs to reduce background CPU load while building. | |||
== Handy MOZCONFIG settings == | == Handy MOZCONFIG settings == | ||
Line 22: | Line 25: | ||
== Debugging CPP on Windows == | == Debugging CPP on Windows == | ||
[https://developer.mozilla.org/en-US/docs/Debugging_Mozilla_on_Windows_FAQ MDN Article "Debugging Mozilla on Windows"] | * [https://developer.mozilla.org/en-US/docs/Debugging_Mozilla_on_Windows_FAQ MDN Article "Debugging Mozilla on Windows"] | ||
== | == IRC == | ||
* | * For build system questions/discussion: [irc://irc.mozilla.org/build #build] | ||
* For Windows specific questions/discussion: [irc://irc.mozilla.org/windev #windev] |
Latest revision as of 18:41, 7 November 2013
Intro
- Developing & building Gecko& friends on Windows, especially Windows 8, has lots of room for improvement. Here's some of the tribal knowledge to make you happier on our most popular platform.
Prerequisite reading
Mercurial
Customizations to the Console Emulator
Build System Tweaks
- Install mozmake
- Use "mach build binaries" for fast incremental builds if you change only C/C++ files (requires mozmake)
- If you build without using mach (by running make/mozmake/pymake directly), be aware that you must run "mach build-backend" if you change a moz.build file.
- Disable Windows' malware scanning and indexing on your source and object dirs to reduce background CPU load while building.
Handy MOZCONFIG settings
Nifty Visual Studio tricks
VS 2010-13
VS 2010
VS 2011
VS 2012
Debugging JS on Windows
- Debug/inspect Metro Firefox remotely using devtools in desktop Firefox