| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'targets': [{ | |
| 10 # GN version: //ui/events/platform/x11 | |
| 11 'target_name': 'x11_events_platform', | |
| 12 'type': '<(component)', | |
| 13 'defines': [ | |
| 14 'EVENTS_IMPLEMENTATION', | |
| 15 ], | |
| 16 'dependencies': [ | |
| 17 '../../../../base/base.gyp:base', | |
| 18 '../../../../build/linux/system.gyp:x11', | |
| 19 '../../../gfx/gfx.gyp:gfx', | |
| 20 '../../../gfx/x/gfx_x11.gyp:gfx_x11', | |
| 21 '../../devices/events_devices.gyp:events_devices', | |
| 22 '../../devices/x11/events_devices_x11.gyp:events_devices_x11', | |
| 23 '../../events.gyp:events', | |
| 24 '../../events.gyp:events_base', | |
| 25 '../../x/events_x.gyp:events_x', | |
| 26 '../events_platform.gyp:events_platform', | |
| 27 ], | |
| 28 'sources': [ | |
| 29 'x11_event_source.cc', | |
| 30 'x11_event_source.h', | |
| 31 'x11_hotplug_event_handler.cc', | |
| 32 'x11_hotplug_event_handler.h', | |
| 33 ], | |
| 34 'conditions': [ | |
| 35 ['use_glib==1', { | |
| 36 'dependencies': [ | |
| 37 '../../../../build/linux/system.gyp:glib', | |
| 38 ], | |
| 39 'sources': [ | |
| 40 'x11_event_source_glib.cc', | |
| 41 'x11_event_source_glib.h', | |
| 42 ], | |
| 43 }, { | |
| 44 # use_glib == 0 | |
| 45 'sources': [ | |
| 46 'x11_event_source_libevent.cc', | |
| 47 'x11_event_source_libevent.h', | |
| 48 ], | |
| 49 'dependencies': [ | |
| 50 '../../keycodes/events_keycodes.gyp:keycodes_x11', | |
| 51 ], | |
| 52 }], | |
| 53 ], | |
| 54 }], | |
| 55 } | |
| OLD | NEW |