OLD | NEW |
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 testonly = true | 9 testonly = true |
10 | 10 |
11 sources = [ | 11 sources = [ |
12 "test_window.h", | 12 "test_window.h", |
13 "test_window_tree.cc", | 13 "test_window_tree.cc", |
14 "test_window_tree.h", | 14 "test_window_tree.h", |
15 "test_window_tree_connection_setup.cc", | 15 "test_window_tree_connection_setup.cc", |
16 "test_window_tree_connection_setup.h", | 16 "test_window_tree_connection_setup.h", |
17 "window_tree_client_impl_private.cc", | 17 "window_tree_client_impl_private.cc", |
18 "window_tree_client_impl_private.h", | 18 "window_tree_client_impl_private.h", |
19 ] | 19 ] |
20 | 20 |
21 deps = [ | 21 deps = [ |
22 "//base", | 22 "//base", |
23 "//components/mus/public/cpp", | 23 "//components/mus/public/cpp", |
24 "//mojo/converters/geometry", | |
25 "//testing/gtest", | 24 "//testing/gtest", |
| 25 "//ui/gfx/geometry/mojo", |
26 ] | 26 ] |
27 } | 27 } |
28 | 28 |
29 source_set("test_support") { | 29 source_set("test_support") { |
30 testonly = true | 30 testonly = true |
31 | 31 |
32 sources = [ | 32 sources = [ |
33 "window_server_shelltest_base.cc", | 33 "window_server_shelltest_base.cc", |
34 "window_server_shelltest_base.h", | 34 "window_server_shelltest_base.h", |
35 "window_server_test_base.cc", | 35 "window_server_test_base.cc", |
(...skipping 22 matching lines...) Expand all Loading... |
58 "window_unittest.cc", | 58 "window_unittest.cc", |
59 ] | 59 ] |
60 | 60 |
61 deps = [ | 61 deps = [ |
62 ":unittest_support", | 62 ":unittest_support", |
63 "//base", | 63 "//base", |
64 "//base/test:test_support", | 64 "//base/test:test_support", |
65 "//components/mus/common:mus_common", | 65 "//components/mus/common:mus_common", |
66 "//components/mus/public/cpp", | 66 "//components/mus/public/cpp", |
67 "//mojo/common:common_base", | 67 "//mojo/common:common_base", |
68 "//mojo/converters/geometry", | |
69 "//mojo/converters/input_events", | 68 "//mojo/converters/input_events", |
70 "//mojo/edk/system", | 69 "//mojo/edk/system", |
71 "//mojo/public/cpp/system", | 70 "//mojo/public/cpp/system", |
72 "//services/shell/public/cpp", | 71 "//services/shell/public/cpp", |
73 "//testing/gtest", | 72 "//testing/gtest", |
74 "//ui/events", | 73 "//ui/events", |
75 "//ui/gfx:test_support", | 74 "//ui/gfx:test_support", |
76 "//ui/gfx/geometry", | 75 "//ui/gfx/geometry", |
77 "//ui/mojo/geometry:interfaces", | 76 "//ui/gfx/geometry/mojo", |
| 77 "//ui/gfx/geometry/mojo:interfaces", |
78 ] | 78 ] |
79 | 79 |
80 if (use_x11) { | 80 if (use_x11) { |
81 deps += [ "//ui/gfx/x" ] | 81 deps += [ "//ui/gfx/x" ] |
82 } | 82 } |
83 } | 83 } |
OLD | NEW |