OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/ui.gni") | |
6 import("//testing/test.gni") | |
7 | |
8 source_set("test_support") { | |
9 testonly = true | |
10 | |
11 sources = [ | |
12 "view_manager_test_base.cc", | |
13 "view_manager_test_base.h", | |
14 ] | |
15 | |
16 deps = [ | |
17 "//base", | |
18 "//base/test:test_config", | |
19 "//components/view_manager/public/cpp", | |
20 "//mojo/application/public/cpp:sources", | |
21 "//mojo/application/public/cpp:test_support", | |
22 "//testing/gtest", | |
23 ] | |
24 } | |
25 | |
26 test("mojo_view_manager_lib_unittests") { | |
27 sources = [ | |
28 "run_all_unittests.cc", | |
29 "view_manager_test_suite.cc", | |
30 "view_manager_test_suite.h", | |
31 "view_unittest.cc", | |
32 ] | |
33 | |
34 deps = [ | |
35 "//base", | |
36 "//base/test:test_support", | |
37 "//components/view_manager/public/cpp", | |
38 "//mojo/application/public/cpp", | |
39 "//testing/gtest", | |
40 "//third_party/mojo/src/mojo/public/cpp/system", | |
41 "//third_party/mojo/src/mojo/edk/system", | |
42 "//ui/mojo/geometry:interfaces", | |
43 ] | |
44 | |
45 if (use_x11) { | |
46 deps += [ "//ui/gfx/x" ] | |
47 } | |
48 } | |
OLD | NEW |