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 sources = [ | 9 sources = [ |
10 "test_window.h", | 10 "test_window.h", |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 sources = [ | 22 sources = [ |
23 "window_server_test_base.cc", | 23 "window_server_test_base.cc", |
24 "window_server_test_base.h", | 24 "window_server_test_base.h", |
25 ] | 25 ] |
26 | 26 |
27 deps = [ | 27 deps = [ |
28 "//base", | 28 "//base", |
29 "//base/test:test_config", | 29 "//base/test:test_config", |
30 "//components/mus/public/cpp", | 30 "//components/mus/public/cpp", |
31 "//mojo/application/public/cpp:sources", | 31 "//mojo/shell/public/cpp:sources", |
32 "//mojo/application/public/cpp:test_support", | 32 "//mojo/shell/public/cpp:test_support", |
33 "//testing/gtest", | 33 "//testing/gtest", |
34 ] | 34 ] |
35 } | 35 } |
36 | 36 |
37 test("mojo_view_manager_lib_unittests") { | 37 test("mojo_view_manager_lib_unittests") { |
38 sources = [ | 38 sources = [ |
39 "run_all_unittests.cc", | 39 "run_all_unittests.cc", |
40 "test_window_tree.cc", | 40 "test_window_tree.cc", |
41 "test_window_tree.h", | 41 "test_window_tree.h", |
42 "window_server_test_suite.cc", | 42 "window_server_test_suite.cc", |
43 "window_server_test_suite.h", | 43 "window_server_test_suite.h", |
44 "window_tree_client_impl_unittest.cc", | 44 "window_tree_client_impl_unittest.cc", |
45 "window_unittest.cc", | 45 "window_unittest.cc", |
46 ] | 46 ] |
47 | 47 |
48 deps = [ | 48 deps = [ |
49 ":unittest_support", | 49 ":unittest_support", |
50 "//base", | 50 "//base", |
51 "//base/test:test_support", | 51 "//base/test:test_support", |
52 "//components/mus/common", | 52 "//components/mus/common", |
53 "//components/mus/public/cpp", | 53 "//components/mus/public/cpp", |
54 "//mojo/application/public/cpp", | |
55 "//mojo/common:common_base", | 54 "//mojo/common:common_base", |
56 "//mojo/converters/geometry", | 55 "//mojo/converters/geometry", |
57 "//mojo/converters/input_events", | 56 "//mojo/converters/input_events", |
58 "//mojo/gles2", | 57 "//mojo/gles2", |
59 "//mojo/platform_handle:platform_handle_impl", | 58 "//mojo/platform_handle:platform_handle_impl", |
60 "//mojo/public/cpp/system", | 59 "//mojo/public/cpp/system", |
| 60 "//mojo/shell/public/cpp", |
61 "//testing/gtest", | 61 "//testing/gtest", |
62 "//third_party/mojo/src/mojo/edk/system", | 62 "//third_party/mojo/src/mojo/edk/system", |
63 "//ui/events", | 63 "//ui/events", |
64 "//ui/gfx:test_support", | 64 "//ui/gfx:test_support", |
65 "//ui/gfx/geometry", | 65 "//ui/gfx/geometry", |
66 "//ui/mojo/geometry:interfaces", | 66 "//ui/mojo/geometry:interfaces", |
67 ] | 67 ] |
68 | 68 |
69 if (use_x11) { | 69 if (use_x11) { |
70 deps += [ "//ui/gfx/x" ] | 70 deps += [ "//ui/gfx/x" ] |
71 } | 71 } |
72 } | 72 } |
OLD | NEW |