Skip to content

Instantly share code, notes, and snippets.

@jsantell
Created May 16, 2014 20:21
Show Gist options
  • Save jsantell/0bcc2f2f7f8e886fa2c9 to your computer and use it in GitHub Desktop.
Save jsantell/0bcc2f2f7f8e886fa2c9 to your computer and use it in GitHub Desktop.
building devtools
### These are only for debug builds, let's not deal with that for now
#ac_add_options --enable-debug
#ac_add_options --disable-optimize
# Uses multicores when building
mk_add_options MOZ_MAKE_FLAGS="-j8"
# Honestly I don't know what this does
ac_add_options --with-ccache
# More info
# https://wiki.mozilla.org/DevTools/Hacking
# Rebuild everything, 30m
./mach clobber && ./mach build
# Rebuild just devtools
./mach build browser/devtools
# Rebuild just a devtools component
./mach build browser/devtools/webconsole
# Run all tests in a component
./mach mochitest-devtools browser/devtools/webconsole
# Rebuild just a single test
./mach build browser/devtools/webconsole/test/test-name.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment