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

Side by Side Diff: third_party/openvr/BUILD.gn

Issue 2929733002: Fix build break when building with enable_openvr=true on Windows (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « device/vr/openvr/openvr_device.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 loadable_module("openvr") { 5 component("openvr") {
6 output_name = "openvr_api" 6 output_name = "openvr_api"
7 7
8 # Some ascii versions of Windows APIs are used in this code. 8 # Some ascii versions of Windows APIs are used in this code.
9 configs -= [ "//build/config/win:unicode" ] 9 configs -= [ "//build/config/win:unicode" ]
10 10
11 # This code can be built using internal OpenVR functionality, but the internal 11 # This code can be built using internal OpenVR functionality, but the internal
12 # dependencies aren't available to us. 12 # dependencies aren't available to us.
13 defines = [ "VR_API_PUBLIC" ] 13 defines = [ "VR_API_PUBLIC" ]
14 14
15 sources = [ 15 sources = [
16 "src/src/jsoncpp.cpp", 16 "src/src/jsoncpp.cpp",
17 "src/src/openvr_api_public.cpp", 17 "src/src/openvr_api_public.cpp",
18 "src/src/vrcommon/dirtools_public.cpp", 18 "src/src/vrcommon/dirtools_public.cpp",
19 "src/src/vrcommon/envvartools_public.cpp", 19 "src/src/vrcommon/envvartools_public.cpp",
20 "src/src/vrcommon/hmderrors_public.cpp", 20 "src/src/vrcommon/hmderrors_public.cpp",
21 "src/src/vrcommon/pathtools_public.cpp", 21 "src/src/vrcommon/pathtools_public.cpp",
22 "src/src/vrcommon/sharedlibtools_public.cpp", 22 "src/src/vrcommon/sharedlibtools_public.cpp",
23 "src/src/vrcommon/strtools_public.cpp", 23 "src/src/vrcommon/strtools_public.cpp",
24 "src/src/vrcommon/vrpathregistry_public.cpp", 24 "src/src/vrcommon/vrpathregistry_public.cpp",
25 ] 25 ]
26 26
27 if (target_cpu == "x64" && is_win) {
28 defines += [ "WIN64" ]
29 }
30
27 include_dirs = [ 31 include_dirs = [
28 "src/headers", 32 "src/headers",
29 "src/src", 33 "src/src",
30 "src/src/json", 34 "src/src/json",
31 "src/src/vrcommon", 35 "src/src/vrcommon",
32 ] 36 ]
33 } 37 }
OLDNEW
« no previous file with comments | « device/vr/openvr/openvr_device.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698