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

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

Issue 1405773004: Aura on Android: Making events work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_idle
Patch Set: Missing import. Created 5 years, 2 months 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 | « no previous file | ui/events/events.gyp » ('j') | ui/events/events.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 static_library("dom_keycode_converter") { 8 static_library("dom_keycode_converter") {
9 sources = [ 9 sources = [
10 "keycodes/dom/dom_code.h", 10 "keycodes/dom/dom_code.h",
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 if (!is_chromeos && is_linux) { 146 if (!is_chromeos && is_linux) {
147 sources += [ 147 sources += [
148 "linux/text_edit_command_auralinux.cc", 148 "linux/text_edit_command_auralinux.cc",
149 "linux/text_edit_command_auralinux.h", 149 "linux/text_edit_command_auralinux.h",
150 "linux/text_edit_key_bindings_delegate_auralinux.cc", 150 "linux/text_edit_key_bindings_delegate_auralinux.cc",
151 "linux/text_edit_key_bindings_delegate_auralinux.h", 151 "linux/text_edit_key_bindings_delegate_auralinux.h",
152 ] 152 ]
153 } 153 }
154 154
155 if (use_ozone || (is_android && use_aura)) {
156 sources += [ "events_default.cc" ]
157 }
158
155 if (use_ozone) { 159 if (use_ozone) {
156 sources += [ "ozone/events_ozone.cc" ] 160 sources += [
161 "ozone/events_ozone.cc",
162 "ozone/events_ozone.h",
163 ]
157 deps += [ "//ui/events/ozone:events_ozone_layout" ] 164 deps += [ "//ui/events/ozone:events_ozone_layout" ]
158 } 165 }
159 166
160 if (use_aura) { 167 if (use_aura) {
161 sources += [ 168 sources += [
162 "gestures/gesture_provider_aura.cc", 169 "gestures/gesture_provider_aura.cc",
163 "gestures/gesture_provider_aura.h", 170 "gestures/gesture_provider_aura.h",
164 "gestures/gesture_recognizer.h", 171 "gestures/gesture_recognizer.h",
165 "gestures/gesture_recognizer_impl.cc", 172 "gestures/gesture_recognizer_impl.cc",
166 "gestures/gesture_recognizer_impl.h", 173 "gestures/gesture_recognizer_impl.h",
167 "gestures/motion_event_aura.cc", 174 "gestures/motion_event_aura.cc",
168 "gestures/motion_event_aura.h", 175 "gestures/motion_event_aura.h",
169 ] 176 ]
170 } 177 }
171 178
172 if (is_win || is_mac || use_x11 || use_ozone) { 179 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) {
no sievers 2015/10/22 19:08:27 nit: now that this has grown very long, should we
mfomitchev 2015/10/22 20:34:36 I don't have a particularly strong opinion, but I
173 sources -= [ "events_stub.cc" ] 180 sources -= [ "events_stub.cc" ]
174 } 181 }
175 } 182 }
176 183
177 component("gesture_detection") { 184 component("gesture_detection") {
178 sources = [ 185 sources = [
179 "gesture_detection/bitset_32.h", 186 "gesture_detection/bitset_32.h",
180 "gesture_detection/filtered_gesture_provider.cc", 187 "gesture_detection/filtered_gesture_provider.cc",
181 "gesture_detection/filtered_gesture_provider.h", 188 "gesture_detection/filtered_gesture_provider.h",
182 "gesture_detection/gesture_configuration.cc", 189 "gesture_detection/gesture_configuration.cc",
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 ] 357 ]
351 358
352 if (!is_ios) { 359 if (!is_ios) {
353 sources += [ "gestures/blink/web_gesture_curve_impl_unittest.cc" ] 360 sources += [ "gestures/blink/web_gesture_curve_impl_unittest.cc" ]
354 deps += [ 361 deps += [
355 "//third_party/WebKit/public:blink_headers", 362 "//third_party/WebKit/public:blink_headers",
356 "//ui/events/gestures/blink", 363 "//ui/events/gestures/blink",
357 ] 364 ]
358 } 365 }
359 366
360 data_deps = [ "//third_party/mesa:osmesa" ] 367 data_deps = [
368 "//third_party/mesa:osmesa",
369 ]
361 370
362 include_dirs = [ "//testing/gmock/include" ] 371 include_dirs = [ "//testing/gmock/include" ]
363 372
364 if (use_x11) { 373 if (use_x11) {
365 sources += [ 374 sources += [
366 "devices/x11/device_data_manager_x11_unittest.cc", 375 "devices/x11/device_data_manager_x11_unittest.cc",
367 "x/events_x_unittest.cc", 376 "x/events_x_unittest.cc",
368 ] 377 ]
369 configs += [ "//build/config/linux:x11" ] 378 configs += [ "//build/config/linux:x11" ]
370 deps += [ "//ui/gfx/x" ] 379 deps += [ "//ui/gfx/x" ]
(...skipping 23 matching lines...) Expand all
394 ] 403 ]
395 } 404 }
396 405
397 if (use_aura) { 406 if (use_aura) {
398 sources += [ 407 sources += [
399 "gestures/gesture_provider_aura_unittest.cc", 408 "gestures/gesture_provider_aura_unittest.cc",
400 "gestures/motion_event_aura_unittest.cc", 409 "gestures/motion_event_aura_unittest.cc",
401 ] 410 ]
402 } 411 }
403 } 412 }
OLDNEW
« no previous file with comments | « no previous file | ui/events/events.gyp » ('j') | ui/events/events.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698