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

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

Issue 1417173008: Move MotionEventAndroid to ui/events/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Copyright date fix. Created 5 years, 1 month 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
« no previous file with comments | « ui/events/android/motion_event_android_unittest.cc ('k') | no next file » | 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 'linux/text_edit_command_auralinux.h', 190 'linux/text_edit_command_auralinux.h',
191 'linux/text_edit_key_bindings_delegate_auralinux.cc', 191 'linux/text_edit_key_bindings_delegate_auralinux.cc',
192 'linux/text_edit_key_bindings_delegate_auralinux.h', 192 'linux/text_edit_key_bindings_delegate_auralinux.h',
193 ], 193 ],
194 }], 194 }],
195 ['use_ozone==1', { 195 ['use_ozone==1', {
196 'dependencies': [ 196 'dependencies': [
197 'ozone/events_ozone.gyp:events_ozone_layout', 197 'ozone/events_ozone.gyp:events_ozone_layout',
198 ], 198 ],
199 }], 199 }],
200 ['OS=="android"', {
201 'sources': [
202 'android/events_jni_registrar.cc',
203 'android/events_jni_registrar.h',
204 'android/motion_event_android.cc',
205 'android/motion_event_android.h',
206 ],
207 'dependencies': [
208 'motionevent_jni_headers',
209 ],
210 }],
200 ], 211 ],
201 }, 212 },
202 { 213 {
203 # GN version: //ui/events/blink 214 # GN version: //ui/events/blink
204 'target_name': 'blink', 215 'target_name': 'blink',
205 'type': 'static_library', 216 'type': 'static_library',
206 'dependencies': [ 217 'dependencies': [
207 '../../third_party/WebKit/public/blink_headers.gyp:blink_headers', 218 '../../third_party/WebKit/public/blink_headers.gyp:blink_headers',
208 '../gfx/gfx.gyp:gfx_geometry', 219 '../gfx/gfx.gyp:gfx_geometry',
209 'events', 220 'events',
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 ], 483 ],
473 }], 484 }],
474 # Exclude tests that rely on event_utils.h for platforms that do not 485 # Exclude tests that rely on event_utils.h for platforms that do not
475 # provide native cracking, i.e., platforms that use events_stub.cc. 486 # provide native cracking, i.e., platforms that use events_stub.cc.
476 ['OS!="win" and use_x11!=1 and use_ozone!=1', { 487 ['OS!="win" and use_x11!=1 and use_ozone!=1', {
477 'sources!': [ 488 'sources!': [
478 'event_unittest.cc', 489 'event_unittest.cc',
479 ], 490 ],
480 }], 491 }],
481 ['OS == "android"', { 492 ['OS == "android"', {
493 'sources': [
494 'android/motion_event_android_unittest.cc',
495 ],
482 'dependencies': [ 496 'dependencies': [
483 '../../testing/android/native_test.gyp:native_test_native_code', 497 '../../testing/android/native_test.gyp:native_test_native_code',
484 ], 498 ],
485 }], 499 }],
486 ], 500 ],
487 }, 501 },
488 ], 502 ],
489 'conditions': [ 503 'conditions': [
490 ['OS == "android"', { 504 ['OS == "android"', {
491 'targets': [ 505 'targets': [
492 { 506 {
507 'target_name': 'motionevent_jni_headers',
508 'type': 'none',
509 'variables': {
510 'jni_gen_package': 'ui',
511 'input_java_class': 'android/view/MotionEvent.class',
512 },
513 'includes': [ '../../build/jar_file_jni_generator.gypi' ],
514 },
515 {
493 'target_name': 'events_unittests_apk', 516 'target_name': 'events_unittests_apk',
494 'type': 'none', 517 'type': 'none',
495 'dependencies': [ 518 'dependencies': [
496 'events_unittests', 519 'events_unittests',
497 ], 520 ],
498 'variables': { 521 'variables': {
499 'test_suite_name': 'events_unittests', 522 'test_suite_name': 'events_unittests',
500 }, 523 },
501 'includes': [ '../../build/apk_test.gypi' ], 524 'includes': [ '../../build/apk_test.gypi' ],
502 }, 525 },
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 'dependencies': [ 563 'dependencies': [
541 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 564 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
542 ], 565 ],
543 }], 566 }],
544 ], 567 ],
545 }, 568 },
546 ], 569 ],
547 }], 570 }],
548 ], 571 ],
549 } 572 }
OLDNEW
« no previous file with comments | « ui/events/android/motion_event_android_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698