OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 loadable_module("openvr") { |
| 6 output_name = "openvr_api" |
| 7 |
| 8 # Some ascii versions of Windows APIs are used in this code. |
| 9 configs -= [ "//build/config/win:unicode" ] |
| 10 |
| 11 # This code can be built using internal OpenVR functionality, but the internal |
| 12 # dependencies aren't available to us. |
| 13 defines = [ "VR_API_PUBLIC" ] |
| 14 |
| 15 sources = [ |
| 16 "src/src/jsoncpp.cpp", |
| 17 "src/src/openvr_api_public.cpp", |
| 18 "src/src/vrcommon/dirtools_public.cpp", |
| 19 "src/src/vrcommon/envvartools_public.cpp", |
| 20 "src/src/vrcommon/hmderrors_public.cpp", |
| 21 "src/src/vrcommon/pathtools_public.cpp", |
| 22 "src/src/vrcommon/sharedlibtools_public.cpp", |
| 23 "src/src/vrcommon/strtools_public.cpp", |
| 24 "src/src/vrcommon/vrpathregistry_public.cpp", |
| 25 ] |
| 26 |
| 27 include_dirs = [ |
| 28 "src/headers", |
| 29 "src/src", |
| 30 "src/src/json", |
| 31 "src/src/vrcommon", |
| 32 ] |
| 33 } |
OLD | NEW |