| 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', |
| 11 'type': '<(component)', | 11 'type': '<(component)', |
| 12 'dependencies': [ | 12 'dependencies': [ |
| 13 '../../../base/base.gyp:base', | 13 '../../../base/base.gyp:base', |
| 14 ], | 14 ], |
| 15 'defines': [ | 15 'defines': [ |
| 16 'EVENTS_OZONE_IMPLEMENTATION', | 16 'EVENTS_OZONE_IMPLEMENTATION', |
| 17 ], | 17 ], |
| 18 'sources': [ | 18 'sources': [ |
| 19 'device/device_event.cc', | 19 'device/device_event.cc', |
| 20 'device/device_event.h', | 20 'device/device_event.h', |
| 21 'device/device_event_observer.h', | 21 'device/device_event_observer.h', |
| 22 'device/device_manager.cc', | 22 'device/device_manager.cc', |
| 23 'device/device_manager.h', | 23 'device/device_manager.h', |
| 24 'device/device_manager_manual.cc', | 24 'device/device_manager_manual.cc', |
| 25 'device/device_manager_manual.h', | 25 'device/device_manager_manual.h', |
| 26 'device/udev/device_manager_udev.cc', | 26 'device/udev/device_manager_udev.cc', |
| 27 'device/udev/device_manager_udev.h', | 27 'device/udev/device_manager_udev.h', |
| 28 'device/udev/scoped_udev.h', | |
| 29 'event_factory_ozone.cc', | 28 'event_factory_ozone.cc', |
| 30 'event_factory_ozone.h', | 29 'event_factory_ozone.h', |
| 31 'events_ozone_export.h', | 30 'events_ozone_export.h', |
| 32 ], | 31 ], |
| 33 'conditions': [ | 32 'conditions': [ |
| 34 ['use_udev==0', { | 33 ['use_udev==0', { |
| 35 'sources/': [ | 34 'sources/': [ |
| 36 ['exclude', '_udev\\.(h|cc)$'], | 35 ['exclude', '_udev\\.(h|cc)$'], |
| 37 ], | 36 ], |
| 38 }], | 37 }], |
| 39 ['use_ozone_evdev==1 and use_udev==1', { | 38 ['use_ozone_evdev==1 and use_udev==1', { |
| 40 'dependencies': [ | 39 'dependencies': [ |
| 41 '<(DEPTH)/build/linux/system.gyp:udev', | 40 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', |
| 42 ], | 41 ], |
| 43 }], | 42 }], |
| 44 ], | 43 ], |
| 45 }, { | 44 }, { |
| 46 'target_name': 'events_ozone_evdev', | 45 'target_name': 'events_ozone_evdev', |
| 47 'type': '<(component)', | 46 'type': '<(component)', |
| 48 'dependencies': [ | 47 'dependencies': [ |
| 49 '../../../base/base.gyp:base', | 48 '../../../base/base.gyp:base', |
| 50 '../../gfx/gfx.gyp:gfx', | 49 '../../gfx/gfx.gyp:gfx', |
| 51 '../platform/events_platform.gyp:events_platform', | 50 '../platform/events_platform.gyp:events_platform', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 'sources/': [ | 89 'sources/': [ |
| 91 ['exclude', '^evdev/libgestures_glue/'], | 90 ['exclude', '^evdev/libgestures_glue/'], |
| 92 ], | 91 ], |
| 93 }], | 92 }], |
| 94 ['use_ozone_evdev==1', { | 93 ['use_ozone_evdev==1', { |
| 95 'defines': ['USE_OZONE_EVDEV=1'], | 94 'defines': ['USE_OZONE_EVDEV=1'], |
| 96 }], | 95 }], |
| 97 ], | 96 ], |
| 98 }] | 97 }] |
| 99 } | 98 } |
| OLD | NEW |