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

Unified Diff: components/metrics.gypi

Issue 227873002: Create a histogram serialization mechanism in components/metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Putting metrics_chromeos behind a flag, hoping to pass mac chromium dbg. Created 6 years, 7 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 | « components/components_tests.gyp ('k') | components/metrics/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics.gypi
diff --git a/components/metrics.gypi b/components/metrics.gypi
index 5c9b1f959e88a5b54c954faa348fa0519b538e87..354d5f5835f9c369da461945d16d92cfc39e8166 100644
--- a/components/metrics.gypi
+++ b/components/metrics.gypi
@@ -26,6 +26,13 @@
'metrics/persisted_logs.cc',
'metrics/persisted_logs.h',
],
+ 'conditions': [
+ ['chromeos==1', {
+ 'dependencies': [
+ 'metrics_chromeos',
+ ],
+ }],
+ ],
},
{
# Protobuf compiler / generator for UMA (User Metrics Analysis).
@@ -48,4 +55,23 @@
'includes': [ '../build/protoc.gypi' ],
},
],
+ 'conditions': [
+ ['chromeos==1', {
+ 'targets': [
+ {
+ 'target_name': 'metrics_chromeos',
+ 'type': 'static_library',
+ 'sources': [
+ 'metrics/chromeos/serialization_utils.cc',
+ 'metrics/chromeos/serialization_utils.h',
+ 'metrics/chromeos/metric_sample.cc',
+ 'metrics/chromeos/metric_sample.h',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/metrics/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698