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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 '../../../base/base.gyp:base', | 129 '../../../base/base.gyp:base', |
130 ], | 130 ], |
131 'defines': [ | 131 'defines': [ |
132 'EVENTS_OZONE_LAYOUT_IMPLEMENTATION', | 132 'EVENTS_OZONE_LAYOUT_IMPLEMENTATION', |
133 ], | 133 ], |
134 'sources': [ | 134 'sources': [ |
135 'layout/events_ozone_layout_export.h', | 135 'layout/events_ozone_layout_export.h', |
136 'layout/keyboard_layout_engine.h', | 136 'layout/keyboard_layout_engine.h', |
137 'layout/keyboard_layout_engine_manager.cc', | 137 'layout/keyboard_layout_engine_manager.cc', |
138 'layout/keyboard_layout_engine_manager.h', | 138 'layout/keyboard_layout_engine_manager.h', |
| 139 'layout/layout_util.cc', |
| 140 'layout/layout_util.h', |
139 'layout/no/no_keyboard_layout_engine.cc', | 141 'layout/no/no_keyboard_layout_engine.cc', |
140 'layout/no/no_keyboard_layout_engine.h', | 142 'layout/no/no_keyboard_layout_engine.h', |
141 'layout/stub/stub_keyboard_layout_engine.cc', | 143 'layout/stub/stub_keyboard_layout_engine.cc', |
142 'layout/stub/stub_keyboard_layout_engine.h', | 144 'layout/stub/stub_keyboard_layout_engine.h', |
143 ], | 145 ], |
| 146 'conditions': [ |
| 147 ['use_xkbcommon==1', { |
| 148 'sources': [ |
| 149 'layout/xkb/xkb.h', |
| 150 'layout/xkb/xkb_evdev_codes.cc', |
| 151 'layout/xkb/xkb_evdev_codes.h', |
| 152 'layout/xkb/xkb_keyboard_code_conversion.cc', |
| 153 'layout/xkb/xkb_keyboard_code_conversion.h', |
| 154 'layout/xkb/xkb_keyboard_layout_engine.cc', |
| 155 'layout/xkb/xkb_keyboard_layout_engine.h', |
| 156 'layout/xkb/xkb_keysym.h', |
| 157 ], |
| 158 'link_settings': { |
| 159 'libraries': [ |
| 160 '-lxkbcommon', |
| 161 ] |
| 162 }, |
| 163 }], |
| 164 ], |
144 }] | 165 }] |
145 } | 166 } |
OLD | NEW |