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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 source_set("shell") { | 8 source_set("shell") { |
9 output_name = "mojo_shell" | 9 output_name = "mojo_shell" |
10 sources = [ | 10 sources = [ |
11 "application_fetcher.h", | |
12 "application_instance.cc", | 11 "application_instance.cc", |
13 "application_instance.h", | 12 "application_instance.h", |
14 "application_loader.h", | 13 "application_loader.h", |
15 "application_manager.cc", | 14 "application_manager.cc", |
16 "application_manager.h", | 15 "application_manager.h", |
17 "capability_filter.cc", | 16 "capability_filter.cc", |
18 "capability_filter.h", | 17 "capability_filter.h", |
19 "connect_to_application_params.cc", | 18 "connect_to_application_params.cc", |
20 "connect_to_application_params.h", | 19 "connect_to_application_params.h", |
21 "content_handler_connection.cc", | 20 "content_handler_connection.cc", |
22 "content_handler_connection.h", | 21 "content_handler_connection.h", |
23 "data_pipe_peek.cc", | 22 "data_pipe_peek.cc", |
24 "data_pipe_peek.h", | 23 "data_pipe_peek.h", |
25 "fetcher.cc", | 24 "fetcher.cc", |
26 "fetcher.h", | 25 "fetcher.h", |
27 "identity.cc", | 26 "identity.cc", |
28 "identity.h", | 27 "identity.h", |
29 "native_runner.h", | 28 "native_runner.h", |
| 29 "package_manager.h", |
30 "query_util.cc", | 30 "query_util.cc", |
31 "query_util.h", | 31 "query_util.h", |
32 "static_application_loader.cc", | 32 "static_application_loader.cc", |
33 "static_application_loader.h", | 33 "static_application_loader.h", |
34 "switches.cc", | 34 "switches.cc", |
35 "switches.h", | 35 "switches.h", |
36 ] | 36 ] |
37 | 37 |
38 public_deps = [ | 38 public_deps = [ |
39 "//base", | 39 "//base", |
(...skipping 13 matching lines...) Expand all Loading... |
53 "//mojo/environment:chromium", | 53 "//mojo/environment:chromium", |
54 "//mojo/util:filename_util", | 54 "//mojo/util:filename_util", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 test("mojo_shell_unittests") { | 58 test("mojo_shell_unittests") { |
59 sources = [ | 59 sources = [ |
60 "application_manager_unittest.cc", | 60 "application_manager_unittest.cc", |
61 "capability_filter_unittest.cc", | 61 "capability_filter_unittest.cc", |
62 "query_util_unittest.cc", | 62 "query_util_unittest.cc", |
| 63 "test_package_manager.cc", |
| 64 "test_package_manager.h", |
63 ] | 65 ] |
64 | 66 |
65 deps = [ | 67 deps = [ |
66 ":shell", | 68 ":shell", |
67 ":test_bindings", | 69 ":test_bindings", |
68 "//base", | 70 "//base", |
69 "//mojo/application/public/cpp", | 71 "//mojo/application/public/cpp", |
70 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 72 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
71 "//testing/gtest", | 73 "//testing/gtest", |
72 "//url", | 74 "//url", |
73 ] | 75 ] |
74 } | 76 } |
75 | 77 |
76 mojom("test_bindings") { | 78 mojom("test_bindings") { |
77 sources = [ | 79 sources = [ |
78 "capability_filter_unittest.mojom", | 80 "capability_filter_unittest.mojom", |
79 "test.mojom", | 81 "test.mojom", |
80 ] | 82 ] |
81 } | 83 } |
OLD | NEW |