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

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: Fixing bad naming and nits. 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
Index: components/metrics.gypi
diff --git a/components/metrics.gypi b/components/metrics.gypi
index 61e9855f328db750586fbcf32fec7595cefcdc73..6f9b1d59cf5cde90c42364c93197ed6cda6e016b 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).
@@ -46,5 +53,18 @@
},
'includes': [ '../build/protoc.gypi' ],
},
+ {
+ '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',
+ ],
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698