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

Unified Diff: components/memory_coordinator/common/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/common/BUILD.gn
diff --git a/components/memory_coordinator/common/BUILD.gn b/components/memory_coordinator/common/BUILD.gn
index e84beae5fe097a676d7d3c7c467e5c7b1771579e..856fc60c1c85aac0b09640c3dc9d55e9ff123b04 100644
--- a/components/memory_coordinator/common/BUILD.gn
+++ b/components/memory_coordinator/common/BUILD.gn
@@ -2,15 +2,20 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("common") {
+component("common") {
+ output_name = "memory_coordinator_common"
+
sources = [
"client_registry.cc",
"client_registry.h",
"memory_coordinator_client.h",
+ "memory_coordinator_export.h",
"memory_coordinator_features.cc",
"memory_coordinator_features.h",
]
+ defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
+
deps = [
"//base",
]

Powered by Google App Engine
This is Rietveld 408576698