Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: device/vr/features/BUILD.gn

Issue 2840563004: Move vr features.gni into its own directory. (Closed)
Patch Set: Update references to vr/features.h Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/vr/features.gni ('k') | device/vr/features/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/features/BUILD.gn
diff --git a/device/vr/features/BUILD.gn b/device/vr/features/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..e8afb4a3c2c1ff8e312c478d0f62416ca8abb5f8
--- /dev/null
+++ b/device/vr/features/BUILD.gn
@@ -0,0 +1,15 @@
+# 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("features.gni")
+import("//build/buildflag_header.gni")
+
+# Generate a buildflag header for compile-time checking of WebVR support.
+buildflag_header("features") {
+ header = "features.h"
+ flags = [
+ "ENABLE_VR=$enable_vr",
+ "ENABLE_OPENVR=$enable_openvr",
+ ]
+}
« no previous file with comments | « device/vr/features.gni ('k') | device/vr/features/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698