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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 52 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
53 | 53 |
54 deps = [ | 54 deps = [ |
55 ":dom4_keycode_converter", | 55 ":dom4_keycode_converter", |
56 "//base/third_party/dynamic_annotations", | 56 "//base/third_party/dynamic_annotations", |
57 "//skia", | 57 "//skia", |
58 ] | 58 ] |
59 | 59 |
60 public_deps = [ | 60 public_deps = [ |
61 "//base", | 61 "//base", |
62 "//ui/events/platform", | |
63 "//ui/gfx", | 62 "//ui/gfx", |
64 "//ui/gfx/geometry", | 63 "//ui/gfx/geometry", |
65 ] | 64 ] |
66 | 65 |
67 if (use_x11) { | 66 if (use_x11) { |
68 configs += [ "//build/config/linux:x11" ] | 67 configs += [ "//build/config/linux:x11" ] |
69 | 68 |
70 sources += [ | 69 sources += [ |
71 "keycodes/keyboard_code_conversion_x.cc", | 70 "keycodes/keyboard_code_conversion_x.cc", |
72 "keycodes/keyboard_code_conversion_x.h", | 71 "keycodes/keyboard_code_conversion_x.h", |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 "gesture_detection/gesture_provider_unittest.cc", | 259 "gesture_detection/gesture_provider_unittest.cc", |
261 "gesture_detection/motion_event_buffer_unittest.cc", | 260 "gesture_detection/motion_event_buffer_unittest.cc", |
262 "gesture_detection/motion_event_generic_unittest.cc", | 261 "gesture_detection/motion_event_generic_unittest.cc", |
263 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 262 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
264 "gesture_detection/velocity_tracker_unittest.cc", | 263 "gesture_detection/velocity_tracker_unittest.cc", |
265 "gestures/fling_curve_unittest.cc", | 264 "gestures/fling_curve_unittest.cc", |
266 "gestures/gesture_provider_impl_unittest.cc", | 265 "gestures/gesture_provider_impl_unittest.cc", |
267 "keycodes/dom4/keycode_converter_unittest.cc", | 266 "keycodes/dom4/keycode_converter_unittest.cc", |
268 "latency_info_unittest.cc", | 267 "latency_info_unittest.cc", |
269 "platform/platform_event_source_unittest.cc", | 268 "platform/platform_event_source_unittest.cc", |
| 269 "platform/platform_event_builder_x_unittest.cc", |
270 "x/events_x_unittest.cc", | 270 "x/events_x_unittest.cc", |
271 ] | 271 ] |
272 | 272 |
273 deps = [ | 273 deps = [ |
274 ":dom4_keycode_converter", | 274 ":dom4_keycode_converter", |
275 ":events", | 275 ":events", |
276 ":events_base", | 276 ":events_base", |
277 ":gesture_detection", | 277 ":gesture_detection", |
278 ":test_support", | 278 ":test_support", |
279 "//base", | 279 "//base", |
280 "//base/test:run_all_unittests", | 280 "//base/test:run_all_unittests", |
281 "//skia", | 281 "//skia", |
282 "//testing/gtest", | 282 "//testing/gtest", |
283 "//ui/events/platform", | 283 "//ui/events/platform", |
284 "//ui/gfx:test_support", | 284 "//ui/gfx:test_support", |
285 ] | 285 ] |
286 | 286 |
287 if (use_x11) { | 287 if (use_x11) { |
288 configs += [ "//build/config/linux:x11" ] | 288 configs += [ "//build/config/linux:x11" ] |
289 deps += [ "//ui/gfx/x" ] | 289 deps += [ "//ui/gfx/x" ] |
290 } else { | 290 } else { |
291 sources -= [ "x/events_x_unittest.cc" ] | 291 sources -= [ |
| 292 "platform/platform_event_builder_x_unittest.cc", |
| 293 "x/events_x_unittest.cc", |
| 294 ] |
292 } | 295 } |
293 } | 296 } |
OLD | NEW |