OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'events', |
| 12 'type': '<(component)', |
| 13 'dependencies': [ |
| 14 '<(DEPTH)/base/base.gyp:base', |
| 15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 16 '<(DEPTH)/skia/skia.gyp:skia', |
| 17 '../gfx/gfx.gyp:gfx', |
| 18 ], |
| 19 'defines': [ |
| 20 'EVENTS_IMPLEMENTATION', |
| 21 ], |
| 22 'sources': [ |
| 23 'cocoa/events_mac.mm', |
| 24 'event.cc', |
| 25 'event.h', |
| 26 'event_constants.h', |
| 27 'event_dispatcher.cc', |
| 28 'event_dispatcher.h', |
| 29 'event_handler.cc', |
| 30 'event_handler.h', |
| 31 'event_switches.cc', |
| 32 'event_switches.h', |
| 33 'event_target.cc', |
| 34 'event_target.h', |
| 35 'event_utils.cc', |
| 36 'event_utils.h', |
| 37 'events_export.h', |
| 38 'gestures/gesture_configuration.cc', |
| 39 'gestures/gesture_configuration.h', |
| 40 'gestures/gesture_point.cc', |
| 41 'gestures/gesture_point.h', |
| 42 'gestures/gesture_recognizer.h', |
| 43 'gestures/gesture_recognizer_impl.cc', |
| 44 'gestures/gesture_recognizer_impl.h', |
| 45 'gestures/gesture_sequence.cc', |
| 46 'gestures/gesture_sequence.h', |
| 47 'gestures/gesture_types.cc', |
| 48 'gestures/gesture_types.h', |
| 49 'gestures/gesture_util.cc', |
| 50 'gestures/gesture_util.h', |
| 51 'gestures/velocity_calculator.cc', |
| 52 'gestures/velocity_calculator.h', |
| 53 'keycodes/keyboard_code_conversion.cc', |
| 54 'keycodes/keyboard_code_conversion.h', |
| 55 'keycodes/keyboard_code_conversion_android.cc', |
| 56 'keycodes/keyboard_code_conversion_android.h', |
| 57 'keycodes/keyboard_code_conversion_gtk.cc', |
| 58 'keycodes/keyboard_code_conversion_gtk.h', |
| 59 'keycodes/keyboard_code_conversion_mac.h', |
| 60 'keycodes/keyboard_code_conversion_mac.mm', |
| 61 'keycodes/keyboard_code_conversion_win.cc', |
| 62 'keycodes/keyboard_code_conversion_win.h', |
| 63 'keycodes/keyboard_code_conversion_x.cc', |
| 64 'keycodes/keyboard_code_conversion_x.h', |
| 65 'keycodes/keyboard_codes.h', |
| 66 'latency_info.cc', |
| 67 'latency_info.h', |
| 68 'ozone/evdev/key_event_converter_ozone.cc', |
| 69 'ozone/evdev/key_event_converter_ozone.h', |
| 70 'ozone/evdev/touch_event_converter_ozone.cc', |
| 71 'ozone/evdev/touch_event_converter_ozone.h', |
| 72 'ozone/event_converter_ozone.cc', |
| 73 'ozone/event_converter_ozone.h', |
| 74 'ozone/event_factory_delegate_ozone.h', |
| 75 'ozone/event_factory_ozone.cc', |
| 76 'ozone/event_factory_ozone.h', |
| 77 'ozone/events_ozone.cc', |
| 78 'win/events_win.cc', |
| 79 'x/device_data_manager.cc', |
| 80 'x/device_data_manager.h', |
| 81 'x/device_list_cache_x.cc', |
| 82 'x/device_list_cache_x.h', |
| 83 'x/events_x.cc', |
| 84 'x/events_x_utils.cc', |
| 85 'x/events_x_utils.h', |
| 86 'x/touch_factory_x11.cc', |
| 87 'x/touch_factory_x11.h', |
| 88 ], |
| 89 'conditions': [ |
| 90 ['use_aura==0 and toolkit_views==0', { |
| 91 'sources/': [ |
| 92 ['exclude', '^gestures/*'], |
| 93 ] |
| 94 }], |
| 95 ['toolkit_views==0', { |
| 96 'sources!': [ |
| 97 'event.cc', |
| 98 'event.h', |
| 99 'event_dispatcher.cc', |
| 100 'event_dispatcher.h', |
| 101 'event_handler.cc', |
| 102 'event_handler.h', |
| 103 'event_target.cc', |
| 104 'event_target.h', |
| 105 ], |
| 106 }], |
| 107 ['OS=="android"', { |
| 108 'sources!': [ |
| 109 'event_utils.cc', |
| 110 'keycodes/keyboard_code_conversion.cc', |
| 111 ], |
| 112 }], |
| 113 ['use_x11==1', { |
| 114 'dependencies': [ |
| 115 '<(DEPTH)/build/linux/system.gyp:x11', |
| 116 ], |
| 117 }], |
| 118 ], |
| 119 } |
| 120 ], |
| 121 } |
OLD | NEW |