naiveproxy/device/vr/features/features.gni
2018-01-29 00:30:36 +08:00

19 lines
658 B
Plaintext

# Copyright 2016 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("//build/config/chromecast_build.gni")
declare_args() {
# Enable WebVR support by default on Android
# Still requires command line flag to access API
# TODO(bshe): Enable for other architecture too. Currently we only support arm
# and arm64.
enable_vr = is_android && (current_cpu == "arm" || current_cpu == "arm64") &&
!is_chromecast
enable_openvr = false
# Whether to include VR extras like test APKs in non-VR-specific targets
include_vr_data = false
}