Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
Tibor Goldschwendt | 2f5c941 | 2019-10-31 21:28:26 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Sam Maier | 8509cc6 | 2024-02-14 21:57:14 | [diff] [blame] | 5 | #include "third_party/jni_zero/jni_zero.h" |
Tibor Goldschwendt | 2f5c941 | 2019-10-31 21:28:26 | [diff] [blame] | 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. |
Andrew Grieve | ff18140b | 2024-11-25 17:29:19 | [diff] [blame] | 11 | JNI_ZERO_BOUNDARY_EXPORT bool JNI_OnLoad_vr(JNIEnv* env) { |
Tibor Goldschwendt | 2f5c941 | 2019-10-31 21:28:26 | [diff] [blame] | 12 | return true; |
| 13 | } |