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

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: Update components_test.gyp to match metrics_export. 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..8ccce134b6e867f16afa9476216946d7578877b2 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_chromeos',
+ ],
Alexei Svitkine (slow) 2014/05/15 13:43:26 Nit: Bad indentation.
bsimonnet 2014/05/15 19:23:40 Done.
+ },
+ ],
+ ],
},
{
# Protobuf compiler / generator for UMA (User Metrics Analysis).
@@ -42,5 +50,18 @@
},
'includes': [ '../build/protoc.gypi' ],
},
- ],
+ {
+ 'target_name': 'metrics_chromeos',
+ '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