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 | 6 |
7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_lib_unittests | 7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_lib_unittests |
8 test("mojo_view_manager_lib_unittests") { | 8 test("mojo_view_manager_lib_unittests") { |
9 sources = [ | 9 sources = [ |
10 "view_unittest.cc", | 10 "view_unittest.cc", |
11 "view_manager_unittest.cc", | 11 "view_manager_unittest.cc", |
12 ] | 12 ] |
13 | 13 |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
16 "//base/test:test_support", | 16 "//base/test:test_support", |
17 "//testing/gtest", | 17 "//testing/gtest", |
18 "//ui/gfx", | 18 "//ui/gfx", |
19 "//ui/gfx:test_support", | 19 "//ui/gfx:test_support", |
20 "//mojo/application_manager", | 20 "//mojo/application_manager", |
| 21 "//mojo/converters/geometry", |
21 "//mojo/environment:chromium", | 22 "//mojo/environment:chromium", |
22 "//mojo/services/public/interfaces/geometry", | 23 "//mojo/services/public/interfaces/geometry", |
23 "//mojo/services/public/cpp/geometry", | |
24 "//mojo/shell:test_support", | 24 "//mojo/shell:test_support", |
25 "//mojo/services/public/interfaces/view_manager", | 25 "//mojo/services/public/interfaces/view_manager", |
26 "//mojo/services/public/cpp/view_manager", | 26 "//mojo/services/public/cpp/view_manager", |
27 ] | 27 ] |
28 if (use_aura) { | 28 if (use_aura) { |
29 deps += [ "//mojo/services/public/cpp/view_manager/lib:run_unittests" ] | 29 deps += [ "//mojo/services/public/cpp/view_manager/lib:run_unittests" ] |
30 } else { | 30 } else { |
31 deps += [ "//mojo/edk/test:run_all_unittests" ] | 31 deps += [ "//mojo/edk/test:run_all_unittests" ] |
32 } | 32 } |
33 } | 33 } |
OLD | NEW |