| 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//ui/events/xkb.gni") | |
| 8 | 7 |
| 9 static_library("dom_keycode_converter") { | 8 static_library("dom_keycode_converter") { |
| 10 sources = [ | 9 sources = [ |
| 11 "keycodes/dom/dom_code.h", | 10 "keycodes/dom/dom_code.h", |
| 12 "keycodes/dom/dom_key.h", | 11 "keycodes/dom/dom_key.h", |
| 13 "keycodes/dom/dom_key_data.inc", | 12 "keycodes/dom/dom_key_data.inc", |
| 14 "keycodes/dom/keycode_converter.cc", | 13 "keycodes/dom/keycode_converter.cc", |
| 15 "keycodes/dom/keycode_converter.h", | 14 "keycodes/dom/keycode_converter.h", |
| 16 "keycodes/dom/keycode_converter_data.inc", | 15 "keycodes/dom/keycode_converter_data.inc", |
| 17 ] | 16 ] |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 sources += [ | 64 sources += [ |
| 66 "keycodes/keyboard_code_conversion_x.cc", | 65 "keycodes/keyboard_code_conversion_x.cc", |
| 67 "keycodes/keyboard_code_conversion_x.h", | 66 "keycodes/keyboard_code_conversion_x.h", |
| 68 "x/keysym_to_unicode.cc", | 67 "x/keysym_to_unicode.cc", |
| 69 "x/keysym_to_unicode.h", | 68 "x/keysym_to_unicode.h", |
| 70 ] | 69 ] |
| 71 | 70 |
| 72 deps += [ "//ui/gfx/x" ] | 71 deps += [ "//ui/gfx/x" ] |
| 73 } | 72 } |
| 74 | 73 |
| 75 if (use_x11 || use_xkbcommon) { | 74 if (use_x11) { |
| 76 sources += [ | 75 sources += [ |
| 77 "keycodes/keyboard_code_conversion_xkb.cc", | 76 "keycodes/keyboard_code_conversion_xkb.cc", |
| 78 "keycodes/keyboard_code_conversion_xkb.h", | 77 "keycodes/keyboard_code_conversion_xkb.h", |
| 79 "keycodes/xkb_keysym.h", | 78 "keycodes/xkb_keysym.h", |
| 80 ] | 79 ] |
| 81 } | 80 } |
| 82 } | 81 } |
| 83 | 82 |
| 84 component("events") { | 83 component("events") { |
| 85 sources = [ | 84 sources = [ |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 "ozone/chromeos/cursor_controller_unittest.cc", | 307 "ozone/chromeos/cursor_controller_unittest.cc", |
| 309 "ozone/evdev/event_converter_evdev_impl_unittest.cc", | 308 "ozone/evdev/event_converter_evdev_impl_unittest.cc", |
| 310 "ozone/evdev/event_converter_test_util.cc", | 309 "ozone/evdev/event_converter_test_util.cc", |
| 311 "ozone/evdev/event_device_info_unittest.cc", | 310 "ozone/evdev/event_device_info_unittest.cc", |
| 312 "ozone/evdev/event_device_test_util.cc", | 311 "ozone/evdev/event_device_test_util.cc", |
| 313 "ozone/evdev/input_injector_evdev_unittest.cc", | 312 "ozone/evdev/input_injector_evdev_unittest.cc", |
| 314 "ozone/evdev/tablet_event_converter_evdev_unittest.cc", | 313 "ozone/evdev/tablet_event_converter_evdev_unittest.cc", |
| 315 "ozone/evdev/touch_event_converter_evdev_unittest.cc", | 314 "ozone/evdev/touch_event_converter_evdev_unittest.cc", |
| 316 "ozone/evdev/touch_noise/touch_noise_finder_unittest.cc", | 315 "ozone/evdev/touch_noise/touch_noise_finder_unittest.cc", |
| 317 ] | 316 ] |
| 318 if (use_x11 || use_xkbcommon) { | 317 if (use_x11) { |
| 319 sources += [ "ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc" ] | 318 sources += [ "ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc" ] |
| 320 } | 319 } |
| 321 deps += [ | 320 deps += [ |
| 322 "//ui/events/ozone:events_ozone", | 321 "//ui/events/ozone:events_ozone", |
| 323 "//ui/events/ozone:events_ozone_evdev", | 322 "//ui/events/ozone:events_ozone_evdev", |
| 324 "//ui/events/ozone:events_ozone_layout", | 323 "//ui/events/ozone:events_ozone_layout", |
| 325 ] | 324 ] |
| 326 } | 325 } |
| 327 } | 326 } |
| 328 | 327 |
| 329 if (is_nacl) { | 328 if (is_nacl) { |
| 330 source_set("latency_info") { | 329 source_set("latency_info") { |
| 331 sources = [ | 330 sources = [ |
| 332 "ipc/latency_info_param_traits.cc", | 331 "ipc/latency_info_param_traits.cc", |
| 333 "ipc/latency_info_param_traits.h", | 332 "ipc/latency_info_param_traits.h", |
| 334 "latency_info.cc", | 333 "latency_info.cc", |
| 335 "latency_info.h", | 334 "latency_info.h", |
| 336 ] | 335 ] |
| 337 } | 336 } |
| 338 } | 337 } |
| OLD | NEW |