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") |
11 import("//services/service_manager/public/tools/test/service_test.gni") | 11 import("//services/service_manager/public/tools/test/service_test.gni") |
12 | 12 |
13 source_set("lib") { | 13 source_set("lib") { |
14 sources = [ | 14 sources = [ |
15 "coordination_unit/coordination_unit_impl.cc", | 15 "coordination_unit/coordination_unit_impl.cc", |
16 "coordination_unit/coordination_unit_impl.h", | 16 "coordination_unit/coordination_unit_impl.h", |
17 "coordination_unit/coordination_unit_provider_impl.cc", | 17 "coordination_unit/coordination_unit_provider_impl.cc", |
18 "coordination_unit/coordination_unit_provider_impl.h", | 18 "coordination_unit/coordination_unit_provider_impl.h", |
19 "memory/coordinator/coordinator_impl.cc", | 19 "memory_instrumentation/coordinator_impl.cc", |
20 "memory/coordinator/coordinator_impl.h", | 20 "memory_instrumentation/coordinator_impl.h", |
21 "memory/coordinator/process_map.cc", | 21 "memory_instrumentation/process_map.cc", |
22 "memory/coordinator/process_map.h", | 22 "memory_instrumentation/process_map.h", |
23 "resource_coordinator_service.cc", | 23 "resource_coordinator_service.cc", |
24 "resource_coordinator_service.h", | 24 "resource_coordinator_service.h", |
25 ] | 25 ] |
26 | 26 |
27 public_deps = [ | 27 public_deps = [ |
28 "//base", | 28 "//base", |
29 "//mojo/public/cpp/bindings", | 29 "//mojo/public/cpp/bindings", |
30 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 30 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
31 ] | 31 ] |
32 } | 32 } |
(...skipping 12 matching lines...) Expand all Loading... |
45 ":lib", | 45 ":lib", |
46 "//mojo/public/cpp/system", | 46 "//mojo/public/cpp/system", |
47 ] | 47 ] |
48 } | 48 } |
49 | 49 |
50 source_set("tests") { | 50 source_set("tests") { |
51 testonly = true | 51 testonly = true |
52 | 52 |
53 sources = [ | 53 sources = [ |
54 "coordination_unit/coordination_unit_impl_unittest.cc", | 54 "coordination_unit/coordination_unit_impl_unittest.cc", |
55 "memory/coordinator/coordinator_impl_unittest.cc", | 55 "memory_instrumentation/coordinator_impl_unittest.cc", |
56 "memory/coordinator/process_map_unittest.cc", | 56 "memory_instrumentation/process_map_unittest.cc", |
57 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", | 57 "public/cpp/memory_instrumentation/client_process_impl_unittest.cc", |
58 ] | 58 ] |
59 | 59 |
60 deps = [ | 60 deps = [ |
61 ":lib", | 61 ":lib", |
62 "//base", | 62 "//base", |
63 "//mojo/public/cpp/bindings", | 63 "//mojo/public/cpp/bindings", |
64 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 64 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
65 "//testing/gtest", | 65 "//testing/gtest", |
66 ] | 66 ] |
67 | 67 |
(...skipping 28 matching lines...) Expand all Loading... |
96 | 96 |
97 service_manifest("unittest_manifest") { | 97 service_manifest("unittest_manifest") { |
98 name = "resource_coordinator_unittests" | 98 name = "resource_coordinator_unittests" |
99 source = "unittest_manifest.json" | 99 source = "unittest_manifest.json" |
100 } | 100 } |
101 | 101 |
102 catalog("resource_coordinator_unittests_catalog") { | 102 catalog("resource_coordinator_unittests_catalog") { |
103 embedded_services = [ ":unittest_manifest" ] | 103 embedded_services = [ ":unittest_manifest" ] |
104 standalone_services = [ ":manifest" ] | 104 standalone_services = [ ":manifest" ] |
105 } | 105 } |
OLD | NEW |