OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//ui/base/ui_features.gni") | 8 import("//ui/base/ui_features.gni") |
9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 ] | 31 ] |
32 | 32 |
33 if (!is_ios) { | 33 if (!is_ios) { |
34 deps += [ "//ipc:param_traits" ] | 34 deps += [ "//ipc:param_traits" ] |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 source_set("event_constants") { | 38 source_set("event_constants") { |
39 sources = [ | 39 sources = [ |
40 "event_constants.h", | 40 "event_constants.h", |
| 41 "keycodes/keyboard_codes.h", |
41 ] | 42 ] |
42 } | 43 } |
43 | 44 |
44 component("events_base") { | 45 component("events_base") { |
45 sources = [ | 46 sources = [ |
46 "android/scroller.cc", | 47 "android/scroller.cc", |
47 "android/scroller.h", | 48 "android/scroller.h", |
48 "base_event_utils.cc", | 49 "base_event_utils.cc", |
49 "base_event_utils.h", | 50 "base_event_utils.h", |
50 "event_switches.cc", | 51 "event_switches.cc", |
51 "event_switches.h", | 52 "event_switches.h", |
52 "events_base_export.h", | 53 "events_base_export.h", |
53 "fraction_of_time_without_user_input_recorder.cc", | 54 "fraction_of_time_without_user_input_recorder.cc", |
54 "fraction_of_time_without_user_input_recorder.h", | 55 "fraction_of_time_without_user_input_recorder.h", |
55 "gesture_curve.h", | 56 "gesture_curve.h", |
56 "gesture_event_details.cc", | 57 "gesture_event_details.cc", |
57 "gesture_event_details.h", | 58 "gesture_event_details.h", |
58 "gestures/fling_curve.cc", | 59 "gestures/fling_curve.cc", |
59 "gestures/fling_curve.h", | 60 "gestures/fling_curve.h", |
60 "keycodes/dom_us_layout_data.h", | 61 "keycodes/dom_us_layout_data.h", |
61 "keycodes/keyboard_code_conversion.cc", | 62 "keycodes/keyboard_code_conversion.cc", |
62 "keycodes/keyboard_code_conversion.h", | 63 "keycodes/keyboard_code_conversion.h", |
63 "keycodes/keyboard_code_conversion_android.cc", | 64 "keycodes/keyboard_code_conversion_android.cc", |
64 "keycodes/keyboard_code_conversion_android.h", | 65 "keycodes/keyboard_code_conversion_android.h", |
65 "keycodes/keyboard_code_conversion_mac.h", | 66 "keycodes/keyboard_code_conversion_mac.h", |
66 "keycodes/keyboard_code_conversion_mac.mm", | 67 "keycodes/keyboard_code_conversion_mac.mm", |
67 "keycodes/keyboard_code_conversion_win.cc", | 68 "keycodes/keyboard_code_conversion_win.cc", |
68 "keycodes/keyboard_code_conversion_win.h", | 69 "keycodes/keyboard_code_conversion_win.h", |
69 "keycodes/keyboard_codes.h", | |
70 ] | 70 ] |
71 | 71 |
72 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 72 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
73 | 73 |
74 deps = [ | 74 deps = [ |
75 "//base/third_party/dynamic_annotations", | 75 "//base/third_party/dynamic_annotations", |
76 ] | 76 ] |
77 | 77 |
78 public_deps = [ | 78 public_deps = [ |
79 ":dom_keycode_converter", | 79 ":dom_keycode_converter", |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 generate_jar_jni("motionevent_jni_headers") { | 496 generate_jar_jni("motionevent_jni_headers") { |
497 jni_package = "ui" | 497 jni_package = "ui" |
498 classes = [ "android/view/MotionEvent.class" ] | 498 classes = [ "android/view/MotionEvent.class" ] |
499 } | 499 } |
500 | 500 |
501 generate_jar_jni("keyevent_jni_headers") { | 501 generate_jar_jni("keyevent_jni_headers") { |
502 jni_package = "ui" | 502 jni_package = "ui" |
503 classes = [ "android/view/KeyEvent.class" ] | 503 classes = [ "android/view/KeyEvent.class" ] |
504 } | 504 } |
505 } | 505 } |
OLD | NEW |