Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / mojo / services / view_manager / BUILD.gn
blob5b0d9f747aeab01c93c8cef940f948d6c167baf0
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",
12     "//mojo/cc",
13     "//mojo/common",
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",
23     "//skia",
24     "//ui/aura",
25     "//ui/base",
26     "//ui/compositor",
27     "//ui/events",
28     "//ui/events:events_base",
29     "//ui/gfx",
30     "//ui/gfx/geometry",
31     "//ui/gl",
32     "//webkit/common/gpu",
33   ] + mojo_system_for_component + mojo_gles2_for_component
35   defines = [
36     "MOJO_VIEW_MANAGER_IMPLEMENTATION",
37   ]
39   sources = [
40     "access_policy.h",
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",
48     "display_manager.cc",
49     "display_manager.h",
50     "display_manager_delegate.h",
51     "ids.h",
52     "main.cc",
53     "screen_impl.cc",
54     "screen_impl.h",
55     "server_view.cc",
56     "server_view.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",
69   ]
72 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests
73 test("mojo_view_manager_unittests") {
74   deps = [
75     "//base",
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",
89     "//mojo/system",
90     "//skia",
91     "//testing/gtest",
92     "//ui/aura",
93     "//ui/gfx/geometry",
94     "//ui/gl",
95   ]
97   sources = [
98     "test_change_tracker.cc",
99     "test_change_tracker.h",
100     "view_manager_unittest.cc",
101   ]