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

Unified Diff: components/memory_coordinator/child/BUILD.gn

Issue 2265893002: memory_coordinator: Use component(target) instead of static_library(target) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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: components/memory_coordinator/child/BUILD.gn
diff --git a/components/memory_coordinator/child/BUILD.gn b/components/memory_coordinator/child/BUILD.gn
index 07189692d9fed5f2f5814529b47c613c01718749..f8c770d22744c13bb16f1f942646578c11e2d479 100644
--- a/components/memory_coordinator/child/BUILD.gn
+++ b/components/memory_coordinator/child/BUILD.gn
@@ -2,12 +2,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("child") {
+component("child") {
+ output_name = "memory_coordinator_child"
+
sources = [
"child_memory_coordinator_impl.cc",
"child_memory_coordinator_impl.h",
]
+ defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
+
deps = [
"//base",
"//components/memory_coordinator/public/interfaces",

Powered by Google App Engine
This is Rietveld 408576698