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

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

Issue 2879973002: Expose Gamepad API instance for Cardboard button (Closed)
Patch Set: fix crash in tests 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
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/features.gni") 5 import("features/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 27 matching lines...) Expand all
38 38
39 deps += [ 39 deps += [
40 "//base", 40 "//base",
41 "//gpu/ipc/common:interfaces", 41 "//gpu/ipc/common:interfaces",
42 "//mojo/public/cpp/bindings", 42 "//mojo/public/cpp/bindings",
43 "//ui/gfx", 43 "//ui/gfx",
44 ] 44 ]
45 45
46 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { 46 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) {
47 sources += [ 47 sources += [
48 "android/gvr/cardboard_gamepad_data_fetcher.cc",
49 "android/gvr/cardboard_gamepad_data_fetcher.h",
50 "android/gvr/cardboard_gamepad_data_provider.h",
48 "android/gvr/gvr_delegate.cc", 51 "android/gvr/gvr_delegate.cc",
49 "android/gvr/gvr_delegate.h", 52 "android/gvr/gvr_delegate.h",
50 "android/gvr/gvr_delegate_provider.cc", 53 "android/gvr/gvr_delegate_provider.cc",
51 "android/gvr/gvr_delegate_provider.h", 54 "android/gvr/gvr_delegate_provider.h",
52 "android/gvr/gvr_device.cc", 55 "android/gvr/gvr_device.cc",
53 "android/gvr/gvr_device.h", 56 "android/gvr/gvr_device.h",
54 "android/gvr/gvr_device_provider.cc", 57 "android/gvr/gvr_device_provider.cc",
55 "android/gvr/gvr_device_provider.h", 58 "android/gvr/gvr_device_provider.h",
56 "android/gvr/gvr_gamepad_data_fetcher.cc", 59 "android/gvr/gvr_gamepad_data_fetcher.cc",
57 "android/gvr/gvr_gamepad_data_fetcher.h", 60 "android/gvr/gvr_gamepad_data_fetcher.h",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 ] 127 ]
125 128
126 public_deps = [ 129 public_deps = [
127 "//gpu/ipc/common:interfaces", 130 "//gpu/ipc/common:interfaces",
128 "//mojo/common:common_custom_types", 131 "//mojo/common:common_custom_types",
129 ] 132 ]
130 133
131 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. 134 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
132 use_once_callback = false 135 use_once_callback = false
133 } 136 }
OLDNEW
« no previous file with comments | « device/gamepad/gamepad_pad_state_provider.h ('k') | device/vr/android/gvr/cardboard_gamepad_data_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698