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
3 # found in the LICENSE file.
5 import("//mojo/system.gni")
7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager
8 component("view_manager") {
13 "//mojo/environment:chromium",
14 "//mojo/public/cpp/application:chromium",
15 "//mojo/services/public/cpp/geometry",
16 "//mojo/services/public/cpp/input_events",
17 "//mojo/services/public/cpp/surfaces",
18 "//mojo/services/public/cpp/view_manager:common",
19 "//mojo/services/public/interfaces/geometry",
20 "//mojo/services/public/interfaces/input_events",
21 "//mojo/services/public/interfaces/native_viewport",
22 "//mojo/services/public/interfaces/surfaces",
23 "//mojo/services/public/interfaces/view_manager",
26 "//ui/events:events_base",
29 ] + mojo_system_for_component
32 "MOJO_VIEW_MANAGER_IMPLEMENTATION",
37 "access_policy_delegate.h",
38 "connection_manager.cc",
39 "connection_manager.h",
40 "default_access_policy.cc",
41 "default_access_policy.h",
48 "server_view_delegate.h",
49 "view_manager_export.h",
50 "view_manager_init_service_context.cc",
51 "view_manager_init_service_context.h",
52 "view_manager_init_service_impl.cc",
53 "view_manager_init_service_impl.h",
54 "view_manager_service_impl.cc",
55 "view_manager_service_impl.h",
56 "window_manager_access_policy.cc",
57 "window_manager_access_policy.h",
61 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests
62 test("mojo_view_manager_unittests") {
65 "//base/test:test_support",
66 "//mojo/application_manager",
67 "//mojo/environment:chromium",
68 "//mojo/public/cpp/application:chromium",
69 "//mojo/services/public/cpp/input_events",
70 "//mojo/services/public/cpp/geometry",
71 "//mojo/services/public/cpp/view_manager",
72 "//mojo/services/public/cpp/view_manager/lib:run_unittests",
73 "//mojo/services/public/cpp/view_manager:common",
74 "//mojo/services/public/interfaces/input_events",
75 "//mojo/services/public/interfaces/geometry",
76 "//mojo/services/public/interfaces/view_manager",
77 "//mojo/shell:test_support",
83 "test_change_tracker.cc",
84 "test_change_tracker.h",
85 "view_manager_unittest.cc",