Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: services/view_manager/BUILD.gn

Issue 772893004: Adds constants and runner for animations (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: tweaks Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
7 7
8 mojo_native_application("view_manager") { 8 mojo_native_application("view_manager") {
9 sources = [ 9 sources = [
10 "main.cc", 10 "main.cc",
11 "view_manager_app.cc", 11 "view_manager_app.cc",
12 "view_manager_app.h", 12 "view_manager_app.h",
13 ] 13 ]
14 14
15 deps = [ 15 deps = [
16 ":view_manager_lib", 16 ":view_manager_lib",
17 "//base", 17 "//base",
18 "//mojo/application", 18 "//mojo/application",
19 "//mojo/common:tracing_impl", 19 "//mojo/common:tracing_impl",
20 "//mojo/environment:chromium", 20 "//mojo/environment:chromium",
21 "//mojo/converters/geometry",
21 "//mojo/public/c/system:for_shared_library", 22 "//mojo/public/c/system:for_shared_library",
22 "//mojo/public/cpp/bindings:bindings", 23 "//mojo/public/cpp/bindings:bindings",
23 "//mojo/services/public/interfaces/window_manager", 24 "//mojo/services/public/interfaces/window_manager",
24 ] 25 ]
25 } 26 }
26 27
27 source_set("view_manager_lib") { 28 source_set("view_manager_lib") {
28 sources = [ 29 sources = [
29 "access_policy.h", 30 "access_policy.h",
30 "access_policy_delegate.h", 31 "access_policy_delegate.h",
32 "animation_runner.cc",
33 "animation_runner.h",
34 "animation_runner_observer.h",
31 "client_connection.cc", 35 "client_connection.cc",
32 "client_connection.h", 36 "client_connection.h",
33 "connection_manager.cc", 37 "connection_manager.cc",
34 "connection_manager.h", 38 "connection_manager.h",
35 "connection_manager_delegate.h", 39 "connection_manager_delegate.h",
36 "default_access_policy.cc", 40 "default_access_policy.cc",
37 "default_access_policy.h", 41 "default_access_policy.h",
38 "display_manager.cc", 42 "display_manager.cc",
39 "display_manager.h", 43 "display_manager.h",
44 "scheduled_animation_group.cc",
45 "scheduled_animation_group.h",
40 "server_view.cc", 46 "server_view.cc",
41 "server_view.h", 47 "server_view.h",
42 "server_view_delegate.h", 48 "server_view_delegate.h",
43 "view_coordinate_conversions.cc", 49 "view_coordinate_conversions.cc",
44 "view_coordinate_conversions.h", 50 "view_coordinate_conversions.h",
45 "view_manager_service_impl.cc", 51 "view_manager_service_impl.cc",
46 "view_manager_service_impl.h", 52 "view_manager_service_impl.h",
47 "window_manager_access_policy.cc", 53 "window_manager_access_policy.cc",
48 "window_manager_access_policy.h", 54 "window_manager_access_policy.h",
49 ] 55 ]
(...skipping 10 matching lines...) Expand all
60 "//mojo/public/cpp/bindings:callback", 66 "//mojo/public/cpp/bindings:callback",
61 "//mojo/public/interfaces/application", 67 "//mojo/public/interfaces/application",
62 "//mojo/services/public/cpp/surfaces", 68 "//mojo/services/public/cpp/surfaces",
63 "//mojo/services/public/interfaces/geometry", 69 "//mojo/services/public/interfaces/geometry",
64 "//mojo/services/public/interfaces/input_events", 70 "//mojo/services/public/interfaces/input_events",
65 "//mojo/services/public/interfaces/native_viewport", 71 "//mojo/services/public/interfaces/native_viewport",
66 "//mojo/services/public/interfaces/surfaces", 72 "//mojo/services/public/interfaces/surfaces",
67 "//mojo/services/public/interfaces/view_manager", 73 "//mojo/services/public/interfaces/view_manager",
68 "//mojo/services/public/interfaces/window_manager", 74 "//mojo/services/public/interfaces/window_manager",
69 "//mojo/services/public/cpp/view_manager:common", 75 "//mojo/services/public/cpp/view_manager:common",
76 "//ui/gfx",
70 "//ui/gfx/geometry", 77 "//ui/gfx/geometry",
71 ] 78 ]
72 } 79 }
73 80
74 source_set("test_support") { 81 source_set("test_support") {
75 testonly = true 82 testonly = true
76 83
77 sources = [ 84 sources = [
78 "test_change_tracker.cc", 85 "test_change_tracker.cc",
79 "test_change_tracker.h", 86 "test_change_tracker.h",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "//ui/gfx/geometry", 124 "//ui/gfx/geometry",
118 ] 125 ]
119 126
120 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. 127 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
121 deps += [ "//third_party/mesa:osmesa" ] 128 deps += [ "//third_party/mesa:osmesa" ]
122 } 129 }
123 } 130 }
124 131
125 test("view_manager_service_unittests") { 132 test("view_manager_service_unittests") {
126 sources = [ 133 sources = [
134 "animation_runner_unittest.cc",
135 "scheduled_animation_group_unittest.cc",
136 "test_server_view_delegate.cc",
137 "test_server_view_delegate.h",
127 "view_coordinate_conversions_unittest.cc", 138 "view_coordinate_conversions_unittest.cc",
128 "view_manager_service_unittest.cc", 139 "view_manager_service_unittest.cc",
129 ] 140 ]
130 141
131 deps = [ 142 deps = [
132 ":test_support", 143 ":test_support",
133 ":view_manager_lib", 144 ":view_manager_lib",
134 "//base", 145 "//base",
135 "//base/test:test_support", 146 "//base/test:test_support",
136 "//mojo/converters/geometry", 147 "//mojo/converters/geometry",
137 "//mojo/converters/input_events", 148 "//mojo/converters/input_events",
138 "//mojo/edk/test:run_all_unittests", 149 "//mojo/edk/test:run_all_unittests",
139 "//mojo/environment:chromium", 150 "//mojo/environment:chromium",
140 "//mojo/public/cpp/bindings", 151 "//mojo/public/cpp/bindings",
141 "//mojo/public/interfaces/application", 152 "//mojo/public/interfaces/application",
142 "//mojo/services/public/cpp/native_viewport:args", 153 "//mojo/services/public/cpp/native_viewport:args",
143 "//mojo/services/public/cpp/view_manager", 154 "//mojo/services/public/cpp/view_manager",
144 "//mojo/services/public/interfaces/geometry", 155 "//mojo/services/public/interfaces/geometry",
145 "//mojo/services/public/interfaces/view_manager", 156 "//mojo/services/public/interfaces/view_manager",
146 "//mojo/services/public/interfaces/window_manager", 157 "//mojo/services/public/interfaces/window_manager",
147 "//testing/gtest", 158 "//testing/gtest",
159 "//ui/gfx",
148 "//ui/gfx:test_support", 160 "//ui/gfx:test_support",
149 "//ui/gfx/geometry", 161 "//ui/gfx/geometry",
150 ] 162 ]
151 163
152 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. 164 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
153 deps += [ "//third_party/mesa:osmesa" ] 165 deps += [ "//third_party/mesa:osmesa" ]
154 } 166 }
155 } 167 }
156 168
157 mojo_native_application("view_manager_service_apptests") { 169 mojo_native_application("view_manager_service_apptests") {
158 testonly = true 170 testonly = true
159 171
160 sources = [ 172 sources = [
161 "view_manager_service_apptest.cc", 173 "view_manager_service_apptest.cc",
162 ] 174 ]
163 175
164 deps = [ 176 deps = [
165 ":test_support", 177 ":test_support",
166 "//base", 178 "//base",
167 "//mojo/application", 179 "//mojo/application",
168 "//mojo/application:test_support", 180 "//mojo/application:test_support",
169 "//mojo/common", 181 "//mojo/common",
170 "//mojo/public/c/system:for_shared_library", 182 "//mojo/public/c/system:for_shared_library",
171 "//mojo/public/cpp/bindings", 183 "//mojo/public/cpp/bindings",
172 "//mojo/services/public/interfaces/geometry", 184 "//mojo/services/public/interfaces/geometry",
173 "//mojo/services/public/interfaces/view_manager", 185 "//mojo/services/public/interfaces/view_manager",
174 "//mojo/services/public/interfaces/window_manager", 186 "//mojo/services/public/interfaces/window_manager",
175 ] 187 ]
176 } 188 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698