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 test("mojo_view_manager_lib_unittests") { | 8 test("mojo_view_manager_lib_unittests") { |
9 sources = [ | 9 sources = [ |
10 "run_all_unittests.cc", | 10 "run_all_unittests.cc", |
11 "view_manager_test_suite.cc", | 11 "view_manager_test_suite.cc", |
12 "view_manager_test_suite.h", | 12 "view_manager_test_suite.h", |
13 "view_unittest.cc", | 13 "view_unittest.cc", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//base/test:test_support", | 18 "//base/test:test_support", |
19 | 19 "//components/view_manager/public/cpp", |
20 # TODO(vtl): These non-public deps are illegal here. This should be | |
21 # converted to an apptest. | |
22 "//mojo/application/public/cpp", | 20 "//mojo/application/public/cpp", |
23 "//mojo/edk/system", | |
24 "//mojo/public/cpp/system", | |
25 "//mojo/services/geometry/public/cpp", | |
26 "//mojo/services/geometry/public/interfaces", | |
27 "//mojo/services/view_manager/public/cpp", | |
28 "//testing/gtest", | 21 "//testing/gtest", |
| 22 "//third_party/mojo/src/mojo/public/cpp/system", |
| 23 "//third_party/mojo/src/mojo/edk/system", |
| 24 "//ui/mojo/geometry:interfaces", |
29 ] | 25 ] |
30 | 26 |
31 if (use_x11) { | 27 if (use_x11) { |
32 deps += [ "//ui/gfx/x" ] | 28 deps += [ "//ui/gfx/x" ] |
33 } | 29 } |
34 } | 30 } |
OLD | NEW |