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/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 group("tests") { | 9 group("tests") { |
10 testonly = true | 10 testonly = true |
11 deps = [ | 11 deps = [ |
12 ":mojo_shell_unittests", | 12 ":mojo_shell_unittests", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 test("mojo_shell_unittests") { | 16 test("mojo_shell_unittests") { |
17 sources = [ | 17 sources = [ |
18 "loader_unittest.cc", | 18 "loader_unittest.cc", |
19 ] | 19 ] |
20 | 20 |
21 deps = [ | 21 deps = [ |
22 ":interfaces", | 22 ":interfaces", |
23 "//base", | 23 "//base", |
24 "//base/test:test_support", | 24 "//base/test:test_support", |
25 "//mojo/public/cpp/bindings", | 25 "//mojo/public/cpp/bindings", |
26 "//mojo/public/cpp/system", | 26 "//mojo/public/cpp/system", |
27 "//mojo/services/catalog:unittests", | 27 "//mojo/services/catalog:unittests", |
28 "//mojo/shell", | |
29 "//mojo/shell/background:lib", | |
30 "//mojo/shell/background:main", | |
31 "//mojo/shell/background/tests:unittests", | |
32 "//mojo/shell/public/cpp", | |
33 "//mojo/shell/public/cpp/test:run_all_shelltests", | |
34 "//mojo/shell/public/interfaces", | |
35 "//mojo/shell/tests/connect", | |
36 "//mojo/shell/tests/lifecycle", | |
37 "//mojo/shell/tests/shell", | |
38 "//mojo/util:filename_util", | 28 "//mojo/util:filename_util", |
| 29 "//services/shell", |
| 30 "//services/shell/background:lib", |
| 31 "//services/shell/background:main", |
| 32 "//services/shell/background/tests:unittests", |
| 33 "//services/shell/public/cpp", |
| 34 "//services/shell/public/cpp/test:run_all_shelltests", |
| 35 "//services/shell/public/interfaces", |
| 36 "//services/shell/tests/connect", |
| 37 "//services/shell/tests/lifecycle", |
| 38 "//services/shell/tests/shell", |
39 "//testing/gtest", | 39 "//testing/gtest", |
40 ] | 40 ] |
41 } | 41 } |
42 | 42 |
43 mojom("interfaces") { | 43 mojom("interfaces") { |
44 sources = [ | 44 sources = [ |
45 "test.mojom", | 45 "test.mojom", |
46 ] | 46 ] |
47 } | 47 } |
48 | 48 |
49 source_set("util") { | 49 source_set("util") { |
50 sources = [ | 50 sources = [ |
51 "util.cc", | 51 "util.cc", |
52 "util.h", | 52 "util.h", |
53 ] | 53 ] |
54 deps = [ | 54 deps = [ |
55 "//base", | 55 "//base", |
56 "//base:base_static", | 56 "//base:base_static", |
57 "//mojo/edk/system", | 57 "//mojo/edk/system", |
58 "//mojo/shell/public/cpp:sources", | 58 "//services/shell/public/cpp:sources", |
59 "//mojo/shell/public/interfaces", | 59 "//services/shell/public/interfaces", |
60 "//mojo/shell/runner/common", | 60 "//services/shell/runner/common", |
61 ] | 61 ] |
62 } | 62 } |
OLD | NEW |