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