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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 sources += [ | 68 sources += [ |
69 "keycodes/keyboard_code_conversion_x.cc", | 69 "keycodes/keyboard_code_conversion_x.cc", |
70 "keycodes/keyboard_code_conversion_x.h", | 70 "keycodes/keyboard_code_conversion_x.h", |
71 "x/keysym_to_unicode.cc", | 71 "x/keysym_to_unicode.cc", |
72 "x/keysym_to_unicode.h", | 72 "x/keysym_to_unicode.h", |
73 ] | 73 ] |
74 | 74 |
75 deps += [ "//ui/gfx/x" ] | 75 deps += [ "//ui/gfx/x" ] |
76 } | 76 } |
| 77 if (use_x11 || use_ozone) { |
| 78 sources += [ |
| 79 "keycodes/keyboard_code_conversion_xkb.cc", |
| 80 "keycodes/keycodes_code_conversion_xkb.h", |
| 81 "keycodes/xkb_keysym.h", |
| 82 ] |
| 83 } |
77 } | 84 } |
78 | 85 |
79 component("events") { | 86 component("events") { |
80 sources = [ | 87 sources = [ |
81 "cocoa/cocoa_event_utils.h", | 88 "cocoa/cocoa_event_utils.h", |
82 "cocoa/cocoa_event_utils.mm", | 89 "cocoa/cocoa_event_utils.mm", |
83 "cocoa/events_mac.mm", | 90 "cocoa/events_mac.mm", |
84 "event.cc", | 91 "event.cc", |
85 "event.h", | 92 "event.h", |
86 "event_dispatcher.cc", | 93 "event_dispatcher.cc", |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 if (is_nacl) { | 368 if (is_nacl) { |
362 source_set("latency_info") { | 369 source_set("latency_info") { |
363 sources = [ | 370 sources = [ |
364 "ipc/latency_info_param_traits.cc", | 371 "ipc/latency_info_param_traits.cc", |
365 "ipc/latency_info_param_traits.h", | 372 "ipc/latency_info_param_traits.h", |
366 "latency_info.cc", | 373 "latency_info.cc", |
367 "latency_info.h", | 374 "latency_info.h", |
368 ] | 375 ] |
369 } | 376 } |
370 } | 377 } |
OLD | NEW |