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

Side by Side Diff: components/mus/public/cpp/tests/BUILD.gn

Issue 1771393002: Convert mus apptests to shelltests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « BUILD.gn ('k') | components/mus/public/cpp/tests/window_server_shelltest_base.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 7
8 source_set("unittest_support") { 8 source_set("unittest_support") {
9 sources = [ 9 sources = [
10 "test_window.h", 10 "test_window.h",
11 ] 11 ]
12 12
13 deps = [ 13 deps = [
14 "//base", 14 "//base",
15 "//components/mus/public/cpp", 15 "//components/mus/public/cpp",
16 ] 16 ]
17 } 17 }
18 18
19 source_set("test_support") { 19 source_set("test_support") {
20 testonly = true 20 testonly = true
21 21
22 sources = [ 22 sources = [
23 "window_server_shelltest_base.cc",
24 "window_server_shelltest_base.h",
23 "window_server_test_base.cc", 25 "window_server_test_base.cc",
24 "window_server_test_base.h", 26 "window_server_test_base.h",
25 ] 27 ]
26 28
27 deps = [ 29 deps = [
28 "//base", 30 "//base",
29 "//base/test:test_config", 31 "//base/test:test_config",
32 "//components/mus/common:mus_common",
30 "//components/mus/public/cpp", 33 "//components/mus/public/cpp",
34 "//mojo/shell/public/cpp:shell_test_support",
31 "//mojo/shell/public/cpp:sources", 35 "//mojo/shell/public/cpp:sources",
32 "//mojo/shell/public/cpp:test_support", 36 "//mojo/shell/public/cpp:test_support",
33 "//testing/gtest", 37 "//testing/gtest",
38 "//ui/gl",
34 ] 39 ]
35 } 40 }
36 41
37 test("mojo_view_manager_lib_unittests") { 42 test("mojo_view_manager_lib_unittests") {
38 sources = [ 43 sources = [
39 "run_all_unittests.cc", 44 "run_all_unittests.cc",
40 "test_window_tree.cc", 45 "test_window_tree.cc",
41 "test_window_tree.h", 46 "test_window_tree.h",
42 "window_server_test_suite.cc", 47 "window_server_test_suite.cc",
43 "window_server_test_suite.h", 48 "window_server_test_suite.h",
(...skipping 19 matching lines...) Expand all
63 "//ui/events", 68 "//ui/events",
64 "//ui/gfx:test_support", 69 "//ui/gfx:test_support",
65 "//ui/gfx/geometry", 70 "//ui/gfx/geometry",
66 "//ui/mojo/geometry:interfaces", 71 "//ui/mojo/geometry:interfaces",
67 ] 72 ]
68 73
69 if (use_x11) { 74 if (use_x11) {
70 deps += [ "//ui/gfx/x" ] 75 deps += [ "//ui/gfx/x" ]
71 } 76 }
72 } 77 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | components/mus/public/cpp/tests/window_server_shelltest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698