naiveproxy/device/vr/buildflags/BUILD.gn

19 lines
583 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# 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("buildflags.gni")
import("//build/buildflag_header.gni")
# Generate a buildflag header for compile-time checking of WebVR support.
buildflag_header("buildflags") {
header = "buildflags.h"
flags = [
"ENABLE_ARCORE=$enable_arcore",
"ENABLE_ISOLATED_XR_SERVICE=$enable_isolated_xr_service",
"ENABLE_OCULUS_VR=$enable_oculus_vr",
"ENABLE_OPENVR=$enable_openvr",
"ENABLE_VR=$enable_vr",
]
}