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

Unified Diff: third_party/openvr/BUILD.gn

Issue 2754253003: Add OpenVR SDK to third_party (Closed)
Patch Set: feedback Created 3 years, 9 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 | « no previous file | third_party/openvr/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/openvr/BUILD.gn
diff --git a/third_party/openvr/BUILD.gn b/third_party/openvr/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..6df649937fe93481746ecf7e4b60fe776c13ee4a
--- /dev/null
+++ b/third_party/openvr/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright 2017 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.
+
+loadable_module("openvr") {
+ output_name = "openvr_api"
+
+ # Some ascii versions of Windows APIs are used in this code.
+ configs -= [ "//build/config/win:unicode" ]
+
+ # This code can be built using internal OpenVR functionality, but the internal
+ # dependencies aren't available to us.
+ defines = [ "VR_API_PUBLIC" ]
+
+ sources = [
+ "src/src/jsoncpp.cpp",
+ "src/src/openvr_api_public.cpp",
+ "src/src/vrcommon/dirtools_public.cpp",
+ "src/src/vrcommon/envvartools_public.cpp",
+ "src/src/vrcommon/hmderrors_public.cpp",
+ "src/src/vrcommon/pathtools_public.cpp",
+ "src/src/vrcommon/sharedlibtools_public.cpp",
+ "src/src/vrcommon/strtools_public.cpp",
+ "src/src/vrcommon/vrpathregistry_public.cpp",
+ ]
+
+ include_dirs = [
+ "src/headers",
+ "src/src",
+ "src/src/json",
+ "src/src/vrcommon",
+ ]
+}
« no previous file with comments | « no previous file | third_party/openvr/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698