Integrate android support library into our cmake build

Just meant for integration testing. Built library is not meant to
be installed or shipped. This has to happen as part of the Android
build.
This commit is contained in:
Simon Fels 2016-06-23 18:36:10 +02:00
commit b5b06d9beb
6 changed files with 1363 additions and 0 deletions

View file

@ -20,7 +20,11 @@
#define LOG_TAG "AnboxSupport"
#ifdef ANDROID
#include <utils/Log.h>
#else
#define ALOGI(...)
#endif
extern "C" jint JNI_OnLoad(JavaVM* vm, void* reserved) {
ALOGI("Successfully loaded Anbox support library");