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', |
(...skipping 18 matching lines...) Expand all Loading... |
29 'device/udev/device_manager_udev.cc', | 29 'device/udev/device_manager_udev.cc', |
30 'device/udev/device_manager_udev.h', | 30 'device/udev/device_manager_udev.h', |
31 'events_ozone_export.h', | 31 'events_ozone_export.h', |
32 ], | 32 ], |
33 'conditions': [ | 33 'conditions': [ |
34 ['use_udev==0', { | 34 ['use_udev==0', { |
35 'sources/': [ | 35 'sources/': [ |
36 ['exclude', '_udev\\.(h|cc)$'], | 36 ['exclude', '_udev\\.(h|cc)$'], |
37 ], | 37 ], |
38 }], | 38 }], |
| 39 ['use_xkbcommon==1', { |
| 40 'dependencies': [ |
| 41 '../../../build/linux/system.gyp:xkbcommon', |
| 42 ], |
| 43 'defines': [ |
| 44 'USE_XKBCOMMON', |
| 45 ], |
| 46 }], |
39 ['use_ozone_evdev==1 and use_udev==1', { | 47 ['use_ozone_evdev==1 and use_udev==1', { |
40 'dependencies': [ | 48 'dependencies': [ |
41 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', | 49 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', |
42 ], | 50 ], |
43 }], | 51 }], |
44 ], | 52 ], |
45 }, { | 53 }, { |
46 'target_name': 'events_ozone_evdev', | 54 'target_name': 'events_ozone_evdev', |
47 'type': '<(component)', | 55 'type': '<(component)', |
48 'dependencies': [ | 56 'dependencies': [ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 'sources/': [ | 124 'sources/': [ |
117 ['exclude', '^evdev/libgestures_glue/'], | 125 ['exclude', '^evdev/libgestures_glue/'], |
118 ], | 126 ], |
119 }], | 127 }], |
120 ['use_ozone_evdev==1', { | 128 ['use_ozone_evdev==1', { |
121 'defines': ['USE_OZONE_EVDEV=1'], | 129 'defines': ['USE_OZONE_EVDEV=1'], |
122 }], | 130 }], |
123 ], | 131 ], |
124 }] | 132 }] |
125 } | 133 } |
OLD | NEW |