jayway/maven-android-plugin — pull request #233 by johanlindquist (2013-09-09 14:36:40+00:00)
Title: Multiple native architecture support 

This fixes the support for using multiple architectures where there is dependencies (shared/static) between native projects.

It uses the approach (currently) of two separate ndk-build invocations and gathering the artifacts from those instead of letting ndk-build do its thing entirely, as discussed/mentioned on the mailing list.

I deprecated the use of ndkArchitecture and added ndkArchitectures (plural) to signify the list of architectures to build for.

An error will be issued if the Application.mk defines more than one architecture via the APP_ABI variable.

Also introduces a mapping between architecture and toolchain to be used by the build:

x86-4.7
arm-linux-androideabi-4.7

This can be used to specify the particular toolchain to be used for the individual architectures.

Thanks,

Johan