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 component("devices") { | 7 component("devices") { |
8 sources = [ | 8 sources = [ |
9 "device_data_manager.cc", | 9 "device_data_manager.cc", |
10 "device_data_manager.h", | 10 "device_data_manager.h", |
(...skipping 13 matching lines...) Expand all Loading... |
24 defines = [ "EVENTS_DEVICES_IMPLEMENTATION" ] | 24 defines = [ "EVENTS_DEVICES_IMPLEMENTATION" ] |
25 | 25 |
26 deps = [ | 26 deps = [ |
27 "//base", | 27 "//base", |
28 "//base/third_party/dynamic_annotations", | 28 "//base/third_party/dynamic_annotations", |
29 "//skia", | 29 "//skia", |
30 "//ui/gfx", | 30 "//ui/gfx", |
31 "//ui/gfx/geometry", | 31 "//ui/gfx/geometry", |
32 ] | 32 ] |
33 | 33 |
34 if (use_x11) { | 34 if (use_x11_backend) { |
35 configs += [ "//build/config/linux:x11" ] | 35 configs += [ "//build/config/linux:x11" ] |
36 | 36 |
37 sources += [ | 37 sources += [ |
38 "x11/device_data_manager_x11.cc", | 38 "x11/device_data_manager_x11.cc", |
39 "x11/device_data_manager_x11.h", | 39 "x11/device_data_manager_x11.h", |
40 "x11/device_list_cache_x11.cc", | 40 "x11/device_list_cache_x11.cc", |
41 "x11/device_list_cache_x11.h", | 41 "x11/device_list_cache_x11.h", |
42 "x11/touch_factory_x11.cc", | 42 "x11/touch_factory_x11.cc", |
43 "x11/touch_factory_x11.h", | 43 "x11/touch_factory_x11.h", |
44 ] | 44 ] |
45 | 45 |
46 deps += [ | 46 deps += [ |
47 "//ui/events:events_base", | 47 "//ui/events:events_base", |
48 "//ui/gfx/x", | 48 "//ui/gfx/x", |
49 ] | 49 ] |
50 } | 50 } |
51 } | 51 } |
OLD | NEW |