| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//device/vr/features/features.gni") |
| |
| jni_exception_files = [ |
| "//base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java", |
| "//base/android/java/src/org/chromium/base/library_loader/Linker.java", |
| "//base/android/java/src/org/chromium/base/library_loader/ModernLinker.java", |
| ] |
| |
| # Exclude it from JNI registration if VR is not enabled. |
| if (!enable_vr) { |
| jni_exception_files += [ "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java" ] |
| } |