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

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

Issue 778503002: XKB implementation of Ozone key layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x430194-layout
Patch Set: fix boneheaded license paste Created 6 years 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 | « no previous file | ui/events/ozone/events_ozone.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/linux/pkg_config.gni") 6 import("//build/config/linux/pkg_config.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 # Optional system libraries. 9 # Optional system libraries.
10 use_xkbcommon = use_ozone 10 use_xkbcommon = use_ozone
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 ] 126 ]
127 } 127 }
128 } 128 }
129 129
130 component("events_ozone_layout") { 130 component("events_ozone_layout") {
131 sources = [ 131 sources = [
132 "layout/events_ozone_layout_export.h", 132 "layout/events_ozone_layout_export.h",
133 "layout/keyboard_layout_engine.h", 133 "layout/keyboard_layout_engine.h",
134 "layout/keyboard_layout_engine_manager.cc", 134 "layout/keyboard_layout_engine_manager.cc",
135 "layout/keyboard_layout_engine_manager.h", 135 "layout/keyboard_layout_engine_manager.h",
136 "layout/layout_util.cc",
137 "layout/layout_util.h",
136 "layout/no/no_keyboard_layout_engine.cc", 138 "layout/no/no_keyboard_layout_engine.cc",
137 "layout/no/no_keyboard_layout_engine.h", 139 "layout/no/no_keyboard_layout_engine.h",
138 "layout/stub/stub_keyboard_layout_engine.cc", 140 "layout/stub/stub_keyboard_layout_engine.cc",
139 "layout/stub/stub_keyboard_layout_engine.h", 141 "layout/stub/stub_keyboard_layout_engine.h",
140 ] 142 ]
141 143
142 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] 144 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ]
143 145
144 deps = [ 146 deps = [
145 "//base", 147 "//base",
146 ] 148 ]
149
150 if (use_xkbcommon) {
151 sources += [
152 "layout/xkb/xkb.h",
153 "layout/xkb/xkb_evdev_codes.cc",
154 "layout/xkb/xkb_evdev_codes.h",
155 "layout/xkb/xkb_key_code_converter.h",
156 "layout/xkb/xkb_keyboard_code_conversion.cc",
157 "layout/xkb/xkb_keyboard_code_conversion.h",
158 "layout/xkb/xkb_keyboard_layout_engine.cc",
159 "layout/xkb/xkb_keyboard_layout_engine.h",
160 "layout/xkb/xkb_keysym.h",
161 "layout/xkb/scoped_xkb.h",
162 ]
163 }
147 } 164 }
OLDNEW
« no previous file with comments | « no previous file | ui/events/ozone/events_ozone.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698