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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] | 232 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] |
233 } else { | 233 } else { |
234 sources += [ "gesture_detection/gesture_configuration_default.cc" ] | 234 sources += [ "gesture_detection/gesture_configuration_default.cc" ] |
235 } | 235 } |
236 } | 236 } |
237 | 237 |
238 source_set("test_support") { | 238 source_set("test_support") { |
239 sources = [ | 239 sources = [ |
240 "test/cocoa_test_event_utils.h", | 240 "test/cocoa_test_event_utils.h", |
241 "test/cocoa_test_event_utils.mm", | 241 "test/cocoa_test_event_utils.mm", |
| 242 "test/device_data_manager_test_api.h", |
242 "test/event_generator.cc", | 243 "test/event_generator.cc", |
243 "test/event_generator.h", | 244 "test/event_generator.h", |
244 "test/events_test_utils.cc", | 245 "test/events_test_utils.cc", |
245 "test/events_test_utils.h", | 246 "test/events_test_utils.h", |
246 "test/motion_event_test_utils.cc", | 247 "test/motion_event_test_utils.cc", |
247 "test/motion_event_test_utils.h", | 248 "test/motion_event_test_utils.h", |
248 "test/platform_event_waiter.cc", | 249 "test/platform_event_waiter.cc", |
249 "test/platform_event_waiter.h", | 250 "test/platform_event_waiter.h", |
250 "test/test_event_handler.cc", | 251 "test/test_event_handler.cc", |
251 "test/test_event_handler.h", | 252 "test/test_event_handler.h", |
(...skipping 27 matching lines...) Expand all Loading... |
279 if (use_x11) { | 280 if (use_x11) { |
280 sources += [ | 281 sources += [ |
281 "test/events_test_utils_x11.cc", | 282 "test/events_test_utils_x11.cc", |
282 "test/events_test_utils_x11.h", | 283 "test/events_test_utils_x11.h", |
283 ] | 284 ] |
284 deps += [ | 285 deps += [ |
285 "//ui/events/devices", | 286 "//ui/events/devices", |
286 "//ui/gfx/x", | 287 "//ui/gfx/x", |
287 ] | 288 ] |
288 } | 289 } |
| 290 |
| 291 if (use_x11 || use_ozone) { |
| 292 sources += [ "test/device_data_manager_test_api_impl.cc" ] |
| 293 } else { |
| 294 sources += [ "test/device_data_manager_test_api_stub.cc" ] |
| 295 } |
289 } | 296 } |
290 | 297 |
291 test("events_unittests") { | 298 test("events_unittests") { |
292 sources = [ | 299 sources = [ |
293 "android/scroller_unittest.cc", | 300 "android/scroller_unittest.cc", |
294 "cocoa/events_mac_unittest.mm", | 301 "cocoa/events_mac_unittest.mm", |
295 "devices/x11/device_data_manager_x11_unittest.cc", | 302 "devices/x11/device_data_manager_x11_unittest.cc", |
296 "event_dispatcher_unittest.cc", | 303 "event_dispatcher_unittest.cc", |
297 "event_processor_unittest.cc", | 304 "event_processor_unittest.cc", |
298 "event_rewriter_unittest.cc", | 305 "event_rewriter_unittest.cc", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 if (is_nacl) { | 379 if (is_nacl) { |
373 source_set("latency_info") { | 380 source_set("latency_info") { |
374 sources = [ | 381 sources = [ |
375 "ipc/latency_info_param_traits.cc", | 382 "ipc/latency_info_param_traits.cc", |
376 "ipc/latency_info_param_traits.h", | 383 "ipc/latency_info_param_traits.h", |
377 "latency_info.cc", | 384 "latency_info.cc", |
378 "latency_info.h", | 385 "latency_info.h", |
379 ] | 386 ] |
380 } | 387 } |
381 } | 388 } |
OLD | NEW |