Tibor Goldschwendt | 2f5c941 | 2019-10-31 21:28:26 | [diff] [blame^] | 1 | // Copyright 2019 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 | #include "base/android/jni_generator/jni_generator_helper.h" |
| 6 | |
| 7 | // This method is required by the module loading backend. And it is supposed to |
| 8 | // register VR's native JNI methods. However, since VR's Android-specific native |
| 9 | // code still lives in the base module, VR's JNI registration is invoked |
| 10 | // manually. Therefore, this function does nothing. |
| 11 | JNI_GENERATOR_EXPORT bool JNI_OnLoad_vr(JNIEnv* env) { |
| 12 | return true; |
| 13 | } |