Chromium Code Reviews| 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/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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 160 if (use_aura) { | 160 if (use_aura) { |
| 161 sources += [ | 161 sources += [ |
| 162 "gestures/gesture_provider_aura.cc", | 162 "gestures/gesture_provider_aura.cc", |
| 163 "gestures/gesture_provider_aura.h", | 163 "gestures/gesture_provider_aura.h", |
| 164 "gestures/gesture_recognizer.h", | 164 "gestures/gesture_recognizer.h", |
| 165 "gestures/gesture_recognizer_impl.cc", | 165 "gestures/gesture_recognizer_impl.cc", |
| 166 "gestures/gesture_recognizer_impl.h", | 166 "gestures/gesture_recognizer_impl.h", |
| 167 "gestures/motion_event_aura.cc", | 167 "gestures/motion_event_aura.cc", |
| 168 "gestures/motion_event_aura.h", | 168 "gestures/motion_event_aura.h", |
| 169 ] | 169 ] |
| 170 if (is_android) { | |
| 171 sources += [ "ozone/events_ozone.cc" ] | |
|
sadrul
2015/10/15 19:54:21
Hm. This is unfortunate.
mfomitchev
2015/10/15 20:06:29
Are you just unhappy about name/location? We could
no sievers
2015/10/15 22:11:54
Yes that'd be nicer. Having it named '_ozone' I wo
mfomitchev
2015/10/22 15:01:17
Done.
| |
| 172 } | |
| 170 } | 173 } |
| 171 | 174 |
| 172 if (is_win || is_mac || use_x11 || use_ozone) { | 175 if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { |
| 173 sources -= [ "events_stub.cc" ] | 176 sources -= [ "events_stub.cc" ] |
| 174 } | 177 } |
| 175 } | 178 } |
| 176 | 179 |
| 177 component("gesture_detection") { | 180 component("gesture_detection") { |
| 178 sources = [ | 181 sources = [ |
| 179 "gesture_detection/bitset_32.h", | 182 "gesture_detection/bitset_32.h", |
| 180 "gesture_detection/filtered_gesture_provider.cc", | 183 "gesture_detection/filtered_gesture_provider.cc", |
| 181 "gesture_detection/filtered_gesture_provider.h", | 184 "gesture_detection/filtered_gesture_provider.h", |
| 182 "gesture_detection/gesture_configuration.cc", | 185 "gesture_detection/gesture_configuration.cc", |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 350 ] | 353 ] |
| 351 | 354 |
| 352 if (!is_ios) { | 355 if (!is_ios) { |
| 353 sources += [ "gestures/blink/web_gesture_curve_impl_unittest.cc" ] | 356 sources += [ "gestures/blink/web_gesture_curve_impl_unittest.cc" ] |
| 354 deps += [ | 357 deps += [ |
| 355 "//third_party/WebKit/public:blink_headers", | 358 "//third_party/WebKit/public:blink_headers", |
| 356 "//ui/events/gestures/blink", | 359 "//ui/events/gestures/blink", |
| 357 ] | 360 ] |
| 358 } | 361 } |
| 359 | 362 |
| 360 data_deps = [ "//third_party/mesa:osmesa" ] | 363 data_deps = [ |
| 364 "//third_party/mesa:osmesa", | |
| 365 ] | |
| 361 | 366 |
| 362 include_dirs = [ "//testing/gmock/include" ] | 367 include_dirs = [ "//testing/gmock/include" ] |
| 363 | 368 |
| 364 if (use_x11) { | 369 if (use_x11) { |
| 365 sources += [ | 370 sources += [ |
| 366 "devices/x11/device_data_manager_x11_unittest.cc", | 371 "devices/x11/device_data_manager_x11_unittest.cc", |
| 367 "x/events_x_unittest.cc", | 372 "x/events_x_unittest.cc", |
| 368 ] | 373 ] |
| 369 configs += [ "//build/config/linux:x11" ] | 374 configs += [ "//build/config/linux:x11" ] |
| 370 deps += [ "//ui/gfx/x" ] | 375 deps += [ "//ui/gfx/x" ] |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 394 ] | 399 ] |
| 395 } | 400 } |
| 396 | 401 |
| 397 if (use_aura) { | 402 if (use_aura) { |
| 398 sources += [ | 403 sources += [ |
| 399 "gestures/gesture_provider_aura_unittest.cc", | 404 "gestures/gesture_provider_aura_unittest.cc", |
| 400 "gestures/motion_event_aura_unittest.cc", | 405 "gestures/motion_event_aura_unittest.cc", |
| 401 ] | 406 ] |
| 402 } | 407 } |
| 403 } | 408 } |
| OLD | NEW |