canmove, Confirmed users
1,448
edits
No edit summary |
|||
| Line 113: | Line 113: | ||
[[Fennec/NativeUI]] | [[Fennec/NativeUI]] | ||
==Building== | |||
You can find good instructions at [[Fennec/NativeUI#How_To_Build]]. Below is what has worked for me (stas) on Linux. This config assumes that the 'pl' central repository is cloned into $HOME/moz/l10n-central. | |||
hg clone http://hg.mozilla.org/projects/birch/ src | |||
cd src | |||
vim .mozconfig | |||
Edit the .moconfig: | |||
ac_add_options --enable-application=mobile/android | |||
# android options | |||
ac_add_options --target=arm-linux-androideabi | |||
ac_add_options --enable-debug | |||
ac_add_options --disable-optimize | |||
ac_add_options --enable-ccache | |||
ac_add_options --disable-crashreporter | |||
ac_add_options --disable-elf-hack | |||
ac_add_options --with-l10n-base="$HOME/moz/l10n-central" | |||
# Android SDK/NDK | |||
ac_add_options --with-android-ndk="/opt/android-ndk" | |||
ac_add_options --with-android-sdk="/opt/android-sdk/platforms/android-13" | |||
ac_add_options --with-android-version=8 | |||
# make options | |||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-android | |||
mk_add_options MOZ_MAKE_FLAGS="-j4 -s" | |||
Build en-US: | |||
make -f client.mk | |||
make -C obj-android/ package | |||
adb install -r obj-android/dist/fennec-11.0a1.en-US.android-arm.apk | |||
Build pl: | |||
cd obj-android/mobile/android/locales/ | |||
make merge-pl LOCALE_MERGEDIR=mergedir | |||
make installers-pl LOCALE_MERGEDIR=mergedir | |||