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") |
| 6 |
5 # GYP version: mojo.gyp:mojo_application_manager | 7 # GYP version: mojo.gyp:mojo_application_manager |
6 component("application_manager") { | 8 component("application_manager") { |
7 output_name = "mojo_application_manager" | 9 output_name = "mojo_application_manager" |
8 sources = [ | 10 sources = [ |
9 "application_loader.cc", | 11 "application_loader.cc", |
10 "application_loader.h", | 12 "application_loader.h", |
11 "application_manager.cc", | 13 "application_manager.cc", |
12 "application_manager.h", | 14 "application_manager.h", |
13 "application_manager_export.h", | 15 "application_manager_export.h", |
14 "background_shell_application_loader.cc", | 16 "background_shell_application_loader.cc", |
(...skipping 14 matching lines...) Expand all Loading... |
29 "//mojo/public/interfaces/application:application", | 31 "//mojo/public/interfaces/application:application", |
30 "//mojo/services/public/interfaces/content_handler:content_handler", | 32 "//mojo/services/public/interfaces/content_handler:content_handler", |
31 "//mojo/services/public/interfaces/network:network", | 33 "//mojo/services/public/interfaces/network:network", |
32 "//mojo/system", | 34 "//mojo/system", |
33 ] | 35 ] |
34 | 36 |
35 forward_dependent_configs_from = [ | 37 forward_dependent_configs_from = [ |
36 "//mojo/public/interfaces/application:application", | 38 "//mojo/public/interfaces/application:application", |
37 ] | 39 ] |
38 } | 40 } |
| 41 |
| 42 # GYP version: mojo.gyp:mojo_application_manager_unittests |
| 43 test("mojo_application_manager_unittests") { |
| 44 deps = [ |
| 45 ":application_manager", |
| 46 ":test_bindings", |
| 47 "//base", |
| 48 "//testing/gtest", |
| 49 "//url", |
| 50 "//mojo/common", |
| 51 "//mojo/environment:chromium", |
| 52 "//mojo/public/cpp/application:chromium", |
| 53 "//mojo/common/test:run_all_unittests", |
| 54 "//mojo/public/cpp/bindings", |
| 55 ] |
| 56 |
| 57 sources = [ |
| 58 "application_manager_unittest.cc", |
| 59 "background_shell_application_loader_unittest.cc", |
| 60 ] |
| 61 } |
| 62 |
| 63 mojom("test_bindings") { |
| 64 sources = [ "test.mojom" ] |
| 65 } |
OLD | NEW |