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

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: Rewriting the file manipulation to using blocking locks (using flock) 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 e0fe84889fe14dcbc611a7e4d04047a580221611..7645a01d2855810ae7554e84fef75a362700fba8 100644
--- a/components/metrics.gypi
+++ b/components/metrics.gypi
@@ -22,6 +22,14 @@
'metrics/metrics_log_manager.cc',
'metrics/metrics_log_manager.h',
],
+ 'conditions': [
+ ['chromeos==1', {
+ 'dependencies': [
+ 'metrics_export',
+ ],
+ },
+ ],
+ ],
},
{
# Protobuf compiler / generator for UMA (User Metrics Analysis).
@@ -42,5 +50,18 @@
},
'includes': [ '../build/protoc.gypi' ],
},
- ],
+ {
+ 'target_name': 'metrics_export',
blundell 2014/05/13 07:58:16 This should be named metrics_chromeos I think.
bsimonnet 2014/05/13 17:59:14 Done.
+ 'type': 'static_library',
+ 'sources':[
+ 'metrics/chromeos/metrics_utils.cc',
+ 'metrics/chromeos/metrics_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