overte-HifiExperiments/cmake/android/LoadLibraries.java.in

19 lines
619 B
Java
Executable file

// IMPORTANT: Do not manually manipulate this automatically generated file, changes will be gone after the next build!
package ${ANDROID_APK_TOP_LEVEL_DOMAIN}.${ANDROID_APK_DOMAIN}.${ANDROID_APK_SUBDOMAIN};
import android.app.NativeActivity;
public class LoadLibraries extends NativeActivity {
static {
// List of libraries to load in (e.g. "PLCore;PLMath" etc.)
String sharedLibrariesToLoad = "${ANDROID_SHARED_LIBRARIES_TO_LOAD}";
// Load in all shared libraries
String [] libraries = sharedLibrariesToLoad.split(";");
for (int i=0; i<libraries.length; i++)
System.loadLibrary(libraries[i]);
}
}