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 | 6 |
7 static_library("dom4_keycode_converter") { | 7 static_library("dom4_keycode_converter") { |
8 sources = [ | 8 sources = [ |
9 "keycodes/dom4/keycode_converter.cc", | 9 "keycodes/dom4/keycode_converter.cc", |
10 "keycodes/dom4/keycode_converter.h", | 10 "keycodes/dom4/keycode_converter.h", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 deps = [ | 48 deps = [ |
49 ":dom4_keycode_converter", | 49 ":dom4_keycode_converter", |
50 "//base", | 50 "//base", |
51 "//base/third_party/dynamic_annotations", | 51 "//base/third_party/dynamic_annotations", |
52 "//ui/gfx/geometry", | 52 "//ui/gfx/geometry", |
53 ] | 53 ] |
54 | 54 |
55 if (use_x11) { | 55 if (use_x11) { |
56 configs += [ "//build/config/linux:x11" ] | 56 configs += [ "//build/config/linux:x11" ] |
| 57 } else { |
| 58 sources -= [ |
| 59 "keycodes/keyboard_code_conversion_x.cc", |
| 60 "keycodes/keyboard_code_conversion_x.h", |
| 61 "x/device_data_manager.cc", |
| 62 "x/device_data_manager.h", |
| 63 "x/device_list_cache_x.cc", |
| 64 "x/device_list_cache_x.h", |
| 65 "x/touch_factory_x11.cc", |
| 66 "x/touch_factory_x11.h", |
| 67 ] |
57 } | 68 } |
58 } | 69 } |
59 | 70 |
60 component("events") { | 71 component("events") { |
61 deps = [ | 72 deps = [ |
62 ":dom4_keycode_converter", | 73 ":dom4_keycode_converter", |
63 ":events_base", | 74 ":events_base", |
64 ] | 75 ] |
65 } | 76 } |
OLD | NEW |