Created
October 24, 2016 16:34
-
-
Save pocmo/cdfcd76d6638c7ad2b3dea8ee96d6c1e 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 | |
mk_add_options MOZ_OBJDIR=./objdir-frontend | |
# Artifact builds (Fox yeah!) | |
ac_add_options --enable-artifact-builds | |
# Android SDK | |
ac_add_options --with-android-sdk=/Users/sebastian/Library/Android/sdk | |
# Android NDK | |
# ac_add_options --with-android-ndk="/Users/sebastian/.mozbuild/android-ndk-r11b" | |
############################################################## | |
### Architecutre ############################################# | |
############################################################## | |
# ARM | |
ac_add_options --target=arm-linux-androideabi | |
# x86 | |
# ac_add_options --target=i386-linux-android | |
############################################################## | |
### Features ################################################# | |
############################################################## | |
# Do not build bouncer | |
export MOZ_ANDROID_PACKAGE_INSTALL_BOUNCER= | |
# Activity Stream | |
export MOZ_ANDROID_ACTIVITY_STREAM=1 | |
# Distribution | |
ac_add_options --with-android-distribution-directory=/Users/sebastian/Projects/Mozilla/random/fennec-distribution-sample | |
# Custom tabs | |
# export MOZ_ANDROID_CUSTOM_TABS=1 | |
# ccache | |
# ac_add_options --with-ccache | |
# no fonts | |
# export MOZ_ANDROID_EXCLUDE_FONTS=1 | |
# downloadable content | |
# export MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE=1 | |
# disable gecko view | |
# export MOZ_DISABLE_GECKOVIEW=1 | |
# constrained build | |
# export MOZ_ANDROID_RESOURCE_CONSTRAINED=1 | |
# Testing updater | |
# ac_add_options --enable-updater | |
# ac_add_options --enable-update-channel=nightly | |
############################################################## | |
### Experimental full gradle build ########################### | |
############################################################## | |
# ac_add_options --enable-artifact-builds | |
# ac_add_options --with-gradle | |
# mk_add_options MOZ_OBJDIR=./objdir-gradle | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment