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

Side by Side Diff: ui/views/mus/BUILD.gn

Issue 2471033005: Adds DesktopWindowTreeHostMus (Closed)
Patch Set: fix Created 4 years, 1 month 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//services/service_manager/public/cpp/service.gni") 7 import("//services/service_manager/public/cpp/service.gni")
8 import("//services/service_manager/public/service_manifest.gni") 8 import("//services/service_manager/public/service_manifest.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
11 11
12 component("mus") { 12 component("mus") {
13 output_name = "ui_views_mus_lib" 13 output_name = "ui_views_mus_lib"
14 14
15 sources = [ 15 sources = [
16 "aura_init.cc", 16 "aura_init.cc",
17 "aura_init.h", 17 "aura_init.h",
18 "clipboard_mus.cc", 18 "clipboard_mus.cc",
19 "clipboard_mus.h", 19 "clipboard_mus.h",
20 "desktop_window_tree_host_mus.cc",
21 "desktop_window_tree_host_mus.h",
20 "drag_drop_client_mus.cc", 22 "drag_drop_client_mus.cc",
21 "drag_drop_client_mus.h", 23 "drag_drop_client_mus.h",
22 "drop_target_mus.cc", 24 "drop_target_mus.cc",
23 "drop_target_mus.h", 25 "drop_target_mus.h",
24 "input_method_mus.cc", 26 "input_method_mus.cc",
25 "input_method_mus.h", 27 "input_method_mus.h",
26 "mus_client.cc", 28 "mus_client.cc",
27 "mus_client.h", 29 "mus_client.h",
28 "mus_export.h", 30 "mus_export.h",
29 "native_widget_mus.cc", 31 "native_widget_mus.cc",
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 "//build/config/linux:xext", 228 "//build/config/linux:xext",
227 ] 229 ]
228 deps += [ 230 deps += [
229 "//ui/events/devices", 231 "//ui/events/devices",
230 "//ui/events/platform/x11", 232 "//ui/events/platform/x11",
231 "//ui/gfx/x", 233 "//ui/gfx/x",
232 ] 234 ]
233 } 235 }
234 } 236 }
235 237
238 static_library("test_support_aura_mus") {
239 testonly = true
240
241 sources = [
242 "../test/native_widget_factory_aura_mus.cc",
243 "test_utils.h",
244 "views_aura_mus_test_suite.cc",
245 "views_aura_mus_test_suite.h",
246 ]
247
248 deps = [
249 ":mus",
250 "//base",
251 "//base/test:test_support",
252 "//services/service_manager/background:lib",
253 "//services/service_manager/public/cpp:sources",
254 "//services/ui/common:mus_common",
255 "//testing/gtest",
256 "//ui/aura",
257 "//ui/gl:test_support",
258 "//ui/resources",
259 "//ui/resources:ui_test_pak",
260 "//ui/views",
261 "//ui/views:test_support_internal",
262 ]
263
264 data_deps = [
265 "//ui/resources:ui_test_pak_data",
266 ]
267 }
268
269 test("views_aura_mus_unittests") {
270 testonly = true
271
272 sources = [
273 "run_all_unittests_aura_mus.cc",
274 "screen_mus_unittest.cc",
275 ]
276
277 configs += [ "//build/config:precompiled_headers" ]
278
279 deps = [
280 ":mus",
281 ":test_support_aura_mus",
282 "//base",
283 "//base:i18n",
284 "//base/test:test_support",
285 "//cc",
286 "//net",
287 "//services/service_manager/background:main", # Provides main().
288 "//services/ui/public/interfaces",
289 "//skia",
290 "//testing/gtest",
291 "//third_party/icu",
292 "//ui/accessibility",
293 "//ui/aura",
294 "//ui/aura:test_support",
295 "//ui/base",
296 "//ui/base:test_support",
297 "//ui/base/ime",
298 "//ui/compositor:test_support",
299 "//ui/events:dom_keycode_converter",
300 "//ui/events:events_base",
301 "//ui/events:test_support",
302 "//ui/events/platform",
303 "//ui/gfx:test_support",
304 "//ui/gfx/geometry",
305 "//ui/native_theme",
306 "//ui/strings",
307 "//ui/touch_selection",
308 "//ui/views",
309 "//ui/views:test_support_internal",
310 "//ui/views:views_unittests_sources",
311 "//ui/wm",
312 "//url",
313 ]
314
315 data_deps = [
316 ":unittests_manifest",
317 "//services/ui/ime/test_ime_driver",
318 "//services/ui/test_wm",
319 ]
320
321 if (is_win) {
322 deps += [
323 "//build/win:default_exe_manifest",
324 "//third_party/iaccessible2",
325 "//third_party/wtl",
326 ]
327 libs = [
328 "imm32.lib",
329 "oleacc.lib",
330 "comctl32.lib",
331 ]
332 }
333
334 if (use_x11) {
335 configs += [
336 "//build/config/linux:x11",
337 "//build/config/linux:xext",
338 ]
339 deps += [
340 "//ui/events/devices",
341 "//ui/events/platform/x11",
342 "//ui/gfx/x",
343 ]
344 }
345 }
346
236 # Tests that must run sequentially because they access system-wide features 347 # Tests that must run sequentially because they access system-wide features
237 # like capture. 348 # like capture.
238 test("views_mus_interactive_ui_tests") { 349 test("views_mus_interactive_ui_tests") {
239 testonly = true 350 testonly = true
240 351
241 sources = [ 352 sources = [
242 "../widget/widget_interactive_uitest.cc", 353 "../widget/widget_interactive_uitest.cc",
243 "clipboard_unittest.cc", 354 "clipboard_unittest.cc",
244 "interactive_ui_tests_mus.cc", 355 "interactive_ui_tests_mus.cc",
245 ] 356 ]
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 type = "exe" 397 type = "exe"
287 name = "views_mus_unittests" 398 name = "views_mus_unittests"
288 source = "unittests_manifest.json" 399 source = "unittests_manifest.json"
289 } 400 }
290 401
291 service_manifest("interactive_ui_tests_manifest") { 402 service_manifest("interactive_ui_tests_manifest") {
292 type = "exe" 403 type = "exe"
293 name = "views_mus_interactive_ui_tests" 404 name = "views_mus_interactive_ui_tests"
294 source = "interactive_ui_tests_manifest.json" 405 source = "interactive_ui_tests_manifest.json"
295 } 406 }
OLDNEW
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/mus/DEPS » ('j') | ui/views/mus/aura_init.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698