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

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

Issue 322893005: MacViews: Add WidgetEventGenerator to abstract platform-specific event generation for tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -> event_generator_delegate_mac.mm, comment fixes Created 6 years, 5 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 'type': 'static_library', 230 'type': 'static_library',
231 'dependencies': [ 231 'dependencies': [
232 '<(DEPTH)/skia/skia.gyp:skia', 232 '<(DEPTH)/skia/skia.gyp:skia',
233 'events', 233 'events',
234 'events_base', 234 'events_base',
235 'platform/events_platform.gyp:events_platform', 235 'platform/events_platform.gyp:events_platform',
236 ], 236 ],
237 'sources': [ 237 'sources': [
238 'test/cocoa_test_event_utils.h', 238 'test/cocoa_test_event_utils.h',
239 'test/cocoa_test_event_utils.mm', 239 'test/cocoa_test_event_utils.mm',
240 'test/event_generator.cc',
241 'test/event_generator.h',
240 'test/events_test_utils.cc', 242 'test/events_test_utils.cc',
241 'test/events_test_utils.h', 243 'test/events_test_utils.h',
242 'test/events_test_utils_x11.cc', 244 'test/events_test_utils_x11.cc',
243 'test/events_test_utils_x11.h', 245 'test/events_test_utils_x11.h',
244 'test/mock_motion_event.cc', 246 'test/mock_motion_event.cc',
245 'test/mock_motion_event.h', 247 'test/mock_motion_event.h',
246 'test/platform_event_waiter.cc', 248 'test/platform_event_waiter.cc',
247 'test/platform_event_waiter.h', 249 'test/platform_event_waiter.h',
248 'test/test_event_handler.cc', 250 'test/test_event_handler.cc',
249 'test/test_event_handler.h', 251 'test/test_event_handler.h',
250 'test/test_event_processor.cc', 252 'test/test_event_processor.cc',
251 'test/test_event_processor.h', 253 'test/test_event_processor.h',
252 'test/test_event_target.cc', 254 'test/test_event_target.cc',
253 'test/test_event_target.h', 255 'test/test_event_target.h',
254 ], 256 ],
255 'conditions': [ 257 'conditions': [
256 ['use_x11==1', { 258 ['use_x11==1', {
257 'dependencies': [ 259 'dependencies': [
258 '../../build/linux/system.gyp:x11', 260 '../../build/linux/system.gyp:x11',
259 '../gfx/x/gfx_x11.gyp:gfx_x11', 261 '../gfx/x/gfx_x11.gyp:gfx_x11',
260 ], 262 ],
261 }], 263 }],
262 ['OS=="ios"', { 264 ['OS=="ios"', {
263 # The cocoa files don't apply to iOS. 265 # The cocoa files don't apply to iOS.
264 'sources/': [['exclude', 'cocoa']], 266 'sources/': [['exclude', 'cocoa']],
265 }], 267 }],
268 ['OS == "android"', {
269 'sources!': [
270 # Event generator not yet ported to Android.
271 'test/event_generator.cc',
272 'test/event_generator.h',
273 ],
274 }],
266 ], 275 ],
267 }, 276 },
268 { 277 {
269 'target_name': 'events_unittests', 278 'target_name': 'events_unittests',
270 'type': '<(gtest_target_type)', 279 'type': '<(gtest_target_type)',
271 'dependencies': [ 280 'dependencies': [
272 '<(DEPTH)/base/base.gyp:base', 281 '<(DEPTH)/base/base.gyp:base',
273 '<(DEPTH)/base/base.gyp:run_all_unittests', 282 '<(DEPTH)/base/base.gyp:run_all_unittests',
274 '<(DEPTH)/base/base.gyp:test_support_base', 283 '<(DEPTH)/base/base.gyp:test_support_base',
275 '<(DEPTH)/skia/skia.gyp:skia', 284 '<(DEPTH)/skia/skia.gyp:skia',
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 ], 358 ],
350 'variables': { 359 'variables': {
351 'test_suite_name': 'events_unittests', 360 'test_suite_name': 'events_unittests',
352 }, 361 },
353 'includes': [ '../../build/apk_test.gypi' ], 362 'includes': [ '../../build/apk_test.gypi' ],
354 }, 363 },
355 ], 364 ],
356 }], 365 }],
357 ], 366 ],
358 } 367 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698