| # 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/buildflag_header.gni") |
| import("buildflags.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", |
| "ENABLE_WINDOWS_MR=$enable_windows_mr", |
| ] |
| } |