OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/ui.gni") | |
6 import("//ui/ozone/ozone.gni") | |
7 | |
8 source_set("xkb") { | |
9 sources = [ | |
10 "keyboard_code_conversion_xkb.cc", | |
11 "keyboard_code_conversion_xkb.h", | |
12 "scoped_xkb.h", | |
13 "xkb_keysym.h", | |
14 ] | |
15 | |
16 deps = [ | |
17 "//base", | |
18 "//ui/events:dom_keycode_converter", | |
19 ] | |
20 } | |
21 | |
22 if (use_x11 || ozone_platform_x11) { | |
23 component("x") { | |
sadrul
2016/04/19 14:20:16
Call this x11?
kylechar
2016/04/19 15:14:25
Done.
| |
24 output_name = "keycodes_x" | |
25 | |
26 sources = [ | |
27 "keyboard_code_conversion_x.cc", | |
28 "keyboard_code_conversion_x.h", | |
29 "keycodes_x_export.h", | |
30 "keysym_to_unicode.cc", | |
31 "keysym_to_unicode.h", | |
32 ] | |
33 | |
34 defines = [ "KEYCODES_X_IMPLEMENTATION" ] | |
35 | |
36 deps = [ | |
37 ":xkb", | |
38 "//base", | |
39 "//ui/events:dom_keycode_converter", | |
40 "//ui/gfx/x", | |
41 ] | |
42 | |
43 configs += [ "//build/config/linux:x11" ] | |
44 } | |
45 } | |
OLD | NEW |