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

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: tot-merge 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
« no previous file with comments | « no previous file | ui/events/platform/platform_event_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 'gesture_detection/bitset_32_unittest.cc', 291 'gesture_detection/bitset_32_unittest.cc',
278 'gesture_detection/gesture_provider_unittest.cc', 292 'gesture_detection/gesture_provider_unittest.cc',
279 'gesture_detection/mock_motion_event.h', 293 'gesture_detection/mock_motion_event.h',
280 'gesture_detection/mock_motion_event.cc', 294 'gesture_detection/mock_motion_event.cc',
281 'gesture_detection/velocity_tracker_unittest.cc', 295 'gesture_detection/velocity_tracker_unittest.cc',
282 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', 296 'gesture_detection/touch_disposition_gesture_filter_unittest.cc',
283 'keycodes/dom4/keycode_converter_unittest.cc', 297 'keycodes/dom4/keycode_converter_unittest.cc',
284 'latency_info_unittest.cc', 298 'latency_info_unittest.cc',
285 'ozone/evdev/key_event_converter_evdev_unittest.cc', 299 'ozone/evdev/key_event_converter_evdev_unittest.cc',
286 'ozone/evdev/touch_event_converter_evdev_unittest.cc', 300 'ozone/evdev/touch_event_converter_evdev_unittest.cc',
301 'platform/platform_event_source_unittest.cc',
287 'x/events_x_unittest.cc', 302 'x/events_x_unittest.cc',
288 ], 303 ],
289 'conditions': [ 304 'conditions': [
290 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 305 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
291 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { 306 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
292 'dependencies': [ 307 'dependencies': [
293 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 308 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
294 ], 309 ],
295 }], 310 }],
296 # Exclude tests that rely on event_utils.h for platforms that do not 311 # Exclude tests that rely on event_utils.h for platforms that do not
(...skipping 26 matching lines...) Expand all
323 'variables': { 338 'variables': {
324 'test_suite_name': 'events_unittests', 339 'test_suite_name': 'events_unittests',
325 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un ittests<(SHARED_LIB_SUFFIX)', 340 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un ittests<(SHARED_LIB_SUFFIX)',
326 }, 341 },
327 'includes': [ '../../build/apk_test.gypi' ], 342 'includes': [ '../../build/apk_test.gypi' ],
328 }, 343 },
329 ], 344 ],
330 }], 345 }],
331 ], 346 ],
332 } 347 }
OLDNEW
« no previous file with comments | « no previous file | ui/events/platform/platform_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698