March 2013
Intermediate to advanced
346 pages
8h 4m
English
The previous two recipes discussed how to port a library with the
Android NDK build system. However, a lot of open source projects have their own build systems and sometimes it is troublesome to list out all sources in the Android.mk file. Fortunately, the Android NDK toolchain can also be used as a standalone cross compiler and we can use the cross compiler in an open source project's existing build system. This recipe will discuss how to port a library with its existing build system.
The following steps describe how to create our sample project, which demonstrates porting the open source libbmp library with its existing build system: