blob: 8c03722cc3fa8f732ad2b3d0cf3ad935c545819c [file] [log] [blame]
# Copyright 2019 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("//chrome/android/modules/buildflags.gni")
import("//device/vr/buildflags/buildflags.gni")
assert(enable_vr)
vr_module_desc = {
name = "vr"
java_deps = [ "//chrome/android/features/vr:java" ]
android_manifest = "//chrome/android/features/vr/java/AndroidManifest.xml"
native_deps = [ "//chrome/browser/vr:vr_ui" ]
native_entrypoints = "//chrome/browser/vr/module_exports.lst"
# For VR, Module.getImpl() gets called before native library loads (required
# by native library load). Therefore disable auto-load on Module.getImpl();
# the VR DFM manages its own loading on start-up and on install.
load_native_on_get_impl = false
uses_split = "chrome"
}