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

Unified Diff: services/resource_coordinator/BUILD.gn

Issue 2741203002: memory-infra: Finish moving to Mojo (3nd attempt) (Closed)
Patch Set: rebase Created 3 years, 9 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/BUILD.gn
diff --git a/services/resource_coordinator/BUILD.gn b/services/resource_coordinator/BUILD.gn
index 9c5f07ef5f1707e70e49b56a7cffdb51393af16b..bfa2df622f0071c9a3ac1112fb395028717dfcb1 100644
--- a/services/resource_coordinator/BUILD.gn
+++ b/services/resource_coordinator/BUILD.gn
@@ -2,6 +2,9 @@
# 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 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.
source_set("lib") {
sources = [
"memory/coordinator/coordinator_impl.cc",
@@ -10,6 +13,7 @@ source_set("lib") {
public_deps = [
"//base",
+ "//mojo/public/cpp/bindings",
"//services/resource_coordinator/public/cpp",
"//services/resource_coordinator/public/interfaces",
]
@@ -20,12 +24,15 @@ source_set("tests") {
sources = [
"memory/coordinator/coordinator_impl_unittest.cc",
+ "public/cpp/memory/memory_dump_manager_delegate_impl_unittest.cc",
]
deps = [
":lib",
"//base",
"//mojo/public/cpp/bindings",
+ "//services/resource_coordinator/public/cpp",
+ "//services/resource_coordinator/public/interfaces",
"//testing/gtest",
]
}
« no previous file with comments | « content/public/common/child_process_host.h ('k') | services/resource_coordinator/memory/coordinator/coordinator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698