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

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

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 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 | « ui/display/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//ui/ozone/ozone.gni") 7 import("//ui/ozone/ozone.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 } 326 }
327 327
328 if (use_x11 || use_ozone) { 328 if (use_x11 || use_ozone) {
329 sources += [ "test/device_data_manager_test_api_impl.cc" ] 329 sources += [ "test/device_data_manager_test_api_impl.cc" ]
330 deps += [ "//ui/events/devices" ] 330 deps += [ "//ui/events/devices" ]
331 } else { 331 } else {
332 sources += [ "test/device_data_manager_test_api_stub.cc" ] 332 sources += [ "test/device_data_manager_test_api_stub.cc" ]
333 } 333 }
334 } 334 }
335 335
336 # TODO(GYP): Delete this after we've converted everything to GN.
337 # The _run targets exist only for compatibility w/ GYP.
338 group("events_unittests_run") {
339 testonly = true
340 deps = [
341 ":events_unittests",
342 ]
343 }
344
345 test("events_unittests") { 336 test("events_unittests") {
346 sources = [ 337 sources = [
347 "android/scroller_unittest.cc", 338 "android/scroller_unittest.cc",
348 "cocoa/events_mac_unittest.mm", 339 "cocoa/events_mac_unittest.mm",
349 "event_dispatcher_unittest.cc", 340 "event_dispatcher_unittest.cc",
350 "event_processor_unittest.cc", 341 "event_processor_unittest.cc",
351 "event_rewriter_unittest.cc", 342 "event_rewriter_unittest.cc",
352 "event_unittest.cc", 343 "event_unittest.cc",
353 "gesture_detection/bitset_32_unittest.cc", 344 "gesture_detection/bitset_32_unittest.cc",
354 "gesture_detection/filtered_gesture_provider_unittest.cc", 345 "gesture_detection/filtered_gesture_provider_unittest.cc",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 sources += [ "android/motion_event_android_unittest.cc" ] 447 sources += [ "android/motion_event_android_unittest.cc" ]
457 } 448 }
458 } 449 }
459 450
460 if (is_android) { 451 if (is_android) {
461 generate_jar_jni("motionevent_jni_headers") { 452 generate_jar_jni("motionevent_jni_headers") {
462 jni_package = "ui" 453 jni_package = "ui"
463 classes = [ "android/view/MotionEvent.class" ] 454 classes = [ "android/view/MotionEvent.class" ]
464 } 455 }
465 } 456 }
OLDNEW
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698