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/events.gyp:events_base', | 19 '../../events/events.gyp:events_base', |
19 '../../gfx/x/gfx_x11.gyp:gfx_x11', | 20 '../../gfx/x/gfx_x11.gyp:gfx_x11', |
20 ], | 21 ], |
21 'defines': [ | 22 'defines': [ |
22 'EVENTS_X_IMPLEMENTATION', | 23 'EVENTS_X_IMPLEMENTATION', |
23 ], | 24 ], |
24 'sources': [ | 25 'sources': [ |
25 'events_x_export.h', | 26 'events_x_export.h', |
26 'events_x_utils.cc', | 27 'events_x_utils.cc', |
27 'events_x_utils.h', | 28 'events_x_utils.h', |
28 ], | 29 ], |
29 'conditions': [ | 30 'conditions': [ |
30 ['use_x11==1', { | 31 ['use_x11==1', { |
31 'dependencies': [ | 32 'dependencies': [ |
32 '<(DEPTH)/build/linux/system.gyp:x11', | 33 '<(DEPTH)/build/linux/system.gyp:x11', |
33 ], | 34 ], |
34 }], | 35 }], |
35 ], | 36 ], |
36 }, | 37 }, |
37 ], | 38 ], |
38 } | 39 } |
OLD | NEW |