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 "view_manager_test_suite.cc", |
| 11 "view_manager_test_suite.h", |
| 12 "view_manager_unittest.cc", |
| 13 "view_manager_unittests.cc", |
10 "view_unittest.cc", | 14 "view_unittest.cc", |
11 "view_manager_unittest.cc", | |
12 ] | 15 ] |
13 | 16 |
14 deps = [ | 17 deps = [ |
15 "//base", | 18 "//base", |
16 "//base/test:test_support", | 19 "//base/test:test_support", |
17 "//mojo/converters/geometry", | |
18 "//mojo/environment:chromium", | |
19 "//mojo/public/cpp/application", | 20 "//mojo/public/cpp/application", |
20 "//mojo/services/geometry/public/cpp", | 21 "//mojo/services/geometry/public/cpp", |
21 "//mojo/services/geometry/public/interfaces", | 22 "//mojo/services/geometry/public/interfaces", |
22 "//mojo/services/view_manager/public/cpp", | 23 "//mojo/services/view_manager/public/cpp", |
23 "//mojo/services/view_manager/public/cpp/lib:run_unittests", | |
24 "//mojo/services/view_manager/public/interfaces", | 24 "//mojo/services/view_manager/public/interfaces", |
25 "//shell/application_manager", | 25 "//shell/application_manager", |
26 "//shell:test_support", | 26 "//shell:test_support", |
27 "//testing/gtest", | 27 "//testing/gtest", |
28 ] | 28 ] |
| 29 |
| 30 if (use_x11) { |
| 31 deps += [ "//ui/gfx/x" ] |
| 32 } |
29 } | 33 } |
OLD | NEW |