Home | History | Annotate | Download | only in linker
      1 // Copyright 2015 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
      6 #define BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
      7 
      8 #include <jni.h>
      9 
     10 namespace chromium_android_linker {
     11 
     12 // JNI_OnLoad() initialization hook for the modern linker.
     13 // Sets up JNI and other initializations for native linker code.
     14 // |vm| is the Java VM handle passed to JNI_OnLoad().
     15 // |env| is the current JNI environment handle.
     16 // On success, returns true.
     17 extern bool ModernLinkerJNIInit(JavaVM* vm, JNIEnv* env);
     18 
     19 }  // namespace chromium_android_linker
     20 
     21 #endif  // BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
     22