Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Side by Side Diff: ui/events/keycodes/BUILD.gn

Issue 1880313004: Remove X11 deps from //ui/events:events_base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device_refactor
Patch Set: Maybe GYP actually works now? Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/events.gyp ('k') | ui/events/keycodes/events_keycodes.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « ui/events/events.gyp ('k') | ui/events/keycodes/events_keycodes.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698