1 // Copyright 2024 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 #include <jni.h> 5 6 #include "base/android/base_jni_onload.h" 7 #include "base/android/jni_android.h" 8 JNI_OnLoad(JavaVM * vm,void * reserved)9extern "C" JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { 10 base::android::InitVM(vm); 11 base::android::OnJNIOnLoadInit(); 12 return JNI_VERSION_1_4; 13 } 14