| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 source_set("tests") { | 48 source_set("tests") { |
| 49 testonly = true | 49 testonly = true |
| 50 | 50 |
| 51 sources = [ | 51 sources = [ |
| 52 "coordination_unit/coordination_unit_impl_unittest.cc", | 52 "coordination_unit/coordination_unit_impl_unittest.cc", |
| 53 "memory/coordinator/coordinator_impl_unittest.cc", | 53 "memory/coordinator/coordinator_impl_unittest.cc", |
| 54 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", | 54 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", |
| 55 "public/cpp/tracing/chrome_agent_unittest.cc", |
| 55 ] | 56 ] |
| 56 | 57 |
| 57 deps = [ | 58 deps = [ |
| 58 ":lib", | 59 ":lib", |
| 59 "//base", | 60 "//base", |
| 60 "//mojo/public/cpp/bindings", | 61 "//mojo/public/cpp/bindings", |
| 61 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 62 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
| 62 "//testing/gtest", | 63 "//testing/gtest", |
| 63 ] | 64 ] |
| 64 | 65 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 93 | 94 |
| 94 service_manifest("unittest_manifest") { | 95 service_manifest("unittest_manifest") { |
| 95 name = "resource_coordinator_unittests" | 96 name = "resource_coordinator_unittests" |
| 96 source = "unittest_manifest.json" | 97 source = "unittest_manifest.json" |
| 97 } | 98 } |
| 98 | 99 |
| 99 catalog("resource_coordinator_unittests_catalog") { | 100 catalog("resource_coordinator_unittests_catalog") { |
| 100 embedded_services = [ ":unittest_manifest" ] | 101 embedded_services = [ ":unittest_manifest" ] |
| 101 standalone_services = [ ":manifest" ] | 102 standalone_services = [ ":manifest" ] |
| 102 } | 103 } |
| OLD | NEW |