Chromium Code Reviews| Index: ui/events/devices/BUILD.gn |
| diff --git a/ui/events/devices/BUILD.gn b/ui/events/devices/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0dc1270b2f3ab1116780accec66ecc1598fce79c |
| --- /dev/null |
| +++ b/ui/events/devices/BUILD.gn |
| @@ -0,0 +1,53 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/ui.gni") |
| + |
| +component("devices") { |
| + sources = [ |
| + "device_data_manager.cc", |
| + "device_data_manager.h", |
| + "device_hotplug_event_observer.h", |
| + "device_util_linux.cc", |
| + "device_util_linux.h", |
| + "events_devices_export.h", |
| + "input_device.cc", |
| + "input_device.h", |
| + "input_device_event_observer.h", |
| + "keyboard_device.cc", |
| + "keyboard_device.h", |
| + "touchscreen_device.cc", |
| + "touchscreen_device.h", |
| + ] |
| + |
| + defines = [ |
| + "EVENTS_DEVICES_IMPLEMENTATION", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//base/third_party/dynamic_annotations", |
| + "//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.
|
| + "//ui/gfx", |
| + "//ui/gfx/geometry", |
| + ] |
| + |
| + if (use_x11) { |
| + configs += [ "//build/config/linux:x11" ] |
| + |
| + sources += [ |
| + "x11/device_data_manager_x11.cc", |
| + "x11/device_data_manager_x11.h", |
| + "x11/device_list_cache_x11.cc", |
| + "x11/device_list_cache_x11.h", |
| + "x11/touch_factory_x11.cc", |
| + "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
|
| + ] |
| + |
| + deps += [ |
| + "//ui/events:events_base", |
| + "//ui/gfx/x", |
| + ] |
| + } |
| +} |