Move PseudoTCP and channel auth out of LibjingleTransportFactory.
[chromium-blink-merge.git] / mojo / services / view_manager / BUILD.gn
blob8026651ab53cf9b71a537b4a40416b2681194d6d
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") {
9   deps = [
10     "//base",
11     "//cc/surfaces",
12     "//mojo/common",
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",
24     "//ui/base",
25     "//ui/events",
26     "//ui/events:events_base",
27     "//ui/gfx",
28     "//ui/gfx/geometry",
29   ] + mojo_system_for_component
31   defines = [
32     "MOJO_VIEW_MANAGER_IMPLEMENTATION",
33   ]
35   sources = [
36     "access_policy.h",
37     "access_policy_delegate.h",
38     "connection_manager.cc",
39     "connection_manager.h",
40     "default_access_policy.cc",
41     "default_access_policy.h",
42     "display_manager.cc",
43     "display_manager.h",
44     "ids.h",
45     "main.cc",
46     "server_view.cc",
47     "server_view.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",
58   ]
61 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests
62 test("mojo_view_manager_unittests") {
63   deps = [
64     "//base",
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",
78     "//mojo/system",
79     "//testing/gtest",
80   ]
82   sources = [
83     "test_change_tracker.cc",
84     "test_change_tracker.h",
85     "view_manager_unittest.cc",
86   ]