| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 | 67 |
| 68 source_set("tests") { | 68 source_set("tests") { |
| 69 testonly = true | 69 testonly = true |
| 70 | 70 |
| 71 sources = [ | 71 sources = [ |
| 72 "coordination_unit/coordination_unit_graph_observer_unittest.cc", | 72 "coordination_unit/coordination_unit_graph_observer_unittest.cc", |
| 73 "coordination_unit/coordination_unit_impl_unittest.cc", | 73 "coordination_unit/coordination_unit_impl_unittest.cc", |
| 74 "coordination_unit/coordination_unit_impl_unittest_util.cc", | 74 "coordination_unit/coordination_unit_impl_unittest_util.cc", |
| 75 "coordination_unit/coordination_unit_impl_unittest_util.h", | 75 "coordination_unit/coordination_unit_impl_unittest_util.h", |
| 76 "coordination_unit/process_coordination_unit_impl_unittest.cc", | 76 "coordination_unit/mock_coordination_unit_graphs.cc", |
| 77 "coordination_unit/mock_coordination_unit_graphs.h", |
| 78 "coordination_unit/web_contents_coordination_unit_impl_unittest.cc", |
| 77 "memory_instrumentation/coordinator_impl_unittest.cc", | 79 "memory_instrumentation/coordinator_impl_unittest.cc", |
| 78 "memory_instrumentation/process_map_unittest.cc", | 80 "memory_instrumentation/process_map_unittest.cc", |
| 79 "public/cpp/tracing/chrome_trace_event_agent_unittest.cc", | 81 "public/cpp/tracing/chrome_trace_event_agent_unittest.cc", |
| 80 "tracing/agent_registry_unittest.cc", | 82 "tracing/agent_registry_unittest.cc", |
| 81 "tracing/recorder_unittest.cc", | 83 "tracing/recorder_unittest.cc", |
| 82 ] | 84 ] |
| 83 | 85 |
| 84 if (!is_android) { | 86 if (!is_android) { |
| 85 sources += [ "resource_coordinator_service_unittest.cc" ] | 87 sources += [ "resource_coordinator_service_unittest.cc" ] |
| 86 } | 88 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 108 service_manifest("unittest_manifest") { | 110 service_manifest("unittest_manifest") { |
| 109 name = "resource_coordinator_unittests" | 111 name = "resource_coordinator_unittests" |
| 110 source = "unittest_manifest.json" | 112 source = "unittest_manifest.json" |
| 111 } | 113 } |
| 112 | 114 |
| 113 catalog("tests_catalog") { | 115 catalog("tests_catalog") { |
| 114 testonly = true | 116 testonly = true |
| 115 embedded_services = [ ":unittest_manifest" ] | 117 embedded_services = [ ":unittest_manifest" ] |
| 116 standalone_services = [ ":manifest" ] | 118 standalone_services = [ ":manifest" ] |
| 117 } | 119 } |
| OLD | NEW |