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

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

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/gl/BUILD.gn ('k') | ui/wm/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 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "touch_selection_controller_test_api.cc", 61 "touch_selection_controller_test_api.cc",
62 "touch_selection_controller_test_api.h", 62 "touch_selection_controller_test_api.h",
63 ] 63 ]
64 64
65 deps = [ 65 deps = [
66 ":touch_selection", 66 ":touch_selection",
67 "//base:base", 67 "//base:base",
68 ] 68 ]
69 } 69 }
70 70
71 # TODO(GYP): Delete this after we've converted everything to GN.
72 # The _run targets exist only for compatibility w/ GYP.
73 group("ui_touch_selection_unittests_run") {
74 testonly = true
75 deps = [
76 ":ui_touch_selection_unittests",
77 ]
78 }
79
80 test("ui_touch_selection_unittests") { 71 test("ui_touch_selection_unittests") {
81 sources = [ 72 sources = [
82 "longpress_drag_selector_unittest.cc", 73 "longpress_drag_selector_unittest.cc",
83 "touch_handle_unittest.cc", 74 "touch_handle_unittest.cc",
84 "touch_selection_controller_unittest.cc", 75 "touch_selection_controller_unittest.cc",
85 ] 76 ]
86 77
87 deps = [ 78 deps = [
88 ":test_support", 79 ":test_support",
89 ":touch_selection", 80 ":touch_selection",
(...skipping 16 matching lines...) Expand all
106 sources = [ 97 sources = [
107 "selection_event_type.h", 98 "selection_event_type.h",
108 ] 99 ]
109 } 100 }
110 java_cpp_enum("ui_touch_handle_orientation_srcjar") { 101 java_cpp_enum("ui_touch_handle_orientation_srcjar") {
111 sources = [ 102 sources = [
112 "touch_handle_orientation.h", 103 "touch_handle_orientation.h",
113 ] 104 ]
114 } 105 }
115 } 106 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698