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..d9fb4205ea71fc42b0c8ba79d616b5a1a0a56d9b |
--- /dev/null |
+++ b/third_party/openvr/BUILD.gn |
@@ -0,0 +1,30 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
billorr
2017/03/18 00:10:44
2017
also, double check for Copyright in other fi
billorr
2017/03/21 20:26:43
Done.
|
+# 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" |
+ |
+ configs -= [ "//build/config/win:unicode" ] |
+ |
+ 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", |
+ ] |
+} |