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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
307 "event_unittest.cc", | 307 "event_unittest.cc", |
308 "gesture_detection/bitset_32_unittest.cc", | 308 "gesture_detection/bitset_32_unittest.cc", |
309 "gesture_detection/filtered_gesture_provider_unittest.cc", | 309 "gesture_detection/filtered_gesture_provider_unittest.cc", |
310 "gesture_detection/gesture_event_data_packet_unittest.cc", | 310 "gesture_detection/gesture_event_data_packet_unittest.cc", |
311 "gesture_detection/gesture_provider_unittest.cc", | 311 "gesture_detection/gesture_provider_unittest.cc", |
312 "gesture_detection/motion_event_buffer_unittest.cc", | 312 "gesture_detection/motion_event_buffer_unittest.cc", |
313 "gesture_detection/motion_event_generic_unittest.cc", | 313 "gesture_detection/motion_event_generic_unittest.cc", |
314 "gesture_detection/snap_scroll_controller_unittest.cc", | 314 "gesture_detection/snap_scroll_controller_unittest.cc", |
315 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 315 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
316 "gesture_detection/velocity_tracker_unittest.cc", | 316 "gesture_detection/velocity_tracker_unittest.cc", |
317 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 317 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
sadrul
2015/07/23 15:29:10
Do you not need to exclude this file on ios?
sdefresne
2015/07/25 18:04:31
Good catch, thank you.
| |
318 "gestures/fling_curve_unittest.cc", | 318 "gestures/fling_curve_unittest.cc", |
319 "keycodes/dom/keycode_converter_unittest.cc", | 319 "keycodes/dom/keycode_converter_unittest.cc", |
320 "keycodes/keyboard_code_conversion_unittest.cc", | 320 "keycodes/keyboard_code_conversion_unittest.cc", |
321 "latency_info_unittest.cc", | 321 "latency_info_unittest.cc", |
322 "platform/platform_event_source_unittest.cc", | 322 "platform/platform_event_source_unittest.cc", |
323 "x/events_x_unittest.cc", | 323 "x/events_x_unittest.cc", |
324 ] | 324 ] |
325 | 325 |
326 deps = [ | 326 deps = [ |
327 ":dom_keycode_converter", | 327 ":dom_keycode_converter", |
328 ":events", | 328 ":events", |
329 ":events_base", | 329 ":events_base", |
330 ":gesture_detection", | 330 ":gesture_detection", |
331 ":test_support", | 331 ":test_support", |
332 "//base", | 332 "//base", |
333 "//base/test:run_all_unittests", | 333 "//base/test:run_all_unittests", |
334 "//skia", | 334 "//skia", |
335 "//testing/gtest", | 335 "//testing/gtest", |
336 "//third_party/WebKit/public:blink_headers", | |
337 "//ui/events/devices", | 336 "//ui/events/devices", |
338 "//ui/events/gestures/blink", | |
339 "//ui/events/platform", | 337 "//ui/events/platform", |
340 "//ui/gfx:test_support", | 338 "//ui/gfx:test_support", |
341 ] | 339 ] |
342 | 340 |
341 if (!is_ios) { | |
342 deps += [ | |
343 "//third_party/WebKit/public:blink_headers", | |
344 "//ui/events/gestures/blink", | |
345 ] | |
346 } | |
347 | |
343 include_dirs = [ "//testing/gmock/include" ] | 348 include_dirs = [ "//testing/gmock/include" ] |
344 | 349 |
345 if (use_x11) { | 350 if (use_x11) { |
346 configs += [ "//build/config/linux:x11" ] | 351 configs += [ "//build/config/linux:x11" ] |
347 deps += [ "//ui/gfx/x" ] | 352 deps += [ "//ui/gfx/x" ] |
348 } else { | 353 } else { |
349 sources -= [ | 354 sources -= [ |
350 "devices/x11/device_data_manager_x11_unittest.cc", | 355 "devices/x11/device_data_manager_x11_unittest.cc", |
351 "x/events_x_unittest.cc", | 356 "x/events_x_unittest.cc", |
352 ] | 357 ] |
(...skipping 27 matching lines...) Expand all Loading... | |
380 if (is_nacl) { | 385 if (is_nacl) { |
381 source_set("latency_info") { | 386 source_set("latency_info") { |
382 sources = [ | 387 sources = [ |
383 "ipc/latency_info_param_traits.cc", | 388 "ipc/latency_info_param_traits.cc", |
384 "ipc/latency_info_param_traits.h", | 389 "ipc/latency_info_param_traits.h", |
385 "latency_info.cc", | 390 "latency_info.cc", |
386 "latency_info.h", | 391 "latency_info.h", |
387 ] | 392 ] |
388 } | 393 } |
389 } | 394 } |
OLD | NEW |