Look for Android.mk in $(APP_PROJECT_PATH)/jni by default.

This gets rid of the 'sources' directory and allows all sources
of a given Android application to be in the same directory tree
without using a symlink trick.

Note that apps/<name>/Application.mk is still required though.
A later release of the NDK will get rid of it too, but the change
is too drastic for the upcoming release.

The change moves various source files from sources into their
app/<name>/project/jni directory as well.

The whole documentation is updated to reflect the change.
This commit is contained in:
David 'Digit' Turner
2009-07-29 19:04:44 +02:00
parent 197a8fea8e
commit eee1675aa4
42 changed files with 163 additions and 91 deletions

View File

@@ -0,0 +1,10 @@
#if !defined(BANANA)
# error LOCAL_CPPFLAGS does not work for C++ source file
#endif
#if BANANA != 300
# error LOCAL_CPPFLAGS does not work correctly for C++ source file
#endif
void __banana_foo2(void)
{
}