| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'target_name': 'events_base', | 11 'target_name': 'events_base', |
| 12 'type': '<(component)', | 12 'type': '<(component)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '<(DEPTH)/base/base.gyp:base', | 14 '<(DEPTH)/base/base.gyp:base', |
| 15 ], | 15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 16 ], |
| 16 'defines': [ | 17 'defines': [ |
| 17 'EVENTS_BASE_IMPLEMENTATION', | 18 'EVENTS_BASE_IMPLEMENTATION', |
| 18 ], | 19 ], |
| 19 'sources': [ | 20 'sources': [ |
| 20 'events_base_export.h', | 21 'events_base_export.h', |
| 21 'event_switches.cc', | 22 'event_switches.cc', |
| 22 'event_switches.h', | 23 'event_switches.h', |
| 23 'keycodes/keyboard_code_conversion.cc', | 24 'keycodes/keyboard_code_conversion.cc', |
| 24 'keycodes/keyboard_code_conversion.h', | 25 'keycodes/keyboard_code_conversion.h', |
| 25 'keycodes/keyboard_code_conversion_android.cc', | 26 'keycodes/keyboard_code_conversion_android.cc', |
| 26 'keycodes/keyboard_code_conversion_android.h', | 27 'keycodes/keyboard_code_conversion_android.h', |
| 27 'keycodes/keyboard_code_conversion_gtk.cc', | 28 'keycodes/keyboard_code_conversion_gtk.cc', |
| 28 'keycodes/keyboard_code_conversion_gtk.h', | 29 'keycodes/keyboard_code_conversion_gtk.h', |
| 29 'keycodes/keyboard_code_conversion_mac.h', | 30 'keycodes/keyboard_code_conversion_mac.h', |
| 30 'keycodes/keyboard_code_conversion_mac.mm', | 31 'keycodes/keyboard_code_conversion_mac.mm', |
| 31 'keycodes/keyboard_code_conversion_win.cc', | 32 'keycodes/keyboard_code_conversion_win.cc', |
| 32 'keycodes/keyboard_code_conversion_win.h', | 33 'keycodes/keyboard_code_conversion_win.h', |
| 33 'keycodes/keyboard_code_conversion_x.cc', | 34 'keycodes/keyboard_code_conversion_x.cc', |
| 34 'keycodes/keyboard_code_conversion_x.h', | 35 'keycodes/keyboard_code_conversion_x.h', |
| 35 'keycodes/keyboard_codes.h', | 36 'keycodes/keyboard_codes.h', |
| 36 'latency_info.cc', | 37 'latency_info.cc', |
| 37 'latency_info.h', | 38 'latency_info.h', |
| 39 'x/device_list_cache_x.cc', |
| 40 'x/device_list_cache_x.h', |
| 41 'x/device_data_manager.cc', |
| 42 'x/device_data_manager.h', |
| 43 'x/touch_factory_x11.cc', |
| 44 'x/touch_factory_x11.h', |
| 45 ], |
| 46 'conditions': [ |
| 47 ['use_x11==1', { |
| 48 'dependencies': [ |
| 49 '<(DEPTH)/build/linux/system.gyp:x11', |
| 50 ], |
| 51 }], |
| 38 ], | 52 ], |
| 39 }, | 53 }, |
| 40 { | 54 { |
| 41 'target_name': 'events', | 55 'target_name': 'events', |
| 42 'type': '<(component)', | 56 'type': '<(component)', |
| 43 'dependencies': [ | 57 'dependencies': [ |
| 44 '<(DEPTH)/base/base.gyp:base', | 58 '<(DEPTH)/base/base.gyp:base', |
| 45 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 59 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 46 '<(DEPTH)/skia/skia.gyp:skia', | 60 '<(DEPTH)/skia/skia.gyp:skia', |
| 47 '../gfx/gfx.gyp:gfx', | 61 '../gfx/gfx.gyp:gfx', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 'ozone/evdev/key_event_converter.cc', | 100 'ozone/evdev/key_event_converter.cc', |
| 87 'ozone/evdev/key_event_converter.h', | 101 'ozone/evdev/key_event_converter.h', |
| 88 'ozone/evdev/touch_event_converter.cc', | 102 'ozone/evdev/touch_event_converter.cc', |
| 89 'ozone/evdev/touch_event_converter.h', | 103 'ozone/evdev/touch_event_converter.h', |
| 90 'ozone/event_converter_ozone.cc', | 104 'ozone/event_converter_ozone.cc', |
| 91 'ozone/event_converter_ozone.h', | 105 'ozone/event_converter_ozone.h', |
| 92 'ozone/event_factory_ozone.cc', | 106 'ozone/event_factory_ozone.cc', |
| 93 'ozone/event_factory_ozone.h', | 107 'ozone/event_factory_ozone.h', |
| 94 'ozone/events_ozone.cc', | 108 'ozone/events_ozone.cc', |
| 95 'win/events_win.cc', | 109 'win/events_win.cc', |
| 96 'x/device_data_manager.cc', | |
| 97 'x/device_data_manager.h', | |
| 98 'x/device_list_cache_x.cc', | |
| 99 'x/device_list_cache_x.h', | |
| 100 'x/events_x.cc', | 110 'x/events_x.cc', |
| 101 'x/events_x_utils.cc', | 111 'x/events_x_utils.cc', |
| 102 'x/events_x_utils.h', | 112 'x/events_x_utils.h', |
| 103 'x/touch_factory_x11.cc', | |
| 104 'x/touch_factory_x11.h', | |
| 105 ], | 113 ], |
| 106 'conditions': [ | 114 'conditions': [ |
| 107 # We explicitly enumerate the platforms we _do_ provide native cracking | 115 # We explicitly enumerate the platforms we _do_ provide native cracking |
| 108 # for here. | 116 # for here. |
| 109 ['OS=="win" or use_x11==1 or use_ozone==1', { | 117 ['OS=="win" or use_x11==1 or use_ozone==1', { |
| 110 'sources!': [ | 118 'sources!': [ |
| 111 'events_stub.cc', | 119 'events_stub.cc', |
| 112 ], | 120 ], |
| 113 }], | 121 }], |
| 114 ['use_x11==1', { | 122 ['use_x11==1', { |
| 115 'dependencies': [ | 123 'dependencies': [ |
| 116 '<(DEPTH)/build/linux/system.gyp:x11', | 124 '<(DEPTH)/build/linux/system.gyp:x11', |
| 117 ], | 125 ], |
| 118 }], | 126 }], |
| 119 ['use_ozone_evdev==1', { | 127 ['use_ozone_evdev==1', { |
| 120 'defines': ['USE_OZONE_EVDEV=1'], | 128 'defines': ['USE_OZONE_EVDEV=1'], |
| 121 }], | 129 }], |
| 122 ], | 130 ], |
| 123 } | 131 } |
| 124 ], | 132 ], |
| 125 } | 133 } |
| OLD | NEW |