Created
October 1, 2018 11:16
-
-
Save paulrouget/bfc4fe27b8924094c89d0d77643e4c29 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
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