2) is yes, too! In your own Android.mk file, you must define LOCAL_MODULE variable, such as: LOCAL_MODULE:=myapps . and you just do do make at top android dir, like following:
make myapps and build system will locate the source of your module and just build it and all other dependency. On Mon, May 18, 2009 at 1:27 PM, efu <[email protected]> wrote: > > I am building an application with part of it implemented in JNI. > > It looks like that it's possible to setup a project with an Android.mk > makefile to build everything into a single package. For example, there > is an example project under /development/samples/SimpleJNI. > > My questions are: > > 1) Is it possible to author my own Android.mk makefiles to build my > application as a single .apk file, with both Java code, JNI libraries > and other configuration files? > > 2) Is it possible to build my project without re-building the entire > Android code base? i.e. how can I build my app by itself without > making it part of the Android build? > > I've read this link: > http://android.git.kernel.org/?p=platform/build.git;a=blob_plain;f=core/build-system.html > > It looks like question to 1) is yes. But I can't find answers to > question 2). > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
