OLD | NEW |
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 'linux/text_edit_command_auralinux.h', | 185 'linux/text_edit_command_auralinux.h', |
186 'linux/text_edit_key_bindings_delegate_auralinux.cc', | 186 'linux/text_edit_key_bindings_delegate_auralinux.cc', |
187 'linux/text_edit_key_bindings_delegate_auralinux.h', | 187 'linux/text_edit_key_bindings_delegate_auralinux.h', |
188 ], | 188 ], |
189 }], | 189 }], |
190 ['use_ozone==1', { | 190 ['use_ozone==1', { |
191 'dependencies': [ | 191 'dependencies': [ |
192 'ozone/events_ozone.gyp:events_ozone_layout', | 192 'ozone/events_ozone.gyp:events_ozone_layout', |
193 ], | 193 ], |
194 }], | 194 }], |
| 195 ['OS=="android"', { |
| 196 'sources': [ |
| 197 'android/motion_event_android.cc', |
| 198 'android/motion_event_android.h', |
| 199 'android/events_jni_registrar.cc', |
| 200 'android/events_jni_registrar.h', |
| 201 ], |
| 202 'dependencies': [ |
| 203 'motionevent_jni_headers', |
| 204 ], |
| 205 }], |
195 ], | 206 ], |
196 }, | 207 }, |
197 { | 208 { |
198 # GN version: //ui/events/blink | 209 # GN version: //ui/events/blink |
199 'target_name': 'blink', | 210 'target_name': 'blink', |
200 'type': 'static_library', | 211 'type': 'static_library', |
201 'dependencies': [ | 212 'dependencies': [ |
202 '../../third_party/WebKit/public/blink_headers.gyp:blink_headers', | 213 '../../third_party/WebKit/public/blink_headers.gyp:blink_headers', |
203 '../gfx/gfx.gyp:gfx_geometry', | 214 '../gfx/gfx.gyp:gfx_geometry', |
204 'events', | 215 'events', |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 ], | 478 ], |
468 }], | 479 }], |
469 # Exclude tests that rely on event_utils.h for platforms that do not | 480 # Exclude tests that rely on event_utils.h for platforms that do not |
470 # provide native cracking, i.e., platforms that use events_stub.cc. | 481 # provide native cracking, i.e., platforms that use events_stub.cc. |
471 ['OS!="win" and use_x11!=1 and use_ozone!=1', { | 482 ['OS!="win" and use_x11!=1 and use_ozone!=1', { |
472 'sources!': [ | 483 'sources!': [ |
473 'event_unittest.cc', | 484 'event_unittest.cc', |
474 ], | 485 ], |
475 }], | 486 }], |
476 ['OS == "android"', { | 487 ['OS == "android"', { |
| 488 'sources': [ |
| 489 'android/motion_event_android_unittest.cc', |
| 490 ], |
477 'dependencies': [ | 491 'dependencies': [ |
478 '../../testing/android/native_test.gyp:native_test_native_code', | 492 '../../testing/android/native_test.gyp:native_test_native_code', |
479 ], | 493 ], |
480 }], | 494 }], |
481 ], | 495 ], |
482 }, | 496 }, |
483 ], | 497 ], |
484 'conditions': [ | 498 'conditions': [ |
485 ['OS == "android"', { | 499 ['OS == "android"', { |
486 'targets': [ | 500 'targets': [ |
487 { | 501 { |
| 502 'target_name': 'motionevent_jni_headers', |
| 503 'type': 'none', |
| 504 'variables': { |
| 505 'jni_gen_package': 'ui', |
| 506 'input_java_class': 'android/view/MotionEvent.class', |
| 507 }, |
| 508 'includes': [ '../../build/jar_file_jni_generator.gypi' ], |
| 509 }, |
| 510 { |
488 'target_name': 'events_unittests_apk', | 511 'target_name': 'events_unittests_apk', |
489 'type': 'none', | 512 'type': 'none', |
490 'dependencies': [ | 513 'dependencies': [ |
491 'events_unittests', | 514 'events_unittests', |
492 ], | 515 ], |
493 'variables': { | 516 'variables': { |
494 'test_suite_name': 'events_unittests', | 517 'test_suite_name': 'events_unittests', |
495 }, | 518 }, |
496 'includes': [ '../../build/apk_test.gypi' ], | 519 'includes': [ '../../build/apk_test.gypi' ], |
497 }, | 520 }, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 'dependencies': [ | 558 'dependencies': [ |
536 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 559 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
537 ], | 560 ], |
538 }], | 561 }], |
539 ], | 562 ], |
540 }, | 563 }, |
541 ], | 564 ], |
542 }], | 565 }], |
543 ], | 566 ], |
544 } | 567 } |
OLD | NEW |