Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: ui/events/BUILD.gn

Issue 862093002: Split the event library into a cross-platform and native part. Part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/tools/data/unittests ('k') | ui/events/cocoa/events_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « mojo/tools/data/unittests ('k') | ui/events/cocoa/events_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698