summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/android/features/vr/vr_module.gni
blob: 76533bd1166d6a7a61d2d3b8ea7c49e103a59f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"
  proguard_async = async_vr
  if (use_native_modules && modularize_vr_native) {
    native_deps = [ "//chrome/browser/vr:vr_ui" ]
    native_entrypoints = "//chrome/browser/vr/module_exports.lst"
  }
}