OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 # GYP version: mojo/mojo_converters.gypi:mojo_input_events_lib | 7 # GYP version: mojo/mojo_converters.gypi:mojo_input_events_lib |
8 component("mojo") { | 8 component("mojo") { |
9 output_name = "input_events" | 9 output_name = "input_events" |
10 sources = [ | 10 sources = [ |
11 "input_events_type_converters.cc", | 11 "input_events_type_converters.cc", |
12 "mojo_extended_key_event_data.cc", | 12 "mojo_extended_key_event_data.cc", |
13 "mojo_extended_key_event_data.h", | 13 "mojo_extended_key_event_data.h", |
14 "mojo_input_events_export.h", | 14 "mojo_input_events_export.h", |
15 ] | 15 ] |
16 | 16 |
17 defines = [ "MOJO_INPUT_EVENTS_IMPLEMENTATION" ] | 17 defines = [ "MOJO_INPUT_EVENTS_IMPLEMENTATION" ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//components/mus/public/interfaces", | 21 "//components/mus/public/interfaces", |
22 "//mojo/public/c/system:for_component", | 22 "//mojo/public/c/system:for_component", |
23 "//ui/events", | 23 "//ui/events", |
24 "//ui/events:dom_keycode_converter", | 24 "//ui/events:dom_keycode_converter", |
25 "//ui/gfx/geometry", | 25 "//ui/gfx/geometry", |
26 "//ui/gfx/geometry/mojo", | 26 "//ui/gfx/geometry/mojo", |
27 "//ui/gfx/geometry/mojo", | |
28 ] | 27 ] |
29 } | 28 } |
30 | 29 |
31 mojom("interfaces") { | 30 mojom("interfaces") { |
32 sources = [ | 31 sources = [ |
33 "latency_info.mojom", | 32 "latency_info.mojom", |
34 ] | 33 ] |
35 | 34 |
36 public_deps = [ | 35 public_deps = [ |
37 "//mojo/common:common_custom_types", | 36 "//mojo/common:common_custom_types", |
| 37 "//ui/gfx/geometry/mojo", |
38 ] | 38 ] |
39 } | 39 } |
40 | 40 |
41 mojom("test_interfaces") { | 41 mojom("test_interfaces") { |
42 testonly = true | 42 testonly = true |
43 sources = [ | 43 sources = [ |
44 "traits_test_service.mojom", | 44 "traits_test_service.mojom", |
45 ] | 45 ] |
46 | 46 |
47 public_deps = [ | 47 public_deps = [ |
48 ":interfaces", | 48 ":interfaces", |
49 ] | 49 ] |
50 } | 50 } |
OLD | NEW |