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

Side by Side Diff: services/ui/ws/BUILD.gn

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months 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
« no previous file with comments | « services/ui/test_wm/test_wm.cc ('k') | services/ui/ws/accelerator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/mojo_application_manifest.gni") 8 import("//mojo/public/mojo_application_manifest.gni")
9 9
10 source_set("lib") { 10 source_set("lib") {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 "window_tree_host_factory.cc", 99 "window_tree_host_factory.cc",
100 "window_tree_host_factory.h", 100 "window_tree_host_factory.h",
101 ] 101 ]
102 102
103 public_deps = [ 103 public_deps = [
104 "//base", 104 "//base",
105 "//cc", 105 "//cc",
106 "//cc/ipc:interfaces", 106 "//cc/ipc:interfaces",
107 "//cc/surfaces", 107 "//cc/surfaces",
108 "//cc/surfaces:surface_id", 108 "//cc/surfaces:surface_id",
109 "//components/mus/common:mus_common",
110 "//components/mus/gles2",
111 "//components/mus/public/interfaces",
112 "//components/mus/surfaces",
113 "//mojo/common:common_base", 109 "//mojo/common:common_base",
114 "//mojo/public/cpp/bindings", 110 "//mojo/public/cpp/bindings",
115 "//services/shell/public/cpp", 111 "//services/shell/public/cpp",
116 "//services/shell/public/interfaces", 112 "//services/shell/public/interfaces",
117 "//services/tracing/public/cpp", 113 "//services/tracing/public/cpp",
114 "//services/ui/common:mus_common",
115 "//services/ui/gles2",
116 "//services/ui/public/interfaces",
117 "//services/ui/surfaces",
118 "//ui/base", 118 "//ui/base",
119 "//ui/display", 119 "//ui/display",
120 "//ui/events", 120 "//ui/events",
121 "//ui/events/devices", 121 "//ui/events/devices",
122 "//ui/events/platform", 122 "//ui/events/platform",
123 "//ui/gfx", 123 "//ui/gfx",
124 "//ui/gfx/geometry", 124 "//ui/gfx/geometry",
125 "//ui/gfx/geometry/mojo", 125 "//ui/gfx/geometry/mojo",
126 "//ui/gl", 126 "//ui/gl",
127 "//ui/platform_window", 127 "//ui/platform_window",
(...skipping 15 matching lines...) Expand all
143 } 143 }
144 144
145 source_set("test_interface") { 145 source_set("test_interface") {
146 sources = [ 146 sources = [
147 "window_server_test_impl.cc", 147 "window_server_test_impl.cc",
148 "window_server_test_impl.h", 148 "window_server_test_impl.h",
149 ] 149 ]
150 150
151 deps = [ 151 deps = [
152 ":lib", 152 ":lib",
153 "//components/mus/public/interfaces",
154 "//mojo/public/cpp/bindings:bindings", 153 "//mojo/public/cpp/bindings:bindings",
154 "//services/ui/public/interfaces",
155 "//ui/gfx", 155 "//ui/gfx",
156 ] 156 ]
157 } 157 }
158 158
159 source_set("test_support") { 159 source_set("test_support") {
160 testonly = true 160 testonly = true
161 161
162 sources = [ 162 sources = [
163 "test_change_tracker.cc", 163 "test_change_tracker.cc",
164 "test_change_tracker.h", 164 "test_change_tracker.h",
165 ] 165 ]
166 166
167 deps = [ 167 deps = [
168 "//base", 168 "//base",
169 "//components/mus/common:mus_common",
170 "//components/mus/public/cpp",
171 "//components/mus/public/interfaces",
172 "//mojo/common", 169 "//mojo/common",
173 "//mojo/public/cpp/bindings:bindings", 170 "//mojo/public/cpp/bindings:bindings",
171 "//services/ui/common:mus_common",
172 "//services/ui/public/cpp",
173 "//services/ui/public/interfaces",
174 "//ui/gfx/geometry/mojo", 174 "//ui/gfx/geometry/mojo",
175 ] 175 ]
176 } 176 }
177 177
178 group("tests") { 178 group("tests") {
179 testonly = true 179 testonly = true
180 deps = [ 180 deps = [
181 ":mus_ws_unittests", 181 ":mus_ws_unittests",
182 ] 182 ]
183 if (!is_android) { 183 if (!is_android) {
184 deps += [ "//components/mus/public/cpp/tests:mus_public_unittests" ] 184 deps += [ "//services/ui/public/cpp/tests:mus_public_unittests" ]
185 } 185 }
186 } 186 }
187 187
188 test("mus_ws_unittests") { 188 test("mus_ws_unittests") {
189 sources = [ 189 sources = [
190 "animation_runner_unittest.cc", 190 "animation_runner_unittest.cc",
191 "cursor_unittest.cc", 191 "cursor_unittest.cc",
192 "display_unittest.cc", 192 "display_unittest.cc",
193 "event_dispatcher_unittest.cc", 193 "event_dispatcher_unittest.cc",
194 "event_matcher_unittest.cc", 194 "event_matcher_unittest.cc",
(...skipping 17 matching lines...) Expand all
212 "window_tree_unittest.cc", 212 "window_tree_unittest.cc",
213 ] 213 ]
214 214
215 deps = [ 215 deps = [
216 ":lib", 216 ":lib",
217 ":test_support", 217 ":test_support",
218 "//base", 218 "//base",
219 "//base/test:test_config", 219 "//base/test:test_config",
220 "//base/test:test_support", 220 "//base/test:test_support",
221 "//cc:cc", 221 "//cc:cc",
222 "//components/mus/common:mus_common",
223 "//components/mus/public/cpp",
224 "//components/mus/public/cpp/tests:test_support",
225 "//components/mus/public/interfaces",
226 "//components/mus/surfaces",
227 "//mojo/public/cpp/bindings:bindings", 222 "//mojo/public/cpp/bindings:bindings",
228 "//services/shell/public/cpp:shell_test_support", 223 "//services/shell/public/cpp:shell_test_support",
229 "//services/shell/public/cpp:sources", 224 "//services/shell/public/cpp:sources",
230 "//services/shell/public/cpp/test:run_all_shelltests", 225 "//services/shell/public/cpp/test:run_all_shelltests",
231 "//services/shell/public/interfaces", 226 "//services/shell/public/interfaces",
227 "//services/ui/common:mus_common",
228 "//services/ui/public/cpp",
229 "//services/ui/public/cpp/tests:test_support",
230 "//services/ui/public/interfaces",
231 "//services/ui/surfaces",
232 "//testing/gtest", 232 "//testing/gtest",
233 "//third_party/mesa:osmesa", 233 "//third_party/mesa:osmesa",
234 "//ui/events", 234 "//ui/events",
235 "//ui/gfx", 235 "//ui/gfx",
236 "//ui/gfx:test_support", 236 "//ui/gfx:test_support",
237 "//ui/gfx/geometry", 237 "//ui/gfx/geometry",
238 "//ui/gfx/geometry/mojo", 238 "//ui/gfx/geometry/mojo",
239 "//ui/gl", 239 "//ui/gl",
240 ] 240 ]
241 241
242 if (use_x11) { 242 if (use_x11) {
243 deps += [ "//tools/xdisplaycheck" ] 243 deps += [ "//tools/xdisplaycheck" ]
244 } 244 }
245 245
246 data_deps = [ 246 data_deps = [
247 ":mus_ws_unittests_app_manifest", 247 ":mus_ws_unittests_app_manifest",
248 ] 248 ]
249 } 249 }
250 250
251 mojo_application_manifest("mus_ws_unittests_app_manifest") { 251 mojo_application_manifest("mus_ws_unittests_app_manifest") {
252 application_name = "mus_ws_unittests_app" 252 application_name = "mus_ws_unittests_app"
253 source = "mus_ws_unittests_app_manifest.json" 253 source = "mus_ws_unittests_app_manifest.json"
254 } 254 }
OLDNEW
« no previous file with comments | « services/ui/test_wm/test_wm.cc ('k') | services/ui/ws/accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698