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 | 7 |
8 static_library("dom4_keycode_converter") { | 8 static_library("dom4_keycode_converter") { |
9 sources = [ | 9 sources = [ |
10 "keycodes/dom3/dom_code.h", | 10 "keycodes/dom3/dom_code.h", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 sources += [ | 67 sources += [ |
68 "keycodes/keyboard_code_conversion_x.cc", | 68 "keycodes/keyboard_code_conversion_x.cc", |
69 "keycodes/keyboard_code_conversion_x.h", | 69 "keycodes/keyboard_code_conversion_x.h", |
70 "x/keysym_to_unicode.cc", | 70 "x/keysym_to_unicode.cc", |
71 "x/keysym_to_unicode.h", | 71 "x/keysym_to_unicode.h", |
72 ] | 72 ] |
73 | 73 |
74 deps += [ "//ui/gfx/x" ] | 74 deps += [ "//ui/gfx/x" ] |
75 } | 75 } |
| 76 if (use_x11 || use_ozone) { |
| 77 sources += [ |
| 78 "keycodes/keyboard_code_conversion_xkb.cc", |
| 79 "keycodes/keycodes_code_conversion_xkb.h", |
| 80 "keycodes/xkb_keysym.h", |
| 81 ] |
| 82 } |
76 } | 83 } |
77 | 84 |
78 component("events") { | 85 component("events") { |
79 sources = [ | 86 sources = [ |
80 "cocoa/cocoa_event_utils.h", | 87 "cocoa/cocoa_event_utils.h", |
81 "cocoa/cocoa_event_utils.mm", | 88 "cocoa/cocoa_event_utils.mm", |
82 "cocoa/events_mac.mm", | 89 "cocoa/events_mac.mm", |
83 "event.cc", | 90 "event.cc", |
84 "event.h", | 91 "event.h", |
85 "event_dispatcher.cc", | 92 "event_dispatcher.cc", |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 "//ui/events/ozone:events_ozone", | 347 "//ui/events/ozone:events_ozone", |
341 "//ui/events/ozone:events_ozone_evdev", | 348 "//ui/events/ozone:events_ozone_evdev", |
342 "//ui/events/ozone:events_ozone_layout", | 349 "//ui/events/ozone:events_ozone_layout", |
343 ] | 350 ] |
344 } | 351 } |
345 | 352 |
346 if (use_aura) { | 353 if (use_aura) { |
347 sources += [ "gestures/gesture_provider_aura_unittest.cc" ] | 354 sources += [ "gestures/gesture_provider_aura_unittest.cc" ] |
348 } | 355 } |
349 } | 356 } |
OLD | NEW |