| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 component("events_ozone") { | 8 component("events_ozone") { |
| 9 sources = [ | 9 sources = [ |
| 10 "device/device_event.cc", | 10 "device/device_event.cc", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 "evdev/touch_event_converter_evdev.h", | 58 "evdev/touch_event_converter_evdev.h", |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 defines = [ | 61 defines = [ |
| 62 "EVENTS_OZONE_EVDEV_IMPLEMENTATION", | 62 "EVENTS_OZONE_EVDEV_IMPLEMENTATION", |
| 63 ] | 63 ] |
| 64 | 64 |
| 65 deps = [ | 65 deps = [ |
| 66 ":events_ozone", | 66 ":events_ozone", |
| 67 "//base", | 67 "//base", |
| 68 "//ui/events/devices", |
| 68 "//ui/events/platform", | 69 "//ui/events/platform", |
| 69 "//ui/gfx", | 70 "//ui/gfx", |
| 70 ] | 71 ] |
| 71 | 72 |
| 72 if (use_ozone_evdev) { | 73 if (use_ozone_evdev) { |
| 73 defines += [ | 74 defines += [ |
| 74 "USE_OZONE_EVDEV=1" | 75 "USE_OZONE_EVDEV=1" |
| 75 ] | 76 ] |
| 76 } | 77 } |
| 77 | 78 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 90 defines += [ | 91 defines += [ |
| 91 "USE_EVDEV_GESTURES", | 92 "USE_EVDEV_GESTURES", |
| 92 ] | 93 ] |
| 93 | 94 |
| 94 configs += [ | 95 configs += [ |
| 95 "//build/config/linux:libevdev-cros", | 96 "//build/config/linux:libevdev-cros", |
| 96 "//build/config/linux:libgestures", | 97 "//build/config/linux:libgestures", |
| 97 ] | 98 ] |
| 98 } | 99 } |
| 99 } | 100 } |
| OLD | NEW |