CMakeLists.txt: Find AT-specific jni.h
Updated the java CMakeLists file to set the JAVA_INCLUDE_PATH for
Android Things.  The JAVA SWIG wrapper will require the jni.h from the
Android NDK.
FIND_PACKAGE (JNI REQUIRED)
+
+if (PERIPHERALMAN)
+ # Override the JNI include directory for Android Things since these
+ # will require an Android-friendly jni.h
+ set(JAVA_INCLUDE_PATH "${ANDROID_SYSROOT}/usr/include")
+endif()
+
include_directories (
${JAVA_INCLUDE_PATH}
${JAVA_INCLUDE_PATH2}
