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/system.gni") | |
6 | |
7 component("input_events") { | 5 component("input_events") { |
8 deps = [ | 6 deps = [ |
9 "//base", | 7 "//base", |
10 "//ui/events", | 8 "//ui/events", |
11 "//ui/gfx/geometry", | 9 "//ui/gfx/geometry", |
12 "//mojo/environment:chromium", | 10 "//mojo/environment:chromium", |
| 11 "//mojo/public/c/system:for_component", |
13 "//mojo/services/public/interfaces/input_events", | 12 "//mojo/services/public/interfaces/input_events", |
14 "//mojo/services/public/interfaces/geometry", | 13 "//mojo/services/public/interfaces/geometry", |
15 "//mojo/services/public/cpp/geometry", | 14 "//mojo/services/public/cpp/geometry", |
16 ] | 15 ] |
17 deps += mojo_system_for_component | |
18 | 16 |
19 defines = [ | 17 defines = [ |
20 "MOJO_INPUT_EVENTS_IMPLEMENTATION", | 18 "MOJO_INPUT_EVENTS_IMPLEMENTATION", |
21 ] | 19 ] |
22 | 20 |
23 sources = [ | 21 sources = [ |
24 "lib/input_events_type_converters.cc", | 22 "lib/input_events_type_converters.cc", |
25 "lib/input_events_type_converters.h", | 23 "lib/input_events_type_converters.h", |
26 "lib/mojo_extended_key_event_data.cc", | 24 "lib/mojo_extended_key_event_data.cc", |
27 "lib/mojo_extended_key_event_data.h", | 25 "lib/mojo_extended_key_event_data.h", |
28 "input_events_type_converters.h", | 26 "input_events_type_converters.h", |
29 "mojo_input_events_export.h", | 27 "mojo_input_events_export.h", |
30 ] | 28 ] |
31 } | 29 } |
OLD | NEW |