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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 } | 289 } |
290 | 290 |
291 if (use_x11 || use_ozone) { | 291 if (use_x11 || use_ozone) { |
292 sources += [ "test/device_data_manager_test_api_impl.cc" ] | 292 sources += [ "test/device_data_manager_test_api_impl.cc" ] |
293 deps += [ "//ui/events/devices" ] | 293 deps += [ "//ui/events/devices" ] |
294 } else { | 294 } else { |
295 sources += [ "test/device_data_manager_test_api_stub.cc" ] | 295 sources += [ "test/device_data_manager_test_api_stub.cc" ] |
296 } | 296 } |
297 } | 297 } |
298 | 298 |
| 299 # TODO(GYP): Delete this after we've converted everything to GN. |
| 300 # The _run targets exist only for compatibility w/ GYP. |
| 301 group("events_unittests_run") { |
| 302 testonly = true |
| 303 deps = [ |
| 304 ":events_unittests", |
| 305 ] |
| 306 } |
| 307 |
299 test("events_unittests") { | 308 test("events_unittests") { |
300 sources = [ | 309 sources = [ |
301 "android/scroller_unittest.cc", | 310 "android/scroller_unittest.cc", |
302 "cocoa/events_mac_unittest.mm", | 311 "cocoa/events_mac_unittest.mm", |
303 "event_dispatcher_unittest.cc", | 312 "event_dispatcher_unittest.cc", |
304 "event_processor_unittest.cc", | 313 "event_processor_unittest.cc", |
305 "event_rewriter_unittest.cc", | 314 "event_rewriter_unittest.cc", |
306 "event_unittest.cc", | 315 "event_unittest.cc", |
307 "gesture_detection/bitset_32_unittest.cc", | 316 "gesture_detection/bitset_32_unittest.cc", |
308 "gesture_detection/filtered_gesture_provider_unittest.cc", | 317 "gesture_detection/filtered_gesture_provider_unittest.cc", |
(...skipping 27 matching lines...) Expand all Loading... |
336 ] | 345 ] |
337 | 346 |
338 if (!is_ios) { | 347 if (!is_ios) { |
339 sources += [ "gestures/blink/web_gesture_curve_impl_unittest.cc" ] | 348 sources += [ "gestures/blink/web_gesture_curve_impl_unittest.cc" ] |
340 deps += [ | 349 deps += [ |
341 "//third_party/WebKit/public:blink_headers", | 350 "//third_party/WebKit/public:blink_headers", |
342 "//ui/events/gestures/blink", | 351 "//ui/events/gestures/blink", |
343 ] | 352 ] |
344 } | 353 } |
345 | 354 |
| 355 data_deps = [ "//third_party/mesa:osmesa" ] |
| 356 |
346 include_dirs = [ "//testing/gmock/include" ] | 357 include_dirs = [ "//testing/gmock/include" ] |
347 | 358 |
348 if (use_x11) { | 359 if (use_x11) { |
349 sources += [ | 360 sources += [ |
350 "devices/x11/device_data_manager_x11_unittest.cc", | 361 "devices/x11/device_data_manager_x11_unittest.cc", |
351 "x/events_x_unittest.cc", | 362 "x/events_x_unittest.cc", |
352 ] | 363 ] |
353 configs += [ "//build/config/linux:x11" ] | 364 configs += [ "//build/config/linux:x11" ] |
354 deps += [ "//ui/gfx/x" ] | 365 deps += [ "//ui/gfx/x" ] |
355 } | 366 } |
(...skipping 26 matching lines...) Expand all Loading... |
382 if (is_nacl) { | 393 if (is_nacl) { |
383 source_set("latency_info") { | 394 source_set("latency_info") { |
384 sources = [ | 395 sources = [ |
385 "ipc/latency_info_param_traits.cc", | 396 "ipc/latency_info_param_traits.cc", |
386 "ipc/latency_info_param_traits.h", | 397 "ipc/latency_info_param_traits.h", |
387 "latency_info.cc", | 398 "latency_info.cc", |
388 "latency_info.h", | 399 "latency_info.h", |
389 ] | 400 ] |
390 } | 401 } |
391 } | 402 } |
OLD | NEW |