OLD | NEW |
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("//services/catalog/public/tools/catalog.gni") |
7 import("//services/service_manager/public/cpp/service.gni") | 8 import("//services/service_manager/public/cpp/service.gni") |
8 import("//services/service_manager/public/service_manifest.gni") | 9 import("//services/service_manager/public/service_manifest.gni") |
9 | 10 |
10 static_library("lib") { | 11 static_library("lib") { |
11 sources = [ | 12 sources = [ |
12 "accelerator.cc", | 13 "accelerator.cc", |
13 "accelerator.h", | 14 "accelerator.h", |
14 "access_policy.h", | 15 "access_policy.h", |
15 "access_policy_delegate.h", | 16 "access_policy_delegate.h", |
16 "accessibility_manager.cc", | 17 "accessibility_manager.cc", |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 203 |
203 test("mus_ws_unittests") { | 204 test("mus_ws_unittests") { |
204 sources = [ | 205 sources = [ |
205 "cursor_unittest.cc", | 206 "cursor_unittest.cc", |
206 "display_unittest.cc", | 207 "display_unittest.cc", |
207 "drag_controller_unittest.cc", | 208 "drag_controller_unittest.cc", |
208 "event_dispatcher_unittest.cc", | 209 "event_dispatcher_unittest.cc", |
209 "event_matcher_unittest.cc", | 210 "event_matcher_unittest.cc", |
210 "focus_controller_unittest.cc", | 211 "focus_controller_unittest.cc", |
211 "frame_generator_unittest.cc", | 212 "frame_generator_unittest.cc", |
| 213 "run_all_unittests.cc", |
212 "server_window_compositor_frame_sink_manager_test_api.cc", | 214 "server_window_compositor_frame_sink_manager_test_api.cc", |
213 "server_window_compositor_frame_sink_manager_test_api.h", | 215 "server_window_compositor_frame_sink_manager_test_api.h", |
214 "server_window_drawn_tracker_unittest.cc", | 216 "server_window_drawn_tracker_unittest.cc", |
215 "test_server_window_delegate.cc", | 217 "test_server_window_delegate.cc", |
216 "test_server_window_delegate.h", | 218 "test_server_window_delegate.h", |
217 "test_utils.cc", | 219 "test_utils.cc", |
218 "test_utils.h", | 220 "test_utils.h", |
219 "transient_windows_unittest.cc", | 221 "transient_windows_unittest.cc", |
220 "user_activity_monitor_unittest.cc", | 222 "user_activity_monitor_unittest.cc", |
221 "user_display_manager_unittest.cc", | 223 "user_display_manager_unittest.cc", |
222 "window_coordinate_conversions_unittest.cc", | 224 "window_coordinate_conversions_unittest.cc", |
223 "window_finder_unittest.cc", | 225 "window_finder_unittest.cc", |
224 "window_manager_client_unittest.cc", | 226 "window_manager_client_unittest.cc", |
225 "window_manager_state_unittest.cc", | 227 "window_manager_state_unittest.cc", |
226 "window_tree_client_unittest.cc", | 228 "window_tree_client_unittest.cc", |
227 "window_tree_unittest.cc", | 229 "window_tree_unittest.cc", |
228 ] | 230 ] |
229 | 231 |
230 deps = [ | 232 deps = [ |
231 ":lib", | 233 ":lib", |
232 ":test_support", | 234 ":test_support", |
233 "//base", | 235 "//base", |
234 "//base/test:test_config", | 236 "//base/test:test_config", |
235 "//base/test:test_support", | 237 "//base/test:test_support", |
236 "//cc:cc", | 238 "//cc:cc", |
237 "//gpu/ipc/client", | 239 "//gpu/ipc/client", |
| 240 "//mojo/edk/system", |
238 "//mojo/public/cpp/bindings:bindings", | 241 "//mojo/public/cpp/bindings:bindings", |
| 242 "//services/catalog:lib", |
239 "//services/service_manager/public/cpp:service_test_support", | 243 "//services/service_manager/public/cpp:service_test_support", |
240 "//services/service_manager/public/cpp:sources", | 244 "//services/service_manager/public/cpp:sources", |
241 "//services/service_manager/public/cpp/test:run_all_service_tests", | |
242 "//services/service_manager/public/interfaces", | 245 "//services/service_manager/public/interfaces", |
243 "//services/ui/common:mus_common", | 246 "//services/ui/common:mus_common", |
244 "//services/ui/common:task_runner_test_base", | 247 "//services/ui/common:task_runner_test_base", |
245 "//services/ui/public/cpp", | 248 "//services/ui/public/cpp", |
246 "//services/ui/public/interfaces", | 249 "//services/ui/public/interfaces", |
247 "//testing/gtest", | 250 "//testing/gtest", |
248 "//third_party/mesa:osmesa", | 251 "//third_party/mesa:osmesa", |
249 "//ui/aura", | 252 "//ui/aura", |
250 "//ui/aura:test_support", | 253 "//ui/aura:test_support", |
251 "//ui/events", | 254 "//ui/events", |
252 "//ui/gfx", | 255 "//ui/gfx", |
253 "//ui/gfx:test_support", | 256 "//ui/gfx:test_support", |
254 "//ui/gfx/geometry", | 257 "//ui/gfx/geometry", |
255 "//ui/gfx/geometry/mojo", | 258 "//ui/gfx/geometry/mojo", |
256 "//ui/gl", | 259 "//ui/gl", |
257 ] | 260 ] |
258 | 261 |
259 data_deps = [ | 262 data_deps = [ |
260 ":mus_ws_unittests_app_manifest", | 263 ":mus_ws_unittests_catalog_copy", |
261 ] | 264 ] |
262 } | 265 } |
263 | 266 |
264 service_manifest("mus_ws_unittests_app_manifest") { | 267 service_manifest("mus_ws_unittests_app_manifest") { |
265 name = "mus_ws_unittests_app" | 268 name = "mus_ws_unittests_app" |
266 source = "mus_ws_unittests_app_manifest.json" | 269 source = "mus_ws_unittests_app_manifest.json" |
267 } | 270 } |
| 271 |
| 272 catalog("mus_ws_unittests_catalog") { |
| 273 embedded_services = [ ":mus_ws_unittests_app_manifest" ] |
| 274 |
| 275 standalone_services = [ "//services/ui:manifest" ] |
| 276 } |
| 277 |
| 278 copy("mus_ws_unittests_catalog_copy") { |
| 279 sources = get_target_outputs(":mus_ws_unittests_catalog") |
| 280 outputs = [ |
| 281 "${root_out_dir}/mus_ws_unittests_catalog.json", |
| 282 ] |
| 283 deps = [ |
| 284 ":mus_ws_unittests_catalog", |
| 285 ] |
| 286 } |
OLD | NEW |