Index: components/metrics.gypi |
diff --git a/components/metrics.gypi b/components/metrics.gypi |
index 6036cae0cf91e3ef123fbdb65ffb35b7a63ebd35..e0fe84889fe14dcbc611a7e4d04047a580221611 100644 |
--- a/components/metrics.gypi |
+++ b/components/metrics.gypi |
@@ -12,11 +12,35 @@ |
], |
'dependencies': [ |
'../base/base.gyp:base', |
+ 'component_metrics_proto', |
], |
'sources': [ |
'metrics/metrics_hashes.cc', |
'metrics/metrics_hashes.h', |
+ 'metrics/metrics_log_base.cc', |
+ 'metrics/metrics_log_base.h', |
+ 'metrics/metrics_log_manager.cc', |
+ 'metrics/metrics_log_manager.h', |
], |
}, |
+ { |
+ # Protobuf compiler / generator for UMA (User Metrics Analysis). |
+ 'target_name': 'component_metrics_proto', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'metrics/proto/chrome_user_metrics_extension.proto', |
+ 'metrics/proto/histogram_event.proto', |
+ 'metrics/proto/omnibox_event.proto', |
+ 'metrics/proto/perf_data.proto', |
+ 'metrics/proto/profiler_event.proto', |
+ 'metrics/proto/system_profile.proto', |
+ 'metrics/proto/user_action_event.proto', |
+ ], |
+ 'variables': { |
+ 'proto_in_dir': 'metrics/proto', |
+ 'proto_out_dir': 'components/metrics/proto', |
+ }, |
+ 'includes': [ '../build/protoc.gypi' ], |
+ }, |
], |
} |