Skip to content

Instantly share code, notes, and snippets.

@cnevinc
Last active September 11, 2017 02:11
Show Gist options
  • Save cnevinc/073bec0b08683edc002b779ad514c53f to your computer and use it in GitHub Desktop.
Save cnevinc/073bec0b08683edc002b779ad514c53f to your computer and use it in GitHub Desktop.
mozconfig
## Build Firefox for Android Artifact Mode:
ac_add_options --enable-application=mobile/android
ac_add_options --target=arm-linux-androideabi
ac_add_options --enable-artifact-builds
#
## With the following Android SDK:
ac_add_options --with-android-sdk="/Users/nechen/.mozbuild/android-sdk-macosx"
#
## Write build artifacts to:
mk_add_options MOZ_OBJDIR=./objdir-frontend
# Build Firefox for Android:
ac_add_options --enable-application=mobile/android
# Build for N5
ac_add_options --target=arm-linux-androideabi
# With the following Android SDK and NDK:
#ac_add_options --with-android-sdk="/Users/nechen/.mozbuild/android-sdk-macosx"
# full build
#ac_add_options --with-android-ndk="/Users/nechen/.mozbuild/android-ndk-r11b"
#ac_add_options --enable-debug
#ac_add_options --disable-optimize
#mk_add_options MOZ_OBJDIR=./objdir-full-b04669e98
# Artifact build
ac_add_options --enable-artifact-builds
mk_add_options MOZ_OBJDIR=./objdir-artifact
# Photon
#ac_add_options --enable-photon
#export MOZ_INSTALL_TRACKING=1
#ac_add_options --with-adjust-sdk-keyfile=/Users/nechen/Desktop/mozilla-central/mobile/android/base/adjust-sdk-sandbox.token
export MOZ_ANDROID_MMA=1
ac_add_options --with-leanplum-sdk-keyfile=/Users/nechen/Desktop/github/leanplum-sdk-sandbox.token
#mk_add_options 'export MOZ_CHROME_MULTILOCALE=en-US pl'
#mk_add_options 'export L10NBASEDIR=/Users/nechen/Desktop/l10n-central'
#ac_add_options --with-l10n-base="/Users/nechen/Desktop/l10n-central"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment