Android-x86 support

Gerry LaChac glachac at tethermedia.com
Fri Apr 29 11:27:08 PDT 2011



On 04/29/2011 02:02 PM, Edward Hervey wrote:
>
>> I've run into issues already with a simple attempt, but I'm building
>> projects one at a time so I'm not sure what lies ahead.  For example, in
>> libmad the Android.mk assumes arm and passes that to configure in the
>> --host argument.  It also hardcodes the use of the arm assembly code in
>> Makefile.am.  On the other hand libid3tag and ogg have built cleanly.
>    That should be trivial enough to fix to make it pass the right --host
> based on env variables set by the android build system. We could maybe
> add that to androgenizer...
>

Yes, that's easy.  I added this to gstreamer_aggregate/Android.mk to 
figure out the correct --host.    The Makefile.am issue of hardcoded arm 
assembly file, I had commented out for now.

ifeq ($(TARGET_CPU_ABI),x86)
CONFIGURE_HOST:=i686-pc-linux-gnu
else
CONFIGURE_HOST:=arm-linux-androideabi
endif



More information about the gstreamer-android mailing list