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 29 matching lines...) Expand all Loading... |
40 "x11_event_source_glib.cc", | 40 "x11_event_source_glib.cc", |
41 "x11_event_source_glib.h", | 41 "x11_event_source_glib.h", |
42 ] | 42 ] |
43 | 43 |
44 configs += [ "//build/config/linux:glib" ] | 44 configs += [ "//build/config/linux:glib" ] |
45 } else { | 45 } else { |
46 sources += [ | 46 sources += [ |
47 "x11_event_source_libevent.cc", | 47 "x11_event_source_libevent.cc", |
48 "x11_event_source_libevent.h", | 48 "x11_event_source_libevent.h", |
49 ] | 49 ] |
| 50 |
| 51 deps += [ "//ui/events/keycodes:x11" ] |
50 } | 52 } |
51 } | 53 } |
OLD | NEW |