Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: ui/events/BUILD.gn

Issue 289283015: Extract touchscreen device management into a generic manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 19 matching lines...) Expand all
48 "//ui/gfx", 50 "//ui/gfx",
49 "//ui/gfx/geometry", 51 "//ui/gfx/geometry",
50 ] 52 ]
51 53
52 if (use_x11) { 54 if (use_x11) {
53 configs += [ "//build/config/linux:x11" ] 55 configs += [ "//build/config/linux:x11" ]
54 56
55 sources += [ 57 sources += [
56 "keycodes/keyboard_code_conversion_x.cc", 58 "keycodes/keyboard_code_conversion_x.cc",
57 "keycodes/keyboard_code_conversion_x.h", 59 "keycodes/keyboard_code_conversion_x.h",
58 "x/device_data_manager.cc", 60 "x/device_data_manager_x11.cc",
59 "x/device_data_manager.h", 61 "x/device_data_manager_x11.h",
60 "x/device_list_cache_x.cc", 62 "x/device_list_cache_x.cc",
61 "x/device_list_cache_x.h", 63 "x/device_list_cache_x.h",
62 "x/touch_factory_x11.cc", 64 "x/touch_factory_x11.cc",
63 "x/touch_factory_x11.h", 65 "x/touch_factory_x11.h",
64 ] 66 ]
65 } 67 }
68
69 forward_dependent_configs_from = [ "//ui/gfx" ]
sadrul 2014/06/16 14:48:38 What does this do? Should this be a separate chang
dnicoara 2014/06/16 15:16:00 It's the GYP equivalent for export_dependent_setti
sadrul 2014/06/17 20:37:08 Can this be a separate CL? What change in this CL
dnicoara 2014/06/18 14:04:29 Removed it from this CL. The forward dependency w
sadrul 2014/06/18 16:18:14 The GN builder is tree closer, yes. You should add
dnicoara 2014/06/18 17:28:02 ui/events/platform/x11 didn't use to create the DD
66 } 70 }
67 71
68 component("events") { 72 component("events") {
69 deps = [ 73 deps = [
70 ":dom4_keycode_converter", 74 ":dom4_keycode_converter",
71 ":events_base", 75 ":events_base",
72 ":gesture_detection", 76 ":gesture_detection",
73 "//skia", 77 "//skia",
74 "//ui/gfx", 78 "//ui/gfx",
75 "//ui/gfx/geometry", 79 "//ui/gfx/geometry",
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 ":events_base", 306 ":events_base",
303 ":events_test_support", 307 ":events_test_support",
304 ":gesture_detection", 308 ":gesture_detection",
305 "//base", 309 "//base",
306 "//base/test:run_all_unittests", 310 "//base/test:run_all_unittests",
307 "//skia", 311 "//skia",
308 "//testing/gtest", 312 "//testing/gtest",
309 "//ui/gfx:gfx_test_support", 313 "//ui/gfx:gfx_test_support",
310 ] 314 ]
311 } 315 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698