OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 # There should be only one resource coordinator. It is currently | 5 # There should be only one resource coordinator. It is currently |
6 # in the browser process. So, only //content/browser should link to this target. | 6 # in the browser process. So, only //content/browser should link to this target. |
7 # Others modules should only need the public targets. | 7 # Others modules should only need the public targets. |
8 import("//services/catalog/public/tools/catalog.gni") | 8 import("//services/catalog/public/tools/catalog.gni") |
9 import("//services/service_manager/public/cpp/service.gni") | 9 import("//services/service_manager/public/cpp/service.gni") |
10 import("//services/service_manager/public/service_manifest.gni") | 10 import("//services/service_manager/public/service_manifest.gni") |
(...skipping 12 matching lines...) Expand all Loading... |
23 "coordination_unit/coordination_unit_provider_impl.cc", | 23 "coordination_unit/coordination_unit_provider_impl.cc", |
24 "coordination_unit/coordination_unit_provider_impl.h", | 24 "coordination_unit/coordination_unit_provider_impl.h", |
25 "coordination_unit/process_coordination_unit_impl.cc", | 25 "coordination_unit/process_coordination_unit_impl.cc", |
26 "coordination_unit/process_coordination_unit_impl.h", | 26 "coordination_unit/process_coordination_unit_impl.h", |
27 "memory_instrumentation/coordinator_impl.cc", | 27 "memory_instrumentation/coordinator_impl.cc", |
28 "memory_instrumentation/coordinator_impl.h", | 28 "memory_instrumentation/coordinator_impl.h", |
29 "memory_instrumentation/process_map.cc", | 29 "memory_instrumentation/process_map.cc", |
30 "memory_instrumentation/process_map.h", | 30 "memory_instrumentation/process_map.h", |
31 "resource_coordinator_service.cc", | 31 "resource_coordinator_service.cc", |
32 "resource_coordinator_service.h", | 32 "resource_coordinator_service.h", |
| 33 "service_callbacks_impl.cc", |
| 34 "service_callbacks_impl.h", |
33 ] | 35 ] |
34 | 36 |
35 public_deps = [ | 37 public_deps = [ |
36 "//base", | 38 "//base", |
| 39 "//components/ukm:ukm", |
37 "//mojo/public/cpp/bindings", | 40 "//mojo/public/cpp/bindings", |
38 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 41 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
39 "//services/service_manager/public/cpp/standalone_service:standalone_service
", | 42 "//services/service_manager/public/cpp/standalone_service:standalone_service
", |
40 ] | 43 ] |
41 } | 44 } |
42 | 45 |
43 service_manifest("manifest") { | 46 service_manifest("manifest") { |
44 name = "resource_coordinator" | 47 name = "resource_coordinator" |
45 source = "manifest.json" | 48 source = "manifest.json" |
46 } | 49 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 service_manifest("unittest_manifest") { | 102 service_manifest("unittest_manifest") { |
100 name = "resource_coordinator_unittests" | 103 name = "resource_coordinator_unittests" |
101 source = "unittest_manifest.json" | 104 source = "unittest_manifest.json" |
102 } | 105 } |
103 | 106 |
104 catalog("tests_catalog") { | 107 catalog("tests_catalog") { |
105 testonly = true | 108 testonly = true |
106 embedded_services = [ ":unittest_manifest" ] | 109 embedded_services = [ ":unittest_manifest" ] |
107 standalone_services = [ ":manifest" ] | 110 standalone_services = [ ":manifest" ] |
108 } | 111 } |
OLD | NEW |