naiveproxy/device/vr/buildflags/BUILD.gn
2018-12-09 21:59:24 -05:00

19 lines
583 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("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",
]
}