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") {
14 "//mojo/environment:chromium",
15 "//mojo/public/cpp/application:chromium",
16 "//mojo/services/public/cpp/geometry",
17 "//mojo/services/public/cpp/input_events",
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/view_manager",
28 "//ui/events:events_base",
32 "//webkit/common/gpu",
33 ] + mojo_system_for_component + mojo_gles2_for_component
36 "MOJO_VIEW_MANAGER_IMPLEMENTATION",
41 "access_policy_delegate.h",
42 "connection_manager.cc",
43 "connection_manager.h",
44 "context_factory_impl.cc",
45 "context_factory_impl.h",
46 "default_access_policy.cc",
47 "default_access_policy.h",
50 "display_manager_delegate.h",
57 "server_view_delegate.h",
58 "view_manager_export.h",
59 "view_manager_init_service_context.cc",
60 "view_manager_init_service_context.h",
61 "view_manager_init_service_impl.cc",
62 "view_manager_init_service_impl.h",
63 "view_manager_service_impl.cc",
64 "view_manager_service_impl.h",
65 "window_manager_access_policy.cc",
66 "window_manager_access_policy.h",
67 "window_tree_host_impl.cc",
68 "window_tree_host_impl.h",
72 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests
73 test("mojo_view_manager_unittests") {
76 "//base/test:test_support",
77 "//mojo/application_manager",
78 "//mojo/environment:chromium",
79 "//mojo/public/cpp/application:chromium",
80 "//mojo/services/public/cpp/input_events",
81 "//mojo/services/public/cpp/geometry",
82 "//mojo/services/public/cpp/view_manager",
83 "//mojo/services/public/cpp/view_manager/lib:run_unittests",
84 "//mojo/services/public/cpp/view_manager:common",
85 "//mojo/services/public/interfaces/input_events",
86 "//mojo/services/public/interfaces/geometry",
87 "//mojo/services/public/interfaces/view_manager",
88 "//mojo/shell:test_support",
98 "test_change_tracker.cc",
99 "test_change_tracker.h",
100 "view_manager_unittest.cc",