OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//mojo/public/mojo_application.gni") | |
6 import("//mojo/public/tools/bindings/mojom.gni") | |
7 import("//testing/test.gni") | |
8 | |
9 group("tests") { | |
10 testonly = true | |
11 deps = [ | |
12 ":mojo_shell_unittests", | |
13 ] | |
14 } | |
15 | |
16 test("mojo_shell_unittests") { | |
17 sources = [ | |
18 "loader_unittest.cc", | |
19 ] | |
20 | |
21 deps = [ | |
22 ":interfaces", | |
23 "//base", | |
24 "//base/test:test_support", | |
25 "//mojo/public/cpp/bindings", | |
26 "//mojo/public/cpp/system", | |
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", | |
39 "//testing/gtest", | |
40 ] | |
41 } | |
42 | |
43 mojom("interfaces") { | |
44 sources = [ | |
45 "test.mojom", | |
46 ] | |
47 } | |
48 | |
49 source_set("util") { | |
50 sources = [ | |
51 "util.cc", | |
52 "util.h", | |
53 ] | |
54 deps = [ | |
55 "//base", | |
56 "//base:base_static", | |
57 "//mojo/edk/system", | |
58 "//mojo/shell/public/cpp:sources", | |
59 "//mojo/shell/public/interfaces", | |
60 "//mojo/shell/runner/common", | |
61 ] | |
62 } | |
OLD | NEW |