Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(731)

Unified Diff: services/resource_coordinator/BUILD.gn

Issue 2848053002: Revert of Global Resource Coordinator: Basic service internals (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/resource_coordinator/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/resource_coordinator/BUILD.gn
diff --git a/services/resource_coordinator/BUILD.gn b/services/resource_coordinator/BUILD.gn
index a66987678099d9d93604c9cf7563f451009c4926..ef9bf45282e9a7089e00389bc7f133da26909927 100644
--- a/services/resource_coordinator/BUILD.gn
+++ b/services/resource_coordinator/BUILD.gn
@@ -2,24 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# There should be only one resource coordinator. It is currently
+# There should be only one memory instrumentaiton coordinator. It is currently
# in the browser process. So, only //content/browser should link to this target.
# Others modules should only need the public targets.
-import("//services/catalog/public/tools/catalog.gni")
-import("//services/service_manager/public/cpp/service.gni")
-import("//services/service_manager/public/service_manifest.gni")
-import("//services/service_manager/public/tools/test/service_test.gni")
-
source_set("lib") {
sources = [
- "coordination_unit/coordination_unit_impl.cc",
- "coordination_unit/coordination_unit_impl.h",
- "coordination_unit/coordination_unit_provider_impl.cc",
- "coordination_unit/coordination_unit_provider_impl.h",
"memory/coordinator/coordinator_impl.cc",
"memory/coordinator/coordinator_impl.h",
- "resource_coordinator_service.cc",
- "resource_coordinator_service.h",
]
public_deps = [
@@ -27,33 +16,12 @@
"//mojo/public/cpp/bindings",
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
]
-
- data_deps = [
- ":manifest",
- ]
-}
-
-service_manifest("manifest") {
- name = "resource_coordinator"
- source = "manifest.json"
-}
-
-service("resource_coordinator") {
- sources = [
- "service_main.cc",
- ]
-
- deps = [
- ":lib",
- "//mojo/public/cpp/system",
- ]
}
source_set("tests") {
testonly = true
sources = [
- "coordination_unit/coordination_unit_impl_unittest.cc",
"memory/coordinator/coordinator_impl_unittest.cc",
"public/cpp/memory/process_local_dump_manager_impl_unittest.cc",
]
@@ -66,31 +34,3 @@
"//testing/gtest",
]
}
-
-service_test("resource_coordinator_unittests") {
- sources = [
- "resource_coordinator_service_unittest.cc",
- ]
-
- catalog = ":resource_coordinator_unittests_catalog"
-
- deps = [
- "//base",
- "//mojo/public/cpp/bindings",
- "//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
- "//services/service_manager/public/cpp",
- "//services/service_manager/public/cpp:service_test_support",
- "//services/service_manager/public/interfaces",
- "//testing/gtest",
- ]
-}
-
-service_manifest("unittest_manifest") {
- name = "resource_coordinator_unittests"
- source = "unittest_manifest.json"
-}
-
-catalog("resource_coordinator_unittests_catalog") {
- embedded_services = [ ":unittest_manifest" ]
- standalone_services = [ ":manifest" ]
-}
« no previous file with comments | « no previous file | services/resource_coordinator/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698