Skip to content

Instantly share code, notes, and snippets.

@paulrouget
Created October 1, 2018 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulrouget/bfc4fe27b8924094c89d0d77643e4c29 to your computer and use it in GitHub Desktop.
Save paulrouget/bfc4fe27b8924094c89d0d77643e4c29 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 java and javac:
ac_add_options --with-java-bin-path="/Library/Java/Home/bin"
# With the following Android SDK:
ac_add_options --with-android-sdk="/Users/paul/.mozbuild/android-sdk-macosx"
# Write build artifacts to:
mk_add_options MOZ_OBJDIR=./objdir-frontend
package aar:
./mach package
./mach gradle geckoview:assembleLocalWithGeckoBinariesMinApi21
AAR is here: ./objdir-frontend/gradle/build/mobile/android/geckoview/outputs/aar/geckoview-local-withGeckoBinaries-minApi21-debug.aar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment