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 10 matching lines...) Expand all Loading... |
21 "coordination_unit/coordination_unit_provider_impl.cc", | 21 "coordination_unit/coordination_unit_provider_impl.cc", |
22 "coordination_unit/coordination_unit_provider_impl.h", | 22 "coordination_unit/coordination_unit_provider_impl.h", |
23 "coordination_unit/process_coordination_unit_impl.cc", | 23 "coordination_unit/process_coordination_unit_impl.cc", |
24 "coordination_unit/process_coordination_unit_impl.h", | 24 "coordination_unit/process_coordination_unit_impl.h", |
25 "memory_instrumentation/coordinator_impl.cc", | 25 "memory_instrumentation/coordinator_impl.cc", |
26 "memory_instrumentation/coordinator_impl.h", | 26 "memory_instrumentation/coordinator_impl.h", |
27 "memory_instrumentation/process_map.cc", | 27 "memory_instrumentation/process_map.cc", |
28 "memory_instrumentation/process_map.h", | 28 "memory_instrumentation/process_map.h", |
29 "resource_coordinator_service.cc", | 29 "resource_coordinator_service.cc", |
30 "resource_coordinator_service.h", | 30 "resource_coordinator_service.h", |
| 31 "service_callbacks_impl.cc", |
| 32 "service_callbacks_impl.h", |
31 ] | 33 ] |
32 | 34 |
33 public_deps = [ | 35 public_deps = [ |
34 "//base", | 36 "//base", |
| 37 "//components/ukm:ukm", |
35 "//mojo/public/cpp/bindings", | 38 "//mojo/public/cpp/bindings", |
36 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 39 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
37 "//services/service_manager/public/cpp/standalone_service:standalone_service
", | 40 "//services/service_manager/public/cpp/standalone_service:standalone_service
", |
38 ] | 41 ] |
39 } | 42 } |
40 | 43 |
41 service_manifest("manifest") { | 44 service_manifest("manifest") { |
42 name = "resource_coordinator" | 45 name = "resource_coordinator" |
43 source = "manifest.json" | 46 source = "manifest.json" |
44 } | 47 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 service_manifest("unittest_manifest") { | 99 service_manifest("unittest_manifest") { |
97 name = "resource_coordinator_unittests" | 100 name = "resource_coordinator_unittests" |
98 source = "unittest_manifest.json" | 101 source = "unittest_manifest.json" |
99 } | 102 } |
100 | 103 |
101 catalog("tests_catalog") { | 104 catalog("tests_catalog") { |
102 testonly = true | 105 testonly = true |
103 embedded_services = [ ":unittest_manifest" ] | 106 embedded_services = [ ":unittest_manifest" ] |
104 standalone_services = [ ":manifest" ] | 107 standalone_services = [ ":manifest" ] |
105 } | 108 } |
OLD | NEW |