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

Side by Side Diff: ui/events/BUILD.gn

Issue 1430623004: blimp: Add support for input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) {
9 import("//build/config/android/rules.gni")
10 }
11
8 static_library("dom_keycode_converter") { 12 static_library("dom_keycode_converter") {
9 sources = [ 13 sources = [
10 "keycodes/dom/dom_code.h", 14 "keycodes/dom/dom_code.h",
11 "keycodes/dom/dom_key.h", 15 "keycodes/dom/dom_key.h",
12 "keycodes/dom/dom_key_data.inc", 16 "keycodes/dom/dom_key_data.inc",
13 "keycodes/dom/keycode_converter.cc", 17 "keycodes/dom/keycode_converter.cc",
14 "keycodes/dom/keycode_converter.h", 18 "keycodes/dom/keycode_converter.h",
15 "keycodes/dom/keycode_converter_data.inc", 19 "keycodes/dom/keycode_converter_data.inc",
16 ] 20 ]
17 21
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "gestures/gesture_recognizer_impl.cc", 171 "gestures/gesture_recognizer_impl.cc",
168 "gestures/gesture_recognizer_impl.h", 172 "gestures/gesture_recognizer_impl.h",
169 "gestures/motion_event_aura.cc", 173 "gestures/motion_event_aura.cc",
170 "gestures/motion_event_aura.h", 174 "gestures/motion_event_aura.h",
171 ] 175 ]
172 } 176 }
173 177
174 if (is_win || is_mac || use_x11 || use_ozone) { 178 if (is_win || is_mac || use_x11 || use_ozone) {
175 sources -= [ "events_stub.cc" ] 179 sources -= [ "events_stub.cc" ]
176 } 180 }
181
182 if (is_android) {
183 sources += [
184 "android/motion_event_android.cc",
185 "android/motion_event_android.h",
186 "android/events_jni_registrar.cc",
187 "android/events_jni_registrar.h",
188 ]
189 deps += [ ":motionevent_jni_headers" ]
190 }
177 } 191 }
178 192
179 component("gesture_detection") { 193 component("gesture_detection") {
180 sources = [ 194 sources = [
181 "gesture_detection/bitset_32.h", 195 "gesture_detection/bitset_32.h",
182 "gesture_detection/filtered_gesture_provider.cc", 196 "gesture_detection/filtered_gesture_provider.cc",
183 "gesture_detection/filtered_gesture_provider.h", 197 "gesture_detection/filtered_gesture_provider.h",
184 "gesture_detection/gesture_configuration.cc", 198 "gesture_detection/gesture_configuration.cc",
185 "gesture_detection/gesture_configuration.h", 199 "gesture_detection/gesture_configuration.h",
186 "gesture_detection/gesture_detection_export.h", 200 "gesture_detection/gesture_detection_export.h",
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 "//ui/events/ozone:events_ozone_layout", 413 "//ui/events/ozone:events_ozone_layout",
400 ] 414 ]
401 } 415 }
402 416
403 if (use_aura) { 417 if (use_aura) {
404 sources += [ 418 sources += [
405 "gestures/gesture_provider_aura_unittest.cc", 419 "gestures/gesture_provider_aura_unittest.cc",
406 "gestures/motion_event_aura_unittest.cc", 420 "gestures/motion_event_aura_unittest.cc",
407 ] 421 ]
408 } 422 }
423
424 if (is_android) {
425 sources += [ "android/motion_event_android_unittest.cc" ]
426 }
409 } 427 }
428
429 if (is_android) {
430 generate_jar_jni("motionevent_jni_headers") {
431 jni_package = "ui"
432 classes = [ "android/view/MotionEvent.class" ]
433 }
434 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698