Last active
January 5, 2018 02:25
-
-
Save astleychen/735c6c589dc6ebf982b3022244c2c30a to your computer and use it in GitHub Desktop.
A Firefox desktop build profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define where build files should go. This places them in the directory | |
# "obj-ff-dbg" under the current source directory | |
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-desktop | |
# -s makes builds quieter by default | |
# -j4 allows 4 tasks to run in parallel. Set the number to be the amount of | |
# cores in your machine. 4 is a good number. | |
mk_add_options MOZ_MAKE_FLAGS="-s -j8" | |
mk_add_options AUTOCLOBBER=1 | |
# Enable ccache | |
ac_add_options --with-ccache | |
# Enable debug builds | |
ac_add_options --enable-debug | |
# Disable optimization | |
ac_add_options --disable-optimize | |
# Gecko Profiler | |
ac_add_options --enable-profiling | |
# Treat warnings as errors (modulo ALLOW_COMPILER_WARNINGS). | |
#ac_add_options --enable-warnings-as-errors | |
# Enable tests | |
ac_add_options --enable-tests | |
# Default application to be built | |
ac_add_options --enable-application=browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment