Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Side by Side Diff: ui/events/events.gyp

Issue 203483004: events: Introduce PlatformEventDispatcher and PlatformEventSource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 'ozone/evdev/event_factory_evdev.h', 126 'ozone/evdev/event_factory_evdev.h',
127 'ozone/evdev/event_modifiers_evdev.cc', 127 'ozone/evdev/event_modifiers_evdev.cc',
128 'ozone/evdev/event_modifiers_evdev.h', 128 'ozone/evdev/event_modifiers_evdev.h',
129 'ozone/evdev/key_event_converter_evdev.cc', 129 'ozone/evdev/key_event_converter_evdev.cc',
130 'ozone/evdev/key_event_converter_evdev.h', 130 'ozone/evdev/key_event_converter_evdev.h',
131 'ozone/evdev/touch_event_converter_evdev.cc', 131 'ozone/evdev/touch_event_converter_evdev.cc',
132 'ozone/evdev/touch_event_converter_evdev.h', 132 'ozone/evdev/touch_event_converter_evdev.h',
133 'ozone/event_factory_ozone.cc', 133 'ozone/event_factory_ozone.cc',
134 'ozone/event_factory_ozone.h', 134 'ozone/event_factory_ozone.h',
135 'ozone/events_ozone.cc', 135 'ozone/events_ozone.cc',
136 'platform/platform_event_dispatcher.h',
137 'platform/platform_event_observer.h',
138 'platform/platform_event_source.cc',
139 'platform/platform_event_source.h',
140 'platform/platform_event_types.h',
141 'platform/scoped_event_dispatcher.cc',
142 'platform/scoped_event_dispatcher.h',
143 'platform/x11/x11_event_source.cc',
144 'platform/x11/x11_event_source.h',
136 'win/events_win.cc', 145 'win/events_win.cc',
137 'x/events_x.cc', 146 'x/events_x.cc',
138 ], 147 ],
139 'conditions': [ 148 'conditions': [
140 # We explicitly enumerate the platforms we _do_ provide native cracking 149 # We explicitly enumerate the platforms we _do_ provide native cracking
141 # for here. 150 # for here.
142 ['OS=="win" or use_x11==1 or use_ozone==1', { 151 ['OS=="win" or use_x11==1 or use_ozone==1', {
143 'sources!': [ 152 'sources!': [
144 'events_stub.cc', 153 'events_stub.cc',
145 ], 154 ],
146 }], 155 }],
147 ['use_x11==1', { 156 ['use_x11==1', {
148 'dependencies': [ 157 'dependencies': [
149 '<(DEPTH)/build/linux/system.gyp:x11', 158 '<(DEPTH)/build/linux/system.gyp:x11',
150 ], 159 ],
151 }], 160 }],
161 ['use_glib==1', {
162 'dependencies': [
163 '../../build/linux/system.gyp:glib',
164 ],
165 }],
152 ['use_ozone_evdev==1', { 166 ['use_ozone_evdev==1', {
153 'defines': ['USE_OZONE_EVDEV=1'], 167 'defines': ['USE_OZONE_EVDEV=1'],
154 }], 168 }],
155 ['use_ozone_evdev==1 and use_udev==1', { 169 ['use_ozone_evdev==1 and use_udev==1', {
156 'dependencies': [ 170 'dependencies': [
157 '<(DEPTH)/build/linux/system.gyp:udev', 171 '<(DEPTH)/build/linux/system.gyp:udev',
158 ], 172 ],
159 }], 173 }],
160 ['use_udev==0', { 174 ['use_udev==0', {
161 'sources!': [ 175 'sources!': [
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 'gesture_detection/bitset_32_unittest.cc', 289 'gesture_detection/bitset_32_unittest.cc',
276 'gesture_detection/gesture_provider_unittest.cc', 290 'gesture_detection/gesture_provider_unittest.cc',
277 'gesture_detection/mock_motion_event.h', 291 'gesture_detection/mock_motion_event.h',
278 'gesture_detection/mock_motion_event.cc', 292 'gesture_detection/mock_motion_event.cc',
279 'gesture_detection/velocity_tracker_unittest.cc', 293 'gesture_detection/velocity_tracker_unittest.cc',
280 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', 294 'gesture_detection/touch_disposition_gesture_filter_unittest.cc',
281 'keycodes/dom4/keycode_converter_unittest.cc', 295 'keycodes/dom4/keycode_converter_unittest.cc',
282 'latency_info_unittest.cc', 296 'latency_info_unittest.cc',
283 'ozone/evdev/key_event_converter_evdev_unittest.cc', 297 'ozone/evdev/key_event_converter_evdev_unittest.cc',
284 'ozone/evdev/touch_event_converter_evdev_unittest.cc', 298 'ozone/evdev/touch_event_converter_evdev_unittest.cc',
299 'platform/platform_event_source_unittest.cc',
285 'x/events_x_unittest.cc', 300 'x/events_x_unittest.cc',
286 ], 301 ],
287 'conditions': [ 302 'conditions': [
288 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 303 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
289 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { 304 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
290 'dependencies': [ 305 'dependencies': [
291 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 306 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
292 ], 307 ],
293 }], 308 }],
294 # Exclude tests that rely on event_utils.h for platforms that do not 309 # Exclude tests that rely on event_utils.h for platforms that do not
(...skipping 26 matching lines...) Expand all
321 'variables': { 336 'variables': {
322 'test_suite_name': 'events_unittests', 337 'test_suite_name': 'events_unittests',
323 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un ittests<(SHARED_LIB_SUFFIX)', 338 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un ittests<(SHARED_LIB_SUFFIX)',
324 }, 339 },
325 'includes': [ '../../build/apk_test.gypi' ], 340 'includes': [ '../../build/apk_test.gypi' ],
326 }, 341 },
327 ], 342 ],
328 }], 343 }],
329 ], 344 ],
330 } 345 }
OLDNEW
« no previous file with comments | « no previous file | ui/events/platform/platform_event_dispatcher.h » ('j') | ui/events/platform/platform_event_dispatcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698