Created
August 17, 2015 22:05
-
-
Save ncalexan/0f5d29601f2d1cff7b90 to your computer and use it in GitHub Desktop.
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
# Build Firefox for Android: | |
ac_add_options --enable-application=mobile/android/b2gdroid | |
ac_add_options --target=arm-linux-androideabi | |
# With the following Android SDK and NDK: | |
ac_add_options --with-android-sdk="/usr/local/opt/android-sdk/platforms/android-22" | |
ac_add_options --with-android-ndk="/usr/local/opt/android-ndk" | |
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | |
# ac_add_options --enable-warnings-as-errors | |
# ac_add_options --disable-optimize | |
ac_add_options --disable-crashreporter | |
# ac_add_options --enable-crashreporter | |
ac_add_options --disable-debug-symbols | |
# ac_add_options --disable-webrtc | |
ac_add_options --enable-android-apz | |
mk_add_options MOZ_OBJDIR=./objdir-b2gdroid | |
# mk_add_options MOZ_OBJDIR=./objdir-nocompile | |
mk_add_options AUTOCLOBBER=1 | |
# mk_add_options MOZ_MAKE_FLAGS=-j7 | |
# ac_add_options --disable-elf-hack | |
ac_add_options --with-ccache=/usr/local/bin/ccache | |
# export MOZILLA_OFFICIAL=1 | |
# export MOZ_PACKAGE_JSSHELL=1 | |
# export JS_BINARY=/Users/nalexander/Mozilla/gecko-dev/jsmin/js | |
# ac_add_options --enable-android-resource-constrained | |
# mk_add_options 'export MOZ_DISABLE_GECKOVIEW=1' | |
# ac_add_options --disable-compile-environment | |
# ac_add_options --with-system-zlib | |
# ac_add_options --enable-building-mobile-android-with-gradle | |
# ac_add_options --with-gradle="/usr/local/bin/gradle" | |
# mk_add_options 'export GRADLE_BUILDSCRIPT_MAVEN_REPOSITORY=/usr/local/var/nexus/storage/central' | |
MOZ_ANDROID_GECKOLIBS_AAR=1 | |
# export MOZ_OFFICIAL=1 | |
# ac_add_options --with-adjust-sdk-keyfile=/Users/nalexander/Mozilla/gecko/adjust.keyfile | |
# ac_add_options --with-android-distribution-directory=/Users/nalexander/Mozilla/fennec-distribution-sample | |
GAIADIR=/Users/nalexander/Mozilla/gaia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment