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 import("//ui/ozone/ozone.gni") | 6 import("//ui/ozone/ozone.gni") |
7 | 7 |
8 assert(use_x11 || ozone_platform_x11) | 8 assert(use_x11 || ozone_platform_x11) |
9 | 9 |
10 component("x11") { | 10 component("x11") { |
(...skipping 17 matching lines...) Expand all Loading... |
28 "//ui/events/devices", | 28 "//ui/events/devices", |
29 "//ui/events/devices/x11", | 29 "//ui/events/devices/x11", |
30 "//ui/events/platform", | 30 "//ui/events/platform", |
31 "//ui/events/x", | 31 "//ui/events/x", |
32 "//ui/gfx", | 32 "//ui/gfx", |
33 "//ui/gfx/x", | 33 "//ui/gfx/x", |
34 ] | 34 ] |
35 | 35 |
36 deps = [ | 36 deps = [ |
37 "//base", | 37 "//base", |
| 38 "//components/keyboard_lock:key_event_filter", |
38 ] | 39 ] |
39 | 40 |
40 if (use_glib) { | 41 if (use_glib) { |
41 sources += [ | 42 sources += [ |
42 "x11_event_source_glib.cc", | 43 "x11_event_source_glib.cc", |
43 "x11_event_source_glib.h", | 44 "x11_event_source_glib.h", |
44 ] | 45 ] |
45 | 46 |
46 configs += [ "//build/config/linux:glib" ] | 47 configs += [ "//build/config/linux:glib" ] |
47 } else { | 48 } else { |
48 sources += [ | 49 sources += [ |
49 "x11_event_source_libevent.cc", | 50 "x11_event_source_libevent.cc", |
50 "x11_event_source_libevent.h", | 51 "x11_event_source_libevent.h", |
51 ] | 52 ] |
52 | 53 |
53 deps += [ "//ui/events/keycodes:x11" ] | 54 deps += [ "//ui/events/keycodes:x11" ] |
54 } | 55 } |
55 } | 56 } |
OLD | NEW |