| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/coordinator/coordinator_impl_unittest.cc", |
| 56 "memory/coordinator/process_map_unittest.cc", | 56 "memory/coordinator/process_map_unittest.cc", |
| 57 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", | 57 "public/cpp/memory/process_local_dump_manager_impl_unittest.cc", |
| 58 "public/cpp/tracing/chrome_trace_event_agent_unittest.cc", | 58 "public/cpp/tracing/chrome_trace_event_agent_unittest.cc", |
| 59 "tracing/recorder_unittest.cc", |
| 59 ] | 60 ] |
| 60 | 61 |
| 61 deps = [ | 62 deps = [ |
| 62 ":lib", | 63 ":lib", |
| 63 "//base", | 64 "//base", |
| 64 "//base/test:test_support", | 65 "//base/test:test_support", |
| 65 "//mojo/public/cpp/bindings", | 66 "//mojo/public/cpp/bindings", |
| 66 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 67 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
| 68 "//services/resource_coordinator/tracing:lib", |
| 67 "//testing/gtest", | 69 "//testing/gtest", |
| 68 ] | 70 ] |
| 69 | 71 |
| 70 data_deps = [ | 72 data_deps = [ |
| 71 ":lib", | 73 ":lib", |
| 72 ] | 74 ] |
| 73 } | 75 } |
| 74 | 76 |
| 75 service_test("resource_coordinator_unittests") { | 77 service_test("resource_coordinator_unittests") { |
| 76 testonly = true | 78 testonly = true |
| (...skipping 21 matching lines...) Expand all Loading... |
| 98 | 100 |
| 99 service_manifest("unittest_manifest") { | 101 service_manifest("unittest_manifest") { |
| 100 name = "resource_coordinator_unittests" | 102 name = "resource_coordinator_unittests" |
| 101 source = "unittest_manifest.json" | 103 source = "unittest_manifest.json" |
| 102 } | 104 } |
| 103 | 105 |
| 104 catalog("resource_coordinator_unittests_catalog") { | 106 catalog("resource_coordinator_unittests_catalog") { |
| 105 embedded_services = [ ":unittest_manifest" ] | 107 embedded_services = [ ":unittest_manifest" ] |
| 106 standalone_services = [ ":manifest" ] | 108 standalone_services = [ ":manifest" ] |
| 107 } | 109 } |
| OLD | NEW |