OLD | NEW |
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 mojom = "//device/gamepad/public/interfaces/gamepad.mojom" | 5 mojom = "//device/gamepad/public/interfaces/gamepad.mojom" |
6 public_headers = [ "//third_party/WebKit/public/platform/WebGamepad.h" ] | 6 public_headers = [ "//device/gamepad/public/cpp/gamepad.h" ] |
7 traits_headers = | 7 traits_headers = |
8 [ "//device/gamepad/public/interfaces/gamepad_struct_traits.h" ] | 8 [ "//device/gamepad/public/interfaces/gamepad_struct_traits.h" ] |
9 sources = [ | 9 sources = [ |
10 "//device/gamepad/public/interfaces/gamepad_struct_traits.cc", | 10 "//device/gamepad/public/interfaces/gamepad_struct_traits.cc", |
11 ] | 11 ] |
12 deps = [ | 12 deps = [ |
13 "//mojo/public/cpp/bindings", | 13 "//mojo/public/cpp/bindings", |
14 "//third_party/WebKit/public:blink_headers", | 14 "//third_party/WebKit/public:blink_headers", |
15 ] | 15 ] |
16 | 16 |
17 type_mappings = [ | 17 type_mappings = [ |
18 "device.mojom.Gamepad=blink::WebGamepad", | 18 "device.mojom.Gamepad=device::Gamepad", |
19 "device.mojom.GamepadButton=blink::WebGamepadButton", | 19 "device.mojom.GamepadButton=device::GamepadButton", |
20 "device.mojom.GamepadHand=blink::WebGamepadHand", | 20 "device.mojom.GamepadHand=device::GamepadHand", |
21 "device.mojom.GamepadPose=blink::WebGamepadPose[nullable_is_same_type]", | 21 "device.mojom.GamepadPose=device::GamepadPose[nullable_is_same_type]", |
22 "device.mojom.GamepadQuaternion=blink::WebGamepadQuaternion[nullable_is_same_t
ype]", | 22 "device.mojom.GamepadQuaternion=device::GamepadQuaternion[nullable_is_same_typ
e]", |
23 "device.mojom.GamepadVector=blink::WebGamepadVector[nullable_is_same_type]", | 23 "device.mojom.GamepadVector=device::GamepadVector[nullable_is_same_type]", |
24 ] | 24 ] |
OLD | NEW |