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

Side by Side Diff: ui/views/mus/BUILD.gn

Issue 2653713004: Add service_test GN template (Closed)
Patch Set: . Created 3 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 | « services/ui/ws/run_all_unittests.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//services/catalog/public/tools/catalog.gni") 7 import("//services/catalog/public/tools/catalog.gni")
8 import("//services/service_manager/public/cpp/service.gni") 8 import("//services/service_manager/public/cpp/service.gni")
9 import("//services/service_manager/public/service_manifest.gni") 9 import("//services/service_manager/public/service_manifest.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 sources = [ 114 sources = [
115 "../test/native_widget_factory_aura_mus.cc", 115 "../test/native_widget_factory_aura_mus.cc",
116 "test_utils.h", 116 "test_utils.h",
117 "views_mus_test_suite.cc", 117 "views_mus_test_suite.cc",
118 "views_mus_test_suite.h", 118 "views_mus_test_suite.h",
119 ] 119 ]
120 120
121 deps = [ 121 deps = [
122 ":mus", 122 ":mus",
123 ":views_mus_tests_catalog_source",
123 "//base", 124 "//base",
124 "//base/test:test_support", 125 "//base/test:test_support",
125 "//mojo/edk/system", 126 "//mojo/edk/system",
126 "//services/catalog:lib", 127 "//services/catalog:lib",
127 "//services/service_manager/background:lib", 128 "//services/service_manager/background:lib",
128 "//services/service_manager/public/cpp:sources", 129 "//services/service_manager/public/cpp:sources",
129 "//services/ui/common:mus_common", 130 "//services/ui/common:mus_common",
130 "//testing/gtest", 131 "//testing/gtest",
131 "//ui/aura", 132 "//ui/aura",
132 "//ui/aura:test_support", 133 "//ui/aura:test_support",
133 "//ui/gl:test_support", 134 "//ui/gl:test_support",
134 "//ui/resources", 135 "//ui/resources",
135 "//ui/resources:ui_test_pak", 136 "//ui/resources:ui_test_pak",
136 "//ui/views", 137 "//ui/views",
137 "//ui/views:test_support_internal", 138 "//ui/views:test_support_internal",
138 ] 139 ]
139 140
140 data_deps = [ 141 data_deps = [
141 ":views_mus_tests_catalog",
142 "//ui/resources:ui_test_pak_data", 142 "//ui/resources:ui_test_pak_data",
143 ] 143 ]
144 } 144 }
145 145
146 test("views_mus_unittests") { 146 test("views_mus_unittests") {
147 testonly = true 147 testonly = true
148 148
149 sources = [ 149 sources = [
150 "desktop_window_tree_host_mus_unittest.cc", 150 "desktop_window_tree_host_mus_unittest.cc",
151 "pointer_watcher_event_router_unittest.cc", 151 "pointer_watcher_event_router_unittest.cc",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 "//ui/strings", 184 "//ui/strings",
185 "//ui/touch_selection", 185 "//ui/touch_selection",
186 "//ui/views", 186 "//ui/views",
187 "//ui/views:test_support_internal", 187 "//ui/views:test_support_internal",
188 "//ui/views:views_unittests_sources", 188 "//ui/views:views_unittests_sources",
189 "//ui/wm", 189 "//ui/wm",
190 "//url", 190 "//url",
191 ] 191 ]
192 192
193 data_deps = [ 193 data_deps = [
194 ":views_mus_tests_catalog_copy",
195 "//services/ui/ime/test_ime_driver", 194 "//services/ui/ime/test_ime_driver",
196 "//services/ui/test_wm", 195 "//services/ui/test_wm",
197 ] 196 ]
198 197
199 if (is_win) { 198 if (is_win) {
200 deps += [ 199 deps += [
201 "//build/win:default_exe_manifest", 200 "//build/win:default_exe_manifest",
202 "//third_party/iaccessible2", 201 "//third_party/iaccessible2",
203 "//third_party/wtl", 202 "//third_party/wtl",
204 ] 203 ]
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 "//ui/events:events_base", 244 "//ui/events:events_base",
246 "//ui/events:test_support", 245 "//ui/events:test_support",
247 "//ui/gl:test_support", 246 "//ui/gl:test_support",
248 "//ui/touch_selection", 247 "//ui/touch_selection",
249 "//ui/views", 248 "//ui/views",
250 "//ui/views:test_support_internal", 249 "//ui/views:test_support_internal",
251 "//ui/wm", 250 "//ui/wm",
252 ] 251 ]
253 252
254 data_deps = [ 253 data_deps = [
255 ":views_mus_tests_catalog_copy",
256 "//services/ui/test_wm", 254 "//services/ui/test_wm",
257 ] 255 ]
258 256
259 if (is_win) { 257 if (is_win) {
260 deps += [ 258 deps += [
261 "//build/win:default_exe_manifest", 259 "//build/win:default_exe_manifest",
262 "//third_party/iaccessible2", 260 "//third_party/iaccessible2",
263 "//third_party/wtl", 261 "//third_party/wtl",
264 ] 262 ]
265 libs = [ 263 libs = [
(...skipping 20 matching lines...) Expand all
286 embedded_services = [ 284 embedded_services = [
287 ":unittests_manifest", 285 ":unittests_manifest",
288 ":interactive_ui_tests_manifest", 286 ":interactive_ui_tests_manifest",
289 ] 287 ]
290 288
291 standalone_services = [ "//services/ui/test_wm:manifest" ] 289 standalone_services = [ "//services/ui/test_wm:manifest" ]
292 290
293 catalog_deps = [ "//mash:catalog" ] 291 catalog_deps = [ "//mash:catalog" ]
294 } 292 }
295 293
296 copy("views_mus_tests_catalog_copy") { 294 catalog_cpp_source("views_mus_tests_catalog_source") {
297 testonly = true 295 testonly = true
298 sources = get_target_outputs(":views_mus_tests_catalog") 296 catalog = ":views_mus_tests_catalog"
299 outputs = [ 297 output_symbol_name = "kViewsMusTestCatalog"
300 "${root_out_dir}/views_mus_tests_catalog.json",
301 ]
302 deps = [
303 ":views_mus_tests_catalog",
304 ]
305 } 298 }
OLDNEW
« no previous file with comments | « services/ui/ws/run_all_unittests.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698