Files
android_development/ndk/apps/unit-tests/test-LOCAL_CPPFLAGS/test-LOCAL_CPPFLAGS-1.c
David 'Digit' Turner eee1675aa4 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.
2009-07-29 19:04:44 +02:00

11 lines
206 B
C

#if !defined(BANANA)
# error LOCAL_CPPFLAGS does not work for C source file
#endif
#if BANANA != 200
# error LOCAL_CPPFLAGS does not work correctly for C source file
#endif
void __banana_foo1(void)
{
}