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

Unified Diff: components/memory_coordinator/browser/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
« no previous file with comments | « no previous file | components/memory_coordinator/browser/memory_coordinator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/memory_coordinator/browser/BUILD.gn
diff --git a/components/memory_coordinator/browser/BUILD.gn b/components/memory_coordinator/browser/BUILD.gn
index fed499dad5d680329c802fe0c127e8996d04f0ef..c4ac3657b47042d98c9c7c21770e0f0a5025b4cb 100644
--- a/components/memory_coordinator/browser/BUILD.gn
+++ b/components/memory_coordinator/browser/BUILD.gn
@@ -2,7 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("browser") {
+component("browser") {
+ output_name = "memory_coordinator_browser"
+
sources = [
"memory_coordinator.cc",
"memory_coordinator.h",
@@ -11,6 +13,8 @@ static_library("browser") {
"memory_monitor_win.h",
]
+ defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
+
deps = [
"//base",
"//components/memory_coordinator/public/interfaces",
« no previous file with comments | « no previous file | components/memory_coordinator/browser/memory_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698