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