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

Side by Side Diff: device/vr/BUILD.gn

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 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/gamepad/xbox_data_fetcher_mac.mm ('k') | device/vr/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("features.gni") 5 import("features.gni")
6 import("//build/buildflag_header.gni") 6 import("//build/buildflag_header.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") # For generate_jni(). 10 import("//build/config/android/rules.gni") # For generate_jni().
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "android/gvr/gvr_device.h", 71 "android/gvr/gvr_device.h",
72 "android/gvr/gvr_device_provider.cc", 72 "android/gvr/gvr_device_provider.cc",
73 "android/gvr/gvr_device_provider.h", 73 "android/gvr/gvr_device_provider.h",
74 "android/gvr/gvr_gamepad_data_fetcher.cc", 74 "android/gvr/gvr_gamepad_data_fetcher.cc",
75 "android/gvr/gvr_gamepad_data_fetcher.h", 75 "android/gvr/gvr_gamepad_data_fetcher.h",
76 "android/gvr/gvr_gamepad_data_provider.h", 76 "android/gvr/gvr_gamepad_data_provider.h",
77 ] 77 ]
78 78
79 deps += [ 79 deps += [
80 "//device/gamepad", 80 "//device/gamepad",
81 "//device/gamepad/public/cpp:shared_with_blink",
81 "//third_party/WebKit/public:blink_headers", 82 "//third_party/WebKit/public:blink_headers",
82 ] 83 ]
83 ldflags = [ "-landroid" ] 84 ldflags = [ "-landroid" ]
84 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}. a" ] 85 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}. a" ]
85 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 86 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
86 } 87 }
87 88
88 if (enable_openvr) { 89 if (enable_openvr) {
89 deps += [ "//third_party/openvr:openvr" ] 90 deps += [ "//third_party/openvr:openvr" ]
90 sources += [ 91 sources += [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 129
129 public_deps = [ 130 public_deps = [
130 "//gpu/ipc/common:interfaces", 131 "//gpu/ipc/common:interfaces",
131 "//mojo/common:common_custom_types", 132 "//mojo/common:common_custom_types",
132 ] 133 ]
133 134
134 export_class_attribute = "DEVICE_VR_EXPORT" 135 export_class_attribute = "DEVICE_VR_EXPORT"
135 export_define = "DEVICE_VR_IMPLEMENTATION=1" 136 export_define = "DEVICE_VR_IMPLEMENTATION=1"
136 export_header = "device/vr/vr_export.h" 137 export_header = "device/vr/vr_export.h"
137 } 138 }
OLDNEW
« no previous file with comments | « device/gamepad/xbox_data_fetcher_mac.mm ('k') | device/vr/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698