summaryrefslogtreecommitdiffstats
path: root/components/metrics.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'components/metrics.gypi')
-rw-r--r--components/metrics.gypi26
1 files changed, 26 insertions, 0 deletions
diff --git a/components/metrics.gypi b/components/metrics.gypi
index 5c9b1f9..354d5f5 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',
+ ],
+ },
+ ],
+ }],
+ ],
}