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