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

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

Issue 2740123002: Disable unit tests for Window Manager Client in external window mode (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | 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("//services/catalog/public/tools/catalog.gni") 7 import("//services/catalog/public/tools/catalog.gni")
8 import("//services/service_manager/public/cpp/service.gni") 8 import("//services/service_manager/public/cpp/service.gni")
9 import("//services/service_manager/public/service_manifest.gni") 9 import("//services/service_manager/public/service_manifest.gni")
10 import("//services/service_manager/public/tools/test/service_test.gni") 10 import("//services/service_manager/public/tools/test/service_test.gni")
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 164 }
165 165
166 static_library("test_support") { 166 static_library("test_support") {
167 testonly = true 167 testonly = true
168 168
169 sources = [ 169 sources = [
170 "test_change_tracker.cc", 170 "test_change_tracker.cc",
171 "test_change_tracker.h", 171 "test_change_tracker.h",
172 "window_server_service_test_base.cc", 172 "window_server_service_test_base.cc",
173 "window_server_service_test_base.h", 173 "window_server_service_test_base.h",
174 "window_server_test_base.cc",
175 "window_server_test_base.h",
176 ] 174 ]
177 175
176 if (!use_ozone || is_chromeos) {
kylechar 2017/03/09 15:26:28 Add a variable that you can reuse for this. is_ex
177 # WindowServerTestBase assumes an initial display (and root) is provided
178 # at startup, which is not the case on platforms running external window
179 # mode.
180 sources = [
181 "window_server_test_base.cc",
182 "window_server_test_base.h",
183 ]
184 }
185
178 deps = [ 186 deps = [
179 "//base", 187 "//base",
180 "//base/test:test_config", 188 "//base/test:test_config",
181 "//mojo/common", 189 "//mojo/common",
182 "//mojo/public/cpp/bindings:bindings", 190 "//mojo/public/cpp/bindings:bindings",
183 "//services/service_manager/public/cpp:service_test_support", 191 "//services/service_manager/public/cpp:service_test_support",
184 "//services/service_manager/public/cpp:sources", 192 "//services/service_manager/public/cpp:sources",
185 "//services/ui/common:mus_common", 193 "//services/ui/common:mus_common",
186 "//services/ui/public/cpp", 194 "//services/ui/public/cpp",
187 "//services/ui/public/interfaces", 195 "//services/ui/public/interfaces",
(...skipping 28 matching lines...) Expand all
216 "server_window_drawn_tracker_unittest.cc", 224 "server_window_drawn_tracker_unittest.cc",
217 "test_server_window_delegate.cc", 225 "test_server_window_delegate.cc",
218 "test_server_window_delegate.h", 226 "test_server_window_delegate.h",
219 "test_utils.cc", 227 "test_utils.cc",
220 "test_utils.h", 228 "test_utils.h",
221 "transient_windows_unittest.cc", 229 "transient_windows_unittest.cc",
222 "user_activity_monitor_unittest.cc", 230 "user_activity_monitor_unittest.cc",
223 "user_display_manager_unittest.cc", 231 "user_display_manager_unittest.cc",
224 "window_coordinate_conversions_unittest.cc", 232 "window_coordinate_conversions_unittest.cc",
225 "window_finder_unittest.cc", 233 "window_finder_unittest.cc",
226 "window_manager_client_unittest.cc",
227 "window_manager_state_unittest.cc", 234 "window_manager_state_unittest.cc",
228 "window_tree_client_unittest.cc", 235 "window_tree_client_unittest.cc",
229 "window_tree_unittest.cc", 236 "window_tree_unittest.cc",
230 ] 237 ]
231 238
239 if (!use_ozone || is_chromeos) {
240 # A window manager client is not needed on platforms running external
241 # window mode, since the host system is always the window manager.
242 sources += [ "window_manager_client_unittest.cc" ]
243 }
244
232 catalog = ":mus_ws_unittests_catalog" 245 catalog = ":mus_ws_unittests_catalog"
233 246
234 deps = [ 247 deps = [
235 ":lib", 248 ":lib",
236 ":test_support", 249 ":test_support",
237 "//base", 250 "//base",
238 "//base/test:test_config", 251 "//base/test:test_config",
239 "//base/test:test_support", 252 "//base/test:test_support",
240 "//cc:cc", 253 "//cc:cc",
241 "//gpu/ipc/client", 254 "//gpu/ipc/client",
(...skipping 21 matching lines...) Expand all
263 service_manifest("mus_ws_unittests_app_manifest") { 276 service_manifest("mus_ws_unittests_app_manifest") {
264 name = "mus_ws_unittests_app" 277 name = "mus_ws_unittests_app"
265 source = "mus_ws_unittests_app_manifest.json" 278 source = "mus_ws_unittests_app_manifest.json"
266 } 279 }
267 280
268 catalog("mus_ws_unittests_catalog") { 281 catalog("mus_ws_unittests_catalog") {
269 embedded_services = [ ":mus_ws_unittests_app_manifest" ] 282 embedded_services = [ ":mus_ws_unittests_app_manifest" ]
270 283
271 standalone_services = [ "//services/ui:manifest" ] 284 standalone_services = [ "//services/ui:manifest" ]
272 } 285 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698