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/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 declare_args() { | 9 declare_args() { |
10 # Optional system libraries. | 10 # Optional system libraries. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 defines = [ "USE_XKBCOMMON" ] | 143 defines = [ "USE_XKBCOMMON" ] |
144 } | 144 } |
145 } | 145 } |
146 | 146 |
147 component("events_ozone_layout") { | 147 component("events_ozone_layout") { |
148 sources = [ | 148 sources = [ |
149 "layout/events_ozone_layout_export.h", | 149 "layout/events_ozone_layout_export.h", |
150 "layout/keyboard_layout_engine.h", | 150 "layout/keyboard_layout_engine.h", |
151 "layout/keyboard_layout_engine_manager.cc", | 151 "layout/keyboard_layout_engine_manager.cc", |
152 "layout/keyboard_layout_engine_manager.h", | 152 "layout/keyboard_layout_engine_manager.h", |
153 "layout/layout_util.cc", | |
154 "layout/layout_util.h", | |
155 "layout/no/no_keyboard_layout_engine.cc", | 153 "layout/no/no_keyboard_layout_engine.cc", |
156 "layout/no/no_keyboard_layout_engine.h", | 154 "layout/no/no_keyboard_layout_engine.h", |
157 "layout/stub/stub_keyboard_layout_engine.cc", | 155 "layout/stub/stub_keyboard_layout_engine.cc", |
158 "layout/stub/stub_keyboard_layout_engine.h", | 156 "layout/stub/stub_keyboard_layout_engine.h", |
159 ] | 157 ] |
160 | 158 |
161 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] | 159 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] |
162 | 160 |
163 deps = [ | 161 deps = [ |
164 "//base", | 162 "//base", |
165 "//ui/events:dom4_keycode_converter", | 163 "//ui/events:dom4_keycode_converter", |
166 "//ui/events:events_base", | 164 "//ui/events:events_base", |
167 ] | 165 ] |
168 | 166 |
169 public_configs = [ ":events_ozone_layout_config" ] | 167 public_configs = [ ":events_ozone_layout_config" ] |
170 | 168 |
171 if (use_xkbcommon) { | 169 if (use_xkbcommon) { |
172 configs += [ ":xkbcommon" ] | 170 configs += [ ":xkbcommon" ] |
173 | 171 |
174 sources += [ | 172 sources += [ |
175 "layout/xkb/xkb.h", | 173 "layout/xkb/xkb.h", |
176 "layout/xkb/xkb_evdev_codes.cc", | 174 "layout/xkb/xkb_evdev_codes.cc", |
177 "layout/xkb/xkb_evdev_codes.h", | 175 "layout/xkb/xkb_evdev_codes.h", |
178 "layout/xkb/xkb_key_code_converter.h", | 176 "layout/xkb/xkb_key_code_converter.h", |
179 "layout/xkb/xkb_keyboard_code_conversion.cc", | |
180 "layout/xkb/xkb_keyboard_code_conversion.h", | |
181 "layout/xkb/xkb_keyboard_layout_engine.cc", | 177 "layout/xkb/xkb_keyboard_layout_engine.cc", |
182 "layout/xkb/xkb_keyboard_layout_engine.h", | 178 "layout/xkb/xkb_keyboard_layout_engine.h", |
183 "layout/xkb/xkb_keysym.h", | 179 "layout/xkb/xkb_keysym.h", |
184 "layout/xkb/scoped_xkb.h", | 180 "layout/xkb/scoped_xkb.h", |
185 ] | 181 ] |
186 } | 182 } |
187 } | 183 } |
OLD | NEW |