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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 static_library("dom4_keycode_converter") { | 7 static_library("dom4_keycode_converter") { |
8 sources = [ | 8 sources = [ |
9 "keycodes/dom4/keycode_converter.cc", | 9 "keycodes/dom4/keycode_converter.cc", |
10 "keycodes/dom4/keycode_converter.h", | 10 "keycodes/dom4/keycode_converter.h", |
11 "keycodes/dom4/keycode_converter_data.h", | 11 "keycodes/dom4/keycode_converter_data.h", |
12 ] | 12 ] |
13 | 13 |
14 deps = [ "//base" ] | 14 deps = [ "//base" ] |
15 } | 15 } |
16 | 16 |
17 component("events_base") { | 17 component("events_base") { |
18 sources = [ | 18 sources = [ |
| 19 "device_data_manager.cc", |
| 20 "device_data_manager.h", |
19 "event_constants.h", | 21 "event_constants.h", |
20 "event_switches.cc", | 22 "event_switches.cc", |
21 "event_switches.h", | 23 "event_switches.h", |
22 "events_base_export.h", | 24 "events_base_export.h", |
23 "gesture_event_details.cc", | 25 "gesture_event_details.cc", |
24 "gesture_event_details.h", | 26 "gesture_event_details.h", |
25 "gestures/gesture_configuration.cc", | 27 "gestures/gesture_configuration.cc", |
26 "gestures/gesture_configuration.h", | 28 "gestures/gesture_configuration.h", |
27 "keycodes/keyboard_code_conversion.cc", | 29 "keycodes/keyboard_code_conversion.cc", |
28 "keycodes/keyboard_code_conversion.h", | 30 "keycodes/keyboard_code_conversion.h", |
(...skipping 13 matching lines...) Expand all Loading... |
42 deps = [ | 44 deps = [ |
43 ":dom4_keycode_converter", | 45 ":dom4_keycode_converter", |
44 "//base", | 46 "//base", |
45 "//base/third_party/dynamic_annotations", | 47 "//base/third_party/dynamic_annotations", |
46 "//skia", | 48 "//skia", |
47 "//ui/events/platform", | 49 "//ui/events/platform", |
48 "//ui/gfx", | 50 "//ui/gfx", |
49 "//ui/gfx/geometry", | 51 "//ui/gfx/geometry", |
50 ] | 52 ] |
51 | 53 |
| 54 forward_dependent_configs_from = [ "//ui/gfx" ] |
| 55 |
52 if (use_x11) { | 56 if (use_x11) { |
53 configs += [ "//build/config/linux:x11" ] | 57 configs += [ "//build/config/linux:x11" ] |
54 | 58 |
55 sources += [ | 59 sources += [ |
56 "keycodes/keyboard_code_conversion_x.cc", | 60 "keycodes/keyboard_code_conversion_x.cc", |
57 "keycodes/keyboard_code_conversion_x.h", | 61 "keycodes/keyboard_code_conversion_x.h", |
58 "x/device_data_manager.cc", | 62 "x/device_data_manager_x11.cc", |
59 "x/device_data_manager.h", | 63 "x/device_data_manager_x11.h", |
60 "x/device_list_cache_x.cc", | 64 "x/device_list_cache_x.cc", |
61 "x/device_list_cache_x.h", | 65 "x/device_list_cache_x.h", |
62 "x/touch_factory_x11.cc", | 66 "x/touch_factory_x11.cc", |
63 "x/touch_factory_x11.h", | 67 "x/touch_factory_x11.h", |
64 ] | 68 ] |
65 } | 69 } |
66 } | 70 } |
67 | 71 |
68 component("events") { | 72 component("events") { |
69 deps = [ | 73 deps = [ |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 ":events_base", | 308 ":events_base", |
305 ":events_test_support", | 309 ":events_test_support", |
306 ":gesture_detection", | 310 ":gesture_detection", |
307 "//base", | 311 "//base", |
308 "//base/test:run_all_unittests", | 312 "//base/test:run_all_unittests", |
309 "//skia", | 313 "//skia", |
310 "//testing/gtest", | 314 "//testing/gtest", |
311 "//ui/gfx:gfx_test_support", | 315 "//ui/gfx:gfx_test_support", |
312 ] | 316 ] |
313 } | 317 } |
OLD | NEW |