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