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

Unified Diff: components/metrics/BUILD.gn

Issue 644603002: Cleanup of component/metrics for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: source_set Created 6 years, 2 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/metrics/serialization/metric_sample.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 617c691bdc43762d4227fa76e23e559d965a0a2b..8bccd4582ab779b9f312198c973cd66462e51bba 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -52,6 +52,10 @@ source_set("metrics") {
"//components/variations",
"//third_party/zlib",
]
+
+ if (is_chromeos) {
+ deps += [ ":serialization" ]
+ }
}
# GYP version: components/metrics.gypi:metrics_gpu
@@ -121,4 +125,17 @@ static_library("test_support") {
]
}
+if (is_linux) {
+ # GYP version: components/metrics.gypi:metrics_serialization
+ source_set("serialization") {
+ sources = [
+ "serialization/serialization_utils.cc",
+ "serialization/serialization_utils.h",
+ "serialization/metric_sample.cc",
+ "serialization/metric_sample.h",
+ ]
+ deps = [ "//base" ]
+ }
+}
+
# TODO(GYP): metrics_chromeos
« no previous file with comments | « no previous file | components/metrics/serialization/metric_sample.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698