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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [{ | 9 'targets': [{ |
10 'target_name': 'events_ozone', | 10 'target_name': 'events_ozone', |
(...skipping 18 matching lines...) Expand all Loading... |
29 'device/udev/device_manager_udev.cc', | 29 'device/udev/device_manager_udev.cc', |
30 'device/udev/device_manager_udev.h', | 30 'device/udev/device_manager_udev.h', |
31 'events_ozone_export.h', | 31 'events_ozone_export.h', |
32 ], | 32 ], |
33 'conditions': [ | 33 'conditions': [ |
34 ['use_udev==0', { | 34 ['use_udev==0', { |
35 'sources/': [ | 35 'sources/': [ |
36 ['exclude', '_udev\\.(h|cc)$'], | 36 ['exclude', '_udev\\.(h|cc)$'], |
37 ], | 37 ], |
38 }], | 38 }], |
39 ['use_xkbcommon==1', { | |
40 'dependencies': [ | |
41 '../../../build/linux/system.gyp:xkbcommon', | |
42 ], | |
43 'defines': [ | |
44 'USE_XKBCOMMON', | |
45 ], | |
46 }], | |
47 ['use_ozone_evdev==1 and use_udev==1', { | 39 ['use_ozone_evdev==1 and use_udev==1', { |
48 'dependencies': [ | 40 'dependencies': [ |
49 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', | 41 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', |
50 ], | 42 ], |
51 }], | 43 }], |
52 ], | 44 ], |
53 }, { | 45 }, { |
54 'target_name': 'events_ozone_evdev', | 46 'target_name': 'events_ozone_evdev', |
55 'type': '<(component)', | 47 'type': '<(component)', |
56 'dependencies': [ | 48 'dependencies': [ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 '../../../base/base.gyp:base', | 129 '../../../base/base.gyp:base', |
138 ], | 130 ], |
139 'defines': [ | 131 'defines': [ |
140 'EVENTS_OZONE_LAYOUT_IMPLEMENTATION', | 132 'EVENTS_OZONE_LAYOUT_IMPLEMENTATION', |
141 ], | 133 ], |
142 'sources': [ | 134 'sources': [ |
143 'layout/events_ozone_layout_export.h', | 135 'layout/events_ozone_layout_export.h', |
144 'layout/keyboard_layout_engine.h', | 136 'layout/keyboard_layout_engine.h', |
145 'layout/keyboard_layout_engine_manager.cc', | 137 'layout/keyboard_layout_engine_manager.cc', |
146 'layout/keyboard_layout_engine_manager.h', | 138 'layout/keyboard_layout_engine_manager.h', |
| 139 'layout/layout_util.cc', |
| 140 'layout/layout_util.h', |
147 'layout/no/no_keyboard_layout_engine.cc', | 141 'layout/no/no_keyboard_layout_engine.cc', |
148 'layout/no/no_keyboard_layout_engine.h', | 142 'layout/no/no_keyboard_layout_engine.h', |
149 'layout/stub/stub_keyboard_layout_engine.cc', | 143 'layout/stub/stub_keyboard_layout_engine.cc', |
150 'layout/stub/stub_keyboard_layout_engine.h', | 144 'layout/stub/stub_keyboard_layout_engine.h', |
151 ], | 145 ], |
| 146 'conditions': [ |
| 147 ['use_xkbcommon==1', { |
| 148 'dependencies': [ |
| 149 '../../../build/linux/system.gyp:xkbcommon', |
| 150 ], |
| 151 'defines': [ |
| 152 'USE_XKBCOMMON', |
| 153 ], |
| 154 'sources': [ |
| 155 'layout/xkb/xkb.h', |
| 156 'layout/xkb/xkb_evdev_codes.cc', |
| 157 'layout/xkb/xkb_evdev_codes.h', |
| 158 'layout/xkb/xkb_key_code_converter.h', |
| 159 'layout/xkb/xkb_keyboard_code_conversion.cc', |
| 160 'layout/xkb/xkb_keyboard_code_conversion.h', |
| 161 'layout/xkb/xkb_keyboard_layout_engine.cc', |
| 162 'layout/xkb/xkb_keyboard_layout_engine.h', |
| 163 'layout/xkb/xkb_keysym.h', |
| 164 'layout/xkb/scoped_xkb.h', |
| 165 ], |
| 166 }], |
| 167 ], |
152 }] | 168 }] |
153 } | 169 } |
OLD | NEW |