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 | 6 |
| 7 static_library("dom4_keycode_converter") { | 7 static_library("dom4_keycode_converter") { |
| 8 sources = [ | 8 sources = [ |
| 9 "keycodes/dom4/keycode_converter.cc", | 9 "keycodes/dom4/keycode_converter.cc", |
| 10 "keycodes/dom4/keycode_converter.h", | 10 "keycodes/dom4/keycode_converter.h", |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 261 if (use_x11) { | 261 if (use_x11) { |
| 262 configs += [ "//build/config/linux:x11" ] | 262 configs += [ "//build/config/linux:x11" ] |
| 263 } else { | 263 } else { |
| 264 sources -= [ | 264 sources -= [ |
| 265 "test/events_test_utils_x11.cc", | 265 "test/events_test_utils_x11.cc", |
| 266 "test/events_test_utils_x11.h", | 266 "test/events_test_utils_x11.h", |
| 267 ] | 267 ] |
| 268 } | 268 } |
| 269 } | 269 } |
| 270 | 270 |
| 271 static_library("mock_motion_event") { | |
| 272 sources = [ | |
|
jdduke (slow)
2014/06/25 14:54:19
I think if we move mock_motion_event to ui/events/
Changwan Ryu
2014/06/26 00:05:27
Done.
| |
| 273 "gesture_detection/mock_motion_event.h", | |
| 274 "gesture_detection/mock_motion_event.cc", | |
| 275 ] | |
| 276 | |
| 277 deps = [ | |
| 278 "//base", | |
| 279 ":gesture_detection", | |
| 280 ] | |
| 281 } | |
| 282 | |
| 271 test("events_unittests") { | 283 test("events_unittests") { |
| 272 sources = [ | 284 sources = [ |
| 273 "cocoa/events_mac_unittest.mm", | 285 "cocoa/events_mac_unittest.mm", |
| 274 "event_dispatcher_unittest.cc", | 286 "event_dispatcher_unittest.cc", |
| 275 "event_processor_unittest.cc", | 287 "event_processor_unittest.cc", |
| 276 "event_rewriter_unittest.cc", | 288 "event_rewriter_unittest.cc", |
| 277 "event_unittest.cc", | 289 "event_unittest.cc", |
| 278 "gestures/velocity_calculator_unittest.cc", | 290 "gestures/velocity_calculator_unittest.cc", |
| 279 "gesture_detection/bitset_32_unittest.cc", | 291 "gesture_detection/bitset_32_unittest.cc", |
| 280 "gesture_detection/gesture_provider_unittest.cc", | 292 "gesture_detection/gesture_provider_unittest.cc", |
| 281 "gesture_detection/mock_motion_event.h", | |
| 282 "gesture_detection/mock_motion_event.cc", | |
| 283 "gesture_detection/velocity_tracker_unittest.cc", | 293 "gesture_detection/velocity_tracker_unittest.cc", |
| 284 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 294 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
| 285 "keycodes/dom4/keycode_converter_unittest.cc", | 295 "keycodes/dom4/keycode_converter_unittest.cc", |
| 286 "latency_info_unittest.cc", | 296 "latency_info_unittest.cc", |
| 287 "platform/platform_event_source_unittest.cc", | 297 "platform/platform_event_source_unittest.cc", |
| 288 "x/events_x_unittest.cc", | 298 "x/events_x_unittest.cc", |
| 289 ] | 299 ] |
| 290 | 300 |
| 291 if (!use_x11) { | 301 if (!use_x11) { |
| 292 sources -= [ | 302 sources -= [ |
| 293 "x/events_x_unittest.cc", | 303 "x/events_x_unittest.cc", |
| 294 ] | 304 ] |
| 295 } | 305 } |
| 296 | 306 |
| 297 if (use_ozone) { | 307 if (use_ozone) { |
| 298 sources += [ | 308 sources += [ |
| 299 "ozone/evdev/key_event_converter_evdev_unittest.cc", | 309 "ozone/evdev/key_event_converter_evdev_unittest.cc", |
| 300 "ozone/evdev/touch_event_converter_evdev_unittest.cc", | 310 "ozone/evdev/touch_event_converter_evdev_unittest.cc", |
| 301 ] | 311 ] |
| 302 } | 312 } |
| 303 | 313 |
| 304 deps = [ | 314 deps = [ |
| 305 ":events", | 315 ":events", |
| 306 ":events_base", | 316 ":events_base", |
| 307 ":events_test_support", | 317 ":events_test_support", |
| 308 ":gesture_detection", | 318 ":gesture_detection", |
| 319 ":mock_motion_event", | |
| 309 "//base", | 320 "//base", |
| 310 "//base/test:run_all_unittests", | 321 "//base/test:run_all_unittests", |
| 311 "//skia", | 322 "//skia", |
| 312 "//testing/gtest", | 323 "//testing/gtest", |
| 313 "//ui/gfx:gfx_test_support", | 324 "//ui/gfx:gfx_test_support", |
| 314 ] | 325 ] |
| 315 } | 326 } |
| OLD | NEW |