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 static_library("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_client_setup.cc", | 15 "test_window_tree_client_setup.cc", |
16 "test_window_tree_client_setup.h", | 16 "test_window_tree_client_setup.h", |
17 "window_tree_client_private.cc", | 17 "window_tree_client_private.cc", |
18 "window_tree_client_private.h", | 18 "window_tree_client_private.h", |
19 ] | 19 ] |
20 | 20 |
21 deps = [ | 21 deps = [ |
22 "//base", | 22 "//base", |
23 "//services/ui/public/cpp", | 23 "//services/ui/public/cpp", |
24 "//testing/gtest", | 24 "//testing/gtest", |
25 "//ui/display", | 25 "//ui/display", |
26 "//ui/gfx/geometry/mojo", | 26 "//ui/gfx/geometry/mojo", |
27 ] | 27 ] |
28 } | 28 } |
29 | 29 |
30 source_set("test_support") { | 30 static_library("test_support") { |
31 testonly = true | 31 testonly = true |
32 | 32 |
33 sources = [ | 33 sources = [ |
34 "window_server_shelltest_base.cc", | 34 "window_server_shelltest_base.cc", |
35 "window_server_shelltest_base.h", | 35 "window_server_shelltest_base.h", |
36 "window_server_test_base.cc", | 36 "window_server_test_base.cc", |
37 "window_server_test_base.h", | 37 "window_server_test_base.h", |
38 ] | 38 ] |
39 | 39 |
40 deps = [ | 40 deps = [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 "//ui/events", | 73 "//ui/events", |
74 "//ui/gfx:test_support", | 74 "//ui/gfx:test_support", |
75 "//ui/gfx/geometry", | 75 "//ui/gfx/geometry", |
76 "//ui/gfx/geometry/mojo", | 76 "//ui/gfx/geometry/mojo", |
77 ] | 77 ] |
78 | 78 |
79 if (use_x11) { | 79 if (use_x11) { |
80 deps += [ "//ui/gfx/x" ] | 80 deps += [ "//ui/gfx/x" ] |
81 } | 81 } |
82 } | 82 } |
OLD | NEW |