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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 sources = [ | 58 sources = [ |
59 "coordination_unit/coordination_unit_impl_unittest.cc", | 59 "coordination_unit/coordination_unit_impl_unittest.cc", |
60 "coordination_unit/coordination_unit_impl_unittest_util.cc", | 60 "coordination_unit/coordination_unit_impl_unittest_util.cc", |
61 "coordination_unit/coordination_unit_impl_unittest_util.h", | 61 "coordination_unit/coordination_unit_impl_unittest_util.h", |
62 "coordination_unit/process_coordination_unit_impl_unittest.cc", | 62 "coordination_unit/process_coordination_unit_impl_unittest.cc", |
63 "memory_instrumentation/coordinator_impl_unittest.cc", | 63 "memory_instrumentation/coordinator_impl_unittest.cc", |
64 "memory_instrumentation/process_map_unittest.cc", | 64 "memory_instrumentation/process_map_unittest.cc", |
65 "public/cpp/memory_instrumentation/client_process_impl_unittest.cc", | 65 "public/cpp/memory_instrumentation/client_process_impl_unittest.cc", |
66 "public/cpp/tracing/chrome_trace_event_agent_unittest.cc", | 66 "public/cpp/tracing/chrome_trace_event_agent_unittest.cc", |
| 67 "tracing/recorder_unittest.cc", |
67 ] | 68 ] |
68 | 69 |
69 if (!is_android) { | 70 if (!is_android) { |
70 sources += [ "resource_coordinator_service_unittest.cc" ] | 71 sources += [ "resource_coordinator_service_unittest.cc" ] |
71 } | 72 } |
72 | 73 |
73 deps = [ | 74 deps = [ |
74 ":lib", | 75 ":lib", |
75 "//base", | 76 "//base", |
76 "//base/test:test_support", | 77 "//base/test:test_support", |
77 "//mojo/public/cpp/bindings", | 78 "//mojo/public/cpp/bindings", |
78 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", | 79 "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
| 80 "//services/resource_coordinator/tracing:lib", |
79 "//services/service_manager/public/cpp", | 81 "//services/service_manager/public/cpp", |
80 "//services/service_manager/public/cpp:service_test_support", | 82 "//services/service_manager/public/cpp:service_test_support", |
81 "//services/service_manager/public/interfaces", | 83 "//services/service_manager/public/interfaces", |
82 "//testing/gtest", | 84 "//testing/gtest", |
83 ] | 85 ] |
84 | 86 |
85 data_deps = [ | 87 data_deps = [ |
86 ":resource_coordinator", | 88 ":resource_coordinator", |
87 ":lib", | 89 ":lib", |
88 ] | 90 ] |
89 } | 91 } |
90 | 92 |
91 service_manifest("unittest_manifest") { | 93 service_manifest("unittest_manifest") { |
92 name = "resource_coordinator_unittests" | 94 name = "resource_coordinator_unittests" |
93 source = "unittest_manifest.json" | 95 source = "unittest_manifest.json" |
94 } | 96 } |
95 | 97 |
96 catalog("tests_catalog") { | 98 catalog("tests_catalog") { |
97 testonly = true | 99 testonly = true |
98 embedded_services = [ ":unittest_manifest" ] | 100 embedded_services = [ ":unittest_manifest" ] |
99 standalone_services = [ ":manifest" ] | 101 standalone_services = [ ":manifest" ] |
100 } | 102 } |
OLD | NEW |