Chromium Code Reviews| 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..d31d603d1d99b70264ce0a664d7a8883e44dbd8e |
| --- /dev/null |
| +++ b/third_party/openvr/BUILD.gn |
| @@ -0,0 +1,30 @@ |
| +# 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" |
| + |
| + configs -= [ "//build/config/win:unicode" ] |
|
ddorwin
2017/03/21 21:05:07
Explain this and the next item.
billorr
2017/03/21 21:36:39
Done.
|
| + |
| + 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", |
| + ] |
| +} |