OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 { | 10 { |
11 # GN version: //ui/events/x | 11 # GN version: //ui/events/x |
12 'target_name': 'events_x', | 12 'target_name': 'events_x', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '<(DEPTH)/base/base.gyp:base', | 15 '<(DEPTH)/base/base.gyp:base', |
16 '<(DEPTH)/skia/skia.gyp:skia', | 16 '<(DEPTH)/skia/skia.gyp:skia', |
17 '../../events/devices/events_devices.gyp:events_devices', | 17 '../../events/devices/events_devices.gyp:events_devices', |
18 '../../events/devices/x11/events_devices_x11.gyp:events_devices_x11', | 18 '../../events/devices/x11/events_devices_x11.gyp:events_devices_x11', |
19 '../../events/events.gyp:events_base', | 19 '../../events/events.gyp:events_base', |
| 20 '../../events/keycodes/events_keycodes.gyp:keycodes_x11', |
20 '../../gfx/x/gfx_x11.gyp:gfx_x11', | 21 '../../gfx/x/gfx_x11.gyp:gfx_x11', |
21 ], | 22 ], |
22 'defines': [ | 23 'defines': [ |
23 'EVENTS_X_IMPLEMENTATION', | 24 'EVENTS_X_IMPLEMENTATION', |
24 ], | 25 ], |
25 'sources': [ | 26 'sources': [ |
26 'events_x_export.h', | 27 'events_x_export.h', |
27 'events_x_utils.cc', | 28 'events_x_utils.cc', |
28 'events_x_utils.h', | 29 'events_x_utils.h', |
29 ], | 30 ], |
30 'conditions': [ | 31 'conditions': [ |
31 ['use_x11==1', { | 32 ['use_x11==1', { |
32 'dependencies': [ | 33 'dependencies': [ |
33 '<(DEPTH)/build/linux/system.gyp:x11', | 34 '<(DEPTH)/build/linux/system.gyp:x11', |
34 ], | 35 ], |
35 }], | 36 }], |
36 ], | 37 ], |
37 }, | 38 }, |
38 ], | 39 ], |
39 } | 40 } |
OLD | NEW |