Android: Difference between revisions

250 bytes added ,  23 March 2010
(→‎Attach gdb: update gdb info)
Line 68: Line 68:
Normal Firefox build, with the following mozconfig.  If building fennec, clone the mobile-browser repo as 'mobile' in the toplevel mozilla dir.  Make sure you set the paths to the NDK/SDK appropriately.
Normal Firefox build, with the following mozconfig.  If building fennec, clone the mobile-browser repo as 'mobile' in the toplevel mozilla dir.  Make sure you set the paths to the NDK/SDK appropriately.


# Uncomment these two lines to use objdir with client.mk
#OBJDIR=objdir-android
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/$OBJDIR
  ac_add_options --enable-application=browser
  ac_add_options --enable-application=browser
# For Fennec use this instead:
#ac_add_options --enable-application=mobile
   
   
  ac_add_options --disable-ogg
  ac_add_options --disable-ogg
Line 106: Line 112:
A standard build should succeed with those paths.
A standard build should succeed with those paths.


After that build finishes, a make inside embedding/android should generate a gecko.apk that's installable on an Android device.
After that build finishes, a <tt>make -C embedding/android</tt> should generate a gecko.apk that's installable on an Android device using <tt>adb install gecko.apk</tt>


==== JS/NSPR only ====
==== JS/NSPR only ====
200

edits