# 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/buildflags/buildflags.gni") | |
jni_exception_files = | |
[ "//base/android/java/src/org/chromium/base/library_loader/Linker.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/VrModuleProvider.java" ] | |
} |