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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("application_manager") { | 8 component("application_manager") { |
9 output_name = "mojo_application_manager" | 9 output_name = "mojo_application_manager" |
10 sources = [ | 10 sources = [ |
11 "application_loader.h", | 11 "application_loader.h", |
12 "application_manager.cc", | 12 "application_manager.cc", |
| 13 "application_manager_export.h", |
13 "application_manager.h", | 14 "application_manager.h", |
14 "application_manager_export.h", | |
15 "data_pipe_peek.cc", | 15 "data_pipe_peek.cc", |
16 "data_pipe_peek.h", | 16 "data_pipe_peek.h", |
| 17 "fetcher.cc", |
| 18 "fetcher.h", |
17 "local_fetcher.cc", | 19 "local_fetcher.cc", |
18 "local_fetcher.h", | 20 "local_fetcher.h", |
19 "network_fetcher.cc", | 21 "network_fetcher.cc", |
20 "network_fetcher.h", | 22 "network_fetcher.h", |
21 "fetcher.cc", | 23 "query_util.cc", |
22 "fetcher.h", | 24 "query_util.h", |
23 "shell_impl.cc", | 25 "shell_impl.cc", |
24 "shell_impl.h", | 26 "shell_impl.h", |
25 ] | 27 ] |
26 | 28 |
27 defines = [ "MOJO_APPLICATION_MANAGER_IMPLEMENTATION" ] | 29 defines = [ "MOJO_APPLICATION_MANAGER_IMPLEMENTATION" ] |
28 | 30 |
29 public_deps = [ | 31 public_deps = [ |
30 "//base", | 32 "//base", |
31 "//mojo/common", | 33 "//mojo/common", |
32 "//mojo/public/interfaces/application:application", | 34 "//mojo/public/interfaces/application:application", |
33 "//mojo/services/network/public/interfaces", | 35 "//mojo/services/network/public/interfaces", |
34 "//url", | 36 "//url", |
35 ] | 37 ] |
36 deps = [ | 38 deps = [ |
37 "//base/third_party/dynamic_annotations", | 39 "//base/third_party/dynamic_annotations", |
38 "//crypto:crypto", | 40 "//crypto:crypto", |
39 "//url", | 41 "//url", |
40 "//mojo/edk/system", | 42 "//mojo/edk/system", |
41 "//mojo/environment:chromium", | 43 "//mojo/environment:chromium", |
42 "//mojo/services/content_handler/public/interfaces", | 44 "//mojo/services/content_handler/public/interfaces", |
43 ] | 45 ] |
44 } | 46 } |
45 | 47 |
46 test("mojo_application_manager_unittests") { | 48 test("mojo_application_manager_unittests") { |
47 sources = [ | 49 sources = [ |
48 "application_manager_unittest.cc", | 50 "application_manager_unittest.cc", |
| 51 "query_util_unittest.cc", |
49 ] | 52 ] |
50 | 53 |
51 deps = [ | 54 deps = [ |
52 ":application_manager", | 55 ":application_manager", |
53 ":test_bindings", | 56 ":test_bindings", |
54 "//base", | 57 "//base", |
55 "//mojo/application", | 58 "//mojo/application", |
56 "//mojo/common", | 59 "//mojo/common", |
57 "//mojo/edk/test:run_all_unittests", | 60 "//mojo/edk/test:run_all_unittests", |
58 "//mojo/environment:chromium", | 61 "//mojo/environment:chromium", |
59 "//mojo/public/cpp/application", | 62 "//mojo/public/cpp/application", |
60 "//mojo/public/cpp/bindings", | 63 "//mojo/public/cpp/bindings", |
61 "//testing/gtest", | 64 "//testing/gtest", |
62 "//url", | 65 "//url", |
63 ] | 66 ] |
64 } | 67 } |
65 | 68 |
66 mojom("test_bindings") { | 69 mojom("test_bindings") { |
67 sources = [ | 70 sources = [ |
68 "test.mojom", | 71 "test.mojom", |
69 ] | 72 ] |
70 } | 73 } |
OLD | NEW |