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

Unified Diff: services/resource_coordinator/public/cpp/BUILD.gn

Issue 2819413002: [memory-infra] Remove MemoryDumpManagerDelegate (Closed)
Patch Set: rebase. 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
Index: services/resource_coordinator/public/cpp/BUILD.gn
diff --git a/services/resource_coordinator/public/cpp/BUILD.gn b/services/resource_coordinator/public/cpp/BUILD.gn
index 47c6d7e9cff6d4a0f5c82c23d33881692c978be7..50912f2a71b6e3b75c9f312dc9df3ab8789ae200 100644
--- a/services/resource_coordinator/public/cpp/BUILD.gn
+++ b/services/resource_coordinator/public/cpp/BUILD.gn
@@ -2,13 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("cpp") {
+component("resource_coordinator_cpp") {
sources = [
"memory/coordinator.h",
- "memory/memory_dump_manager_delegate_impl.cc",
- "memory/memory_dump_manager_delegate_impl.h",
+ "memory/process_local_dump_manager_impl.cc",
+ "memory/process_local_dump_manager_impl.h",
]
+ defines = [ "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_IMPLEMENTATION" ]
+
deps = [
":struct_traits",
]
@@ -16,9 +18,11 @@ source_set("cpp") {
public_deps = [
"//base",
"//mojo/public/cpp/bindings",
- "//services/resource_coordinator/public/interfaces",
+ "//services/resource_coordinator/public/interfaces:interfaces_internal",
"//services/service_manager/public/cpp",
]
+
+ allow_circular_includes_from = [ "//services/resource_coordinator/public/interfaces:interfaces_internal" ]
}
source_set("struct_traits") {
@@ -27,8 +31,10 @@ source_set("struct_traits") {
"memory/memory_instrumentation_struct_traits.h",
]
+ defines = [ "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_IMPLEMENTATION" ]
+
public_deps = [
"//base",
- "//services/resource_coordinator/public/interfaces",
+ "//services/resource_coordinator/public/interfaces:interfaces_internal",
]
}

Powered by Google App Engine
This is Rietveld 408576698