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.
5 #ifndef BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
6 #define BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_
10 namespace chromium_android_linker
{
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
);
19 } // namespace chromium_android_linker
21 #endif // BASE_ANDROID_LINKER_MODERN_LINKER_JNI_H_