Android CTS 5.1 Release 18 (3824209)
Added Android build support for libedit prebuilts maintainer

This Android.mk support puts a thin layer around the libedit
./configure-based build. These build steps only need to be run by
somebody updating the prebuilts version of libedit located in
prebuilts/libs/libedit.

Currently this only supports building the libedit prebuilts for
linux-x86 (32-bit) on a linux host.

Tested on Ubuntu 12.04 x86_64:

cd external/libedit
mm ANDROID_BUILD_LIBEDIT=true prebuilts/libs/libedit/linux-x86/lib/libedit.a
cd ../../prebuilts/libs/libedit
find .
objdump -a linux-x86/lib/libedit.a | grep 'file format'

Note the file format for the libedit.a archive components are all
elf32-i386.

Change-Id: I04f8e2ba179749f197ade8b56bb6ae1e5196891a
3 files changed