Chromium Code Reviews

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

Issue 462983002: GN: Make content_shell and webkit_unit_tests work in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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 221 matching lines...)
232 "test/test_event_handler.h", 232 "test/test_event_handler.h",
233 "test/test_event_processor.cc", 233 "test/test_event_processor.cc",
234 "test/test_event_processor.h", 234 "test/test_event_processor.h",
235 "test/test_event_target.cc", 235 "test/test_event_target.cc",
236 "test/test_event_target.h", 236 "test/test_event_target.h",
237 ] 237 ]
238 238
239 deps = [ 239 deps = [
240 "//base", 240 "//base",
241 "//skia", 241 "//skia",
242 "//ui/events/platform",
242 "//ui/gfx/geometry", 243 "//ui/gfx/geometry",
244 ":events",
243 ":events_base", 245 ":events_base",
244 ":events",
245 ":gesture_detection", 246 ":gesture_detection",
246 ] 247 ]
247 248
248 if (is_ios) { 249 if (is_ios) {
249 sources -= [ 250 sources -= [
250 "test/cocoa_test_event_utils.h", 251 "test/cocoa_test_event_utils.h",
251 "test/cocoa_test_event_utils.mm", 252 "test/cocoa_test_event_utils.mm",
252 ] 253 ]
253 } 254 }
254 255
(...skipping 19 matching lines...)
274 "gesture_detection/motion_event_buffer_unittest.cc", 275 "gesture_detection/motion_event_buffer_unittest.cc",
275 "gesture_detection/motion_event_generic_unittest.cc", 276 "gesture_detection/motion_event_generic_unittest.cc",
276 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", 277 "gesture_detection/touch_disposition_gesture_filter_unittest.cc",
277 "gesture_detection/velocity_tracker_unittest.cc", 278 "gesture_detection/velocity_tracker_unittest.cc",
278 "keycodes/dom4/keycode_converter_unittest.cc", 279 "keycodes/dom4/keycode_converter_unittest.cc",
279 "latency_info_unittest.cc", 280 "latency_info_unittest.cc",
280 "platform/platform_event_source_unittest.cc", 281 "platform/platform_event_source_unittest.cc",
281 "x/events_x_unittest.cc", 282 "x/events_x_unittest.cc",
282 ] 283 ]
283 284
285 deps = [
286 ":dom4_keycode_converter",
287 ":events",
288 ":events_base",
289 ":gesture_detection",
290 ":test_support",
291 "//base",
292 "//base/test:run_all_unittests",
293 "//skia",
294 "//testing/gtest",
295 "//ui/events/platform",
296 "//ui/gfx:test_support",
297 ]
298
284 if (use_x11) { 299 if (use_x11) {
285 configs += [ "//build/config/linux:x11" ] 300 configs += [ "//build/config/linux:x11" ]
301 deps += [ "//ui/gfx/x" ]
286 } else { 302 } else {
287 sources -= [ 303 sources -= [
288 "x/events_x_unittest.cc", 304 "x/events_x_unittest.cc",
289 ] 305 ]
290 } 306 }
291 307
292 if (use_ozone) { 308 if (use_ozone) {
293 sources += [ 309 sources += [
294 "ozone/evdev/key_event_converter_evdev_unittest.cc", 310 "ozone/evdev/key_event_converter_evdev_unittest.cc",
295 "ozone/evdev/touch_event_converter_evdev_unittest.cc", 311 "ozone/evdev/touch_event_converter_evdev_unittest.cc",
296 ] 312 ]
297 } 313 }
298 314
299 if (use_aura) { 315 if (use_aura) {
300 sources += [ 316 sources += [
301 "gestures/gesture_provider_aura_unittest.cc", 317 "gestures/gesture_provider_aura_unittest.cc",
302 ] 318 ]
303 } 319 }
304
305 deps = [
306 ":events",
307 ":events_base",
308 ":gesture_detection",
309 ":test_support",
310 "//base",
311 "//base/test:run_all_unittests",
312 "//skia",
313 "//testing/gtest",
314 "//ui/gfx:test_support",
315 ]
316 } 320 }
OLDNEW
« content/renderer/render_thread_impl.h ('K') | « ui/base/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine