LOCAL_C_INCLUDES += $(OPENCV_INCLUDES)
+for now, you also need to cd to android-jni and run make
+this will create the android shared library with some useful functionality
+that may be reused in android projects.
# Some parts taken from version of Hartmut Seichter, HIT Lab NZ.
# Jose Luis Blanco, 2008
# ----------------------------------------------------------------------------
-if(!ANDROID)
+if(NOT ANDROID)
project(opencv_highgui)
if(WITH_JPEG)
DESTINATION include/opencv2/highgui
COMPONENT main)
-else(!ANDROID)
+endif()
+
+if(ANDROID)
set(high_gui_android_srcs src/bitstrm.cpp
src/cap.cpp
src/grfmt_base.cpp
src/grfmt_pxm.cpp
src/window.cpp )
define_android_manual(highgui "${high_gui_android_srcs}" "$(LOCAL_PATH)/src $(OPENCV_INCLUDES)")
-endif(!ANDROID)
+endif()