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

Unified Diff: components/metrics.gypi

Issue 239093004: Move part of metrics from chrome/common to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding TBR section for owners of minor changes. 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..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' ],
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698