| 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/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("//services/service_manager/public/tools/test/service_test.gni") | 10 import("//services/service_manager/public/tools/test/service_test.gni") |
| 11 | 11 |
| 12 # In external window mode, top-level windows are native platform windows i.e. | 12 # In external window mode, top-level windows are native platform windows i.e. |
| 13 # not children of a Chrome OS window manager's root window. | 13 # not children of a Chrome OS window manager's root window. |
| 14 is_external_mode = use_ozone && !is_chromeos | 14 is_external_mode = use_ozone && !is_chromeos |
| 15 | 15 |
| 16 static_library("lib") { | 16 static_library("lib") { |
| 17 sources = [ | 17 sources = [ |
| 18 "accelerator.cc", | 18 "accelerator.cc", |
| 19 "accelerator.h", | 19 "accelerator.h", |
| 20 "access_policy.h", | 20 "access_policy.h", |
| 21 "access_policy_delegate.h", | 21 "access_policy_delegate.h", |
| 22 "accessibility_manager.cc", | 22 "accessibility_manager.cc", |
| 23 "accessibility_manager.h", | 23 "accessibility_manager.h", |
| 24 "cursor_location_manager.cc", | 24 "cursor_location_manager.cc", |
| 25 "cursor_location_manager.h", | 25 "cursor_location_manager.h", |
| 26 "cursor_state.cc", |
| 27 "cursor_state.h", |
| 26 "default_access_policy.cc", | 28 "default_access_policy.cc", |
| 27 "default_access_policy.h", | 29 "default_access_policy.h", |
| 28 "display.cc", | 30 "display.cc", |
| 29 "display.h", | 31 "display.h", |
| 30 "display_binding.cc", | 32 "display_binding.cc", |
| 31 "display_binding.h", | 33 "display_binding.h", |
| 32 "display_client_compositor_frame_sink.cc", | 34 "display_client_compositor_frame_sink.cc", |
| 33 "display_client_compositor_frame_sink.h", | 35 "display_client_compositor_frame_sink.h", |
| 34 "display_manager.cc", | 36 "display_manager.cc", |
| 35 "display_manager.h", | 37 "display_manager.h", |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 ":mus_ws_unittests", | 227 ":mus_ws_unittests", |
| 226 ] | 228 ] |
| 227 if (!is_android) { | 229 if (!is_android) { |
| 228 deps += [ "//services/ui/public/cpp/tests:mus_public_unittests" ] | 230 deps += [ "//services/ui/public/cpp/tests:mus_public_unittests" ] |
| 229 } | 231 } |
| 230 } | 232 } |
| 231 | 233 |
| 232 service_test("mus_ws_unittests") { | 234 service_test("mus_ws_unittests") { |
| 233 sources = [ | 235 sources = [ |
| 234 "cursor_location_manager_unittest.cc", | 236 "cursor_location_manager_unittest.cc", |
| 237 "cursor_state_unittest.cc", |
| 235 "cursor_unittest.cc", | 238 "cursor_unittest.cc", |
| 236 "display_unittest.cc", | 239 "display_unittest.cc", |
| 237 "drag_controller_unittest.cc", | 240 "drag_controller_unittest.cc", |
| 238 "event_dispatcher_unittest.cc", | 241 "event_dispatcher_unittest.cc", |
| 239 "event_matcher_unittest.cc", | 242 "event_matcher_unittest.cc", |
| 240 "focus_controller_unittest.cc", | 243 "focus_controller_unittest.cc", |
| 241 "frame_generator_unittest.cc", | 244 "frame_generator_unittest.cc", |
| 242 "gpu_host_unittest.cc", | 245 "gpu_host_unittest.cc", |
| 243 "server_window_drawn_tracker_unittest.cc", | 246 "server_window_drawn_tracker_unittest.cc", |
| 244 "test_server_window_delegate.cc", | 247 "test_server_window_delegate.cc", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 service_manifest("mus_ws_unittests_app_manifest") { | 306 service_manifest("mus_ws_unittests_app_manifest") { |
| 304 name = "mus_ws_unittests_app" | 307 name = "mus_ws_unittests_app" |
| 305 source = "mus_ws_unittests_app_manifest.json" | 308 source = "mus_ws_unittests_app_manifest.json" |
| 306 } | 309 } |
| 307 | 310 |
| 308 catalog("mus_ws_unittests_catalog") { | 311 catalog("mus_ws_unittests_catalog") { |
| 309 embedded_services = [ ":mus_ws_unittests_app_manifest" ] | 312 embedded_services = [ ":mus_ws_unittests_app_manifest" ] |
| 310 | 313 |
| 311 standalone_services = [ "//services/ui:manifest" ] | 314 standalone_services = [ "//services/ui:manifest" ] |
| 312 } | 315 } |
| OLD | NEW |