Skip to content

Instantly share code, notes, and snippets.

@Mugurell
Created November 23, 2022 13:00
Show Gist options
  • Save Mugurell/1fd0d86ca69213a6b2ea4d9b5d27d8ea to your computer and use it in GitHub Desktop.
Save Mugurell/1fd0d86ca69213a6b2ea4d9b5d27d8ea to your computer and use it in GitHub Desktop.
Basic configuration for building the GeckoView-Example app from sources
# Build GeckoView/Firefox for Android:
ac_add_options --enable-application=mobile/android
# Targeting the following architecture.
# For regular phones, no --target is needed.
# For x86 emulators (and x86 devices, which are uncommon):
# ac_add_options --target=i686
# For newer phones or Apple silicon
ac_add_options --target=aarch64
# For x86_64 emulators (and x86_64 devices, which are even less common):
# ac_add_options --target=x86_64
# Enable artifact mode
ac_add_options --enable-artifact-builds
# Write build artifacts to:
# mk_add_options MOZ_OBJDIR=./objdir-frontend
# Enable automatic clobbering
mk_add_options AUTOCLOBBER=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment