1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
import("//testing/test.gni")
source_set("unittest_support") {
sources = [
"test_window.h",
]
deps = [
"//base",
"//components/mus/public/cpp",
]
}
source_set("test_support") {
testonly = true
sources = [
"window_server_test_base.cc",
"window_server_test_base.h",
]
deps = [
"//base",
"//base/test:test_config",
"//components/mus/public/cpp",
"//mojo/application/public/cpp:sources",
"//mojo/application/public/cpp:test_support",
"//testing/gtest",
]
}
test("mojo_view_manager_lib_unittests") {
sources = [
"run_all_unittests.cc",
"test_window_tree.cc",
"test_window_tree.h",
"window_server_test_suite.cc",
"window_server_test_suite.h",
"window_tree_client_impl_unittest.cc",
"window_unittest.cc",
]
deps = [
":unittest_support",
"//base",
"//base/test:test_support",
"//components/mus/common",
"//components/mus/public/cpp",
"//mojo/application/public/cpp",
"//mojo/converters/geometry",
"//mojo/gles2",
"//mojo/platform_handle:platform_handle_impl",
"//mojo/public/cpp/system",
"//testing/gtest",
"//third_party/mojo/src/mojo/edk/system",
"//ui/gfx:test_support",
"//ui/gfx/geometry",
"//ui/mojo/geometry:interfaces",
]
if (use_x11) {
deps += [ "//ui/gfx/x" ]
}
}
|