OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 group("tests") { | 10 group("tests") { |
11 testonly = true | 11 testonly = true |
12 deps = [ | 12 deps = [ |
13 ":mojo_shell_unittests", | 13 ":mojo_shell_unittests", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 test("mojo_shell_unittests") { | 17 test("mojo_shell_unittests") { |
18 sources = [ | 18 sources = [ |
19 "loader_unittest.cc", | 19 "loader_unittest.cc", |
20 "mojo_shell_unittests.cc", | 20 "mojo_shell_unittests.cc", |
21 ] | 21 ] |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 ":interfaces", | 24 ":interfaces", |
25 "//base", | 25 "//base", |
26 "//base/test:test_support", | 26 "//base/test:test_support", |
27 "//mojo/edk/system", | 27 "//mojo/edk/system", |
28 "//mojo/public/cpp/system", | 28 "//mojo/public/cpp/system", |
| 29 "//mojo/services/catalog:unittests", |
29 "//mojo/shell", | 30 "//mojo/shell", |
30 "//mojo/shell/background:lib", | 31 "//mojo/shell/background:lib", |
31 "//mojo/shell/background:main", | 32 "//mojo/shell/background:main", |
32 "//mojo/shell/background/tests:unittests", | 33 "//mojo/shell/background/tests:unittests", |
33 "//mojo/shell/public/cpp", | 34 "//mojo/shell/public/cpp", |
34 "//mojo/shell/tests/connect", | 35 "//mojo/shell/tests/connect", |
35 "//mojo/shell/tests/lifecycle", | 36 "//mojo/shell/tests/lifecycle", |
36 "//mojo/shell/tests/shell", | 37 "//mojo/shell/tests/shell", |
37 "//mojo/util:filename_util", | 38 "//mojo/util:filename_util", |
38 "//testing/gtest", | 39 "//testing/gtest", |
39 ] | 40 ] |
40 } | 41 } |
41 | 42 |
42 mojom("interfaces") { | 43 mojom("interfaces") { |
43 sources = [ | 44 sources = [ |
44 "test.mojom", | 45 "test.mojom", |
45 ] | 46 ] |
46 } | 47 } |
OLD | NEW |