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