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 "../../../../geometry/cpp", | 17 "../../../geometry/cpp", |
18 "../../../../geometry/interfaces", | 18 "../../../geometry/interfaces", |
19 "//base", | 19 "//base", |
20 "//base/test:test_support", | 20 "//base/test:test_support", |
21 | 21 |
22 # TODO(vtl): These non-public deps are illegal here. This should be | 22 # TODO(vtl): These non-public deps are illegal here. This should be |
23 # converted to an apptest. | 23 # converted to an apptest. |
24 "//mojo/application", | 24 "//mojo/application", |
25 "//mojo/edk/system", | 25 "//mojo/edk/system", |
26 "//mojo/environment:chromium", | 26 "//mojo/environment:chromium", |
27 "//mojo/public/cpp/application", | 27 "//mojo/public/cpp/application", |
28 "//mojo/public/cpp/system", | 28 "//mojo/public/cpp/system", |
29 "//mojo/services/view_manager/public/cpp", | 29 "//mojo/services/view_manager/cpp", |
30 "//testing/gtest", | 30 "//testing/gtest", |
31 ] | 31 ] |
32 | 32 |
33 if (use_x11) { | 33 if (use_x11) { |
34 deps += [ "//ui/gfx/x" ] | 34 deps += [ "//ui/gfx/x" ] |
35 } | 35 } |
36 } | 36 } |
OLD | NEW |