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