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", |
(...skipping 10 matching lines...) Expand all Loading... |
61 "gestures/fling_curve.h", | 62 "gestures/fling_curve.h", |
62 "keycodes/dom_us_layout_data.h", | 63 "keycodes/dom_us_layout_data.h", |
63 "keycodes/keyboard_code_conversion.cc", | 64 "keycodes/keyboard_code_conversion.cc", |
64 "keycodes/keyboard_code_conversion.h", | 65 "keycodes/keyboard_code_conversion.h", |
65 "keycodes/keyboard_code_conversion_android.cc", | 66 "keycodes/keyboard_code_conversion_android.cc", |
66 "keycodes/keyboard_code_conversion_android.h", | 67 "keycodes/keyboard_code_conversion_android.h", |
67 "keycodes/keyboard_code_conversion_mac.h", | 68 "keycodes/keyboard_code_conversion_mac.h", |
68 "keycodes/keyboard_code_conversion_mac.mm", | 69 "keycodes/keyboard_code_conversion_mac.mm", |
69 "keycodes/keyboard_code_conversion_win.cc", | 70 "keycodes/keyboard_code_conversion_win.cc", |
70 "keycodes/keyboard_code_conversion_win.h", | 71 "keycodes/keyboard_code_conversion_win.h", |
71 "keycodes/keyboard_codes.h", | |
72 ] | 72 ] |
73 | 73 |
74 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 74 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
75 | 75 |
76 deps = [ | 76 deps = [ |
77 "//base/third_party/dynamic_annotations", | 77 "//base/third_party/dynamic_annotations", |
78 ] | 78 ] |
79 | 79 |
80 public_deps = [ | 80 public_deps = [ |
81 ":dom_keycode_converter", | 81 ":dom_keycode_converter", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 deps = [ | 148 deps = [ |
149 ":dom_keycode_converter", | 149 ":dom_keycode_converter", |
150 ":gesture_detection", | 150 ":gesture_detection", |
151 "//base/third_party/dynamic_annotations", | 151 "//base/third_party/dynamic_annotations", |
152 "//skia", | 152 "//skia", |
153 "//ui/display", | 153 "//ui/display", |
154 "//ui/gfx", | 154 "//ui/gfx", |
155 "//ui/gfx/geometry", | 155 "//ui/gfx/geometry", |
156 ] | 156 ] |
157 | 157 |
| 158 public_configs = [ |
| 159 "//skia:skia_config", |
| 160 ] |
| 161 |
158 if (use_x11) { | 162 if (use_x11) { |
159 sources += [ "x/events_x.cc" ] | 163 sources += [ "x/events_x.cc" ] |
160 configs += [ "//build/config/linux:x11" ] | 164 configs += [ "//build/config/linux:x11" ] |
161 deps += [ | 165 deps += [ |
162 "//ui/events/devices", | 166 "//ui/events/devices", |
163 "//ui/events/devices/x11", | 167 "//ui/events/devices/x11", |
164 "//ui/events/x", | 168 "//ui/events/x", |
165 "//ui/gfx/x", | 169 "//ui/gfx/x", |
166 ] | 170 ] |
167 } | 171 } |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 generate_jar_jni("motionevent_jni_headers") { | 506 generate_jar_jni("motionevent_jni_headers") { |
503 jni_package = "ui" | 507 jni_package = "ui" |
504 classes = [ "android/view/MotionEvent.class" ] | 508 classes = [ "android/view/MotionEvent.class" ] |
505 } | 509 } |
506 | 510 |
507 generate_jar_jni("keyevent_jni_headers") { | 511 generate_jar_jni("keyevent_jni_headers") { |
508 jni_package = "ui" | 512 jni_package = "ui" |
509 classes = [ "android/view/KeyEvent.class" ] | 513 classes = [ "android/view/KeyEvent.class" ] |
510 } | 514 } |
511 } | 515 } |
OLD | NEW |