Last active
December 23, 2015 09:28
-
-
Save MrDHat/6614252 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## Firefox b2g | |
ENABLE_MARIONETTE=1 | |
# Import the stock config for building the browser (Firefox) | |
. $topsrcdir/browser/config/mozconfig | |
# 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=../build_trunk_b2g | |
# -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 -j2" | |
# Enable debug builds | |
ac_add_options --disable-crashreporter | |
ac_add_options --disable-optimize | |
ac_add_options --disable-static | |
ac_add_options --enable-debug | |
ac_add_options --enable-shared | |
ac_add_options --with-ccache | |
ac_add_options --enable-tests | |
ac_add_options --enable-warning-as-errors | |
ac_add_options --enable-application=b2g | |
# Turn off compiler optimization. This will make applications run slower, | |
# will allow you to debug the applications under a debugger, like GDB. | |
ac_add_options --disable-optimize | |
export CXXFLAGS="-DMOZ_ENABLE_JS_DUMP $EXTRA_INCLUDE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment