public class NativeLibraries {
public static boolean USE_LINKER = false;
public static boolean ENABLE_LINKER_TESTS = false;
public static String[] libraries = {};
public static final String[] LIBRARIES = {};
static String VERSION_NUMBER = “”;
public static String[] somcLibraries
= { “stlport_sh_521”, “icuuc.cr”, “icui18n.cr”, “webviewXXX”, “webviewXXX_plat_support”}
;
}
for (String sLibrary : org.chromium.base.library_loader.NativeLibraries.somcLibraries) {
System.load
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
JNIEnv* env = NULL;
jint ret = vm->AttachCurrentThread(&env, NULL);
ALOGD(“JNI_OnLoad()”);
LOG_ALWAYS_FATAL_IF(ret != JNI_OK, “AttachCurrentThread failed”);
android::RegisterDrawGLFunctor(env);
android::RegisterGraphicsUtils(env);
return JNI_VERSION_1_4;
}