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 'target_name': 'x11_events_platform', |
| 11 'type': '<(component)', |
| 12 'defines': [ |
| 13 'EVENTS_IMPLEMENTATION', |
| 14 ], |
| 15 'dependencies': [ |
| 16 '../../../../build/linux/system.gyp:x11', |
| 17 '../../../gfx/x/gfx_x11.gyp:gfx_x11', |
| 18 '../../events.gyp:events', |
| 19 '../events_platform.gyp:events_platform', |
| 20 ], |
| 21 'sources': [ |
| 22 'x11_event_source.cc', |
| 23 'x11_event_source.h', |
| 24 'x11_event_source_glib.cc', |
| 25 'x11_event_source_libevent.cc', |
| 26 ], |
| 27 'conditions': [ |
| 28 ['use_glib==1', { |
| 29 'dependencies': [ |
| 30 '../../../../build/linux/system.gyp:glib', |
| 31 ], |
| 32 'sources!': [ |
| 33 'x11_event_source_libevent.cc', |
| 34 ], |
| 35 }, { |
| 36 # use_glib == 0 |
| 37 'sources!': [ |
| 38 'x11_event_source_glib.cc', |
| 39 ], |
| 40 }], |
| 41 ], |
| 42 }], |
| 43 } |
OLD | NEW |