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

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: Move files into chromeos. Fixed linting issues. Created 6 years, 8 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 6036cae0cf91e3ef123fbdb65ffb35b7a63ebd35..95f2832ca6e2e07b4d907ff61ae95419880bb951 100644
--- a/components/metrics.gypi
+++ b/components/metrics.gypi
@@ -17,6 +17,37 @@
'metrics/metrics_hashes.cc',
'metrics/metrics_hashes.h',
],
+ 'conditions': [
+ ['chromeos==1', {
+ 'dependencies': [
+ 'metrics_export',
+ ],
+ },
+ ],
+ ],
},
- ],
+ {
+ 'target_name': 'metrics_export',
+ 'type': 'static_library',
+ 'sources':[
+ 'metrics/chromeos/crash_sample.cc',
+ 'metrics/chromeos/crash_sample.h',
+ 'metrics/chromeos/histogram_sample.cc',
+ 'metrics/chromeos/histogram_sample.h',
+ 'metrics/chromeos/linearhistogram_sample.cc',
Luigi Semenzato 2014/05/08 17:19:37 Whoa, that's a lot of small files/classes.
+ 'metrics/chromeos/linearhistogram_sample.h',
+ 'metrics/chromeos/metrics_utils.cc',
+ 'metrics/chromeos/metrics_utils.h',
+ 'metrics/chromeos/metric_sample.cc',
+ 'metrics/chromeos/metric_sample.h',
+ 'metrics/chromeos/sparsehistogram_sample.cc',
+ 'metrics/chromeos/sparsehistogram_sample.h',
+ 'metrics/chromeos/useraction_sample.cc',
+ 'metrics/chromeos/useraction_sample.h',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ },
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698