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

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

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Patch Set: Fix gn build Created 6 years, 1 month 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6
7 component("devices") {
8 sources = [
9 "device_data_manager.cc",
10 "device_data_manager.h",
11 "device_hotplug_event_observer.h",
12 "device_util_linux.cc",
13 "device_util_linux.h",
14 "events_devices_export.h",
15 "input_device.cc",
16 "input_device.h",
17 "input_device_event_observer.h",
18 "keyboard_device.cc",
19 "keyboard_device.h",
20 "touchscreen_device.cc",
21 "touchscreen_device.h",
22 ]
23
24 defines = [
25 "EVENTS_DEVICES_IMPLEMENTATION",
26 ]
27
28 deps = [
29 "//base",
30 "//base/third_party/dynamic_annotations",
31 "//skia",
sadrul 2014/11/03 17:09:59 I suppose you need to pull in skia because of gfx
dnicoara 2014/11/03 18:13:17 Unfortunately yes.
32 "//ui/gfx",
33 "//ui/gfx/geometry",
34 ]
35
36 if (use_x11) {
37 configs += [ "//build/config/linux:x11" ]
38
39 sources += [
40 "x11/device_data_manager_x11.cc",
41 "x11/device_data_manager_x11.h",
42 "x11/device_list_cache_x11.cc",
43 "x11/device_list_cache_x11.h",
44 "x11/touch_factory_x11.cc",
45 "x11/touch_factory_x11.h",
sadrul 2014/11/03 17:09:59 It may be necessary to pull this out into a separa
dnicoara 2014/11/03 18:13:17 The dependency chain is OK without the extra targe
sadrul 2014/11/03 18:19:20 I am unsure if we will definitely need the x11-spe
46 ]
47
48 deps += [
49 "//ui/events:events_base",
50 "//ui/gfx/x",
51 ]
52 }
53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698