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

Unified Diff: chrome/chrome_common.gypi

Issue 9232071: Upload UMA data using protocol buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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: chrome/chrome_common.gypi
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index 26220f2d3b62f51a69a67103ddc8ab7c34867669..78b7a2390ae2f249145dfd790fd70c027caaaea4 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -28,6 +28,7 @@
'common_constants',
'common_net',
'common_version',
+ 'metrics_proto',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/base.gyp:base_i18n',
'<(DEPTH)/base/base.gyp:base_static',
@@ -453,5 +454,22 @@
},
'includes': [ '../build/protoc.gypi' ],
},
+ {
+ # Protobuf compiler / generator for UMA (User Metrics Analysis).
+ 'target_name': 'metrics_proto',
+ 'type': 'static_library',
+ 'sources': [
+ 'common/metrics/proto/chrome_user_metrics_extension.proto',
+ 'common/metrics/proto/histogram_event.proto',
+ 'common/metrics/proto/omnibox_event.proto',
+ 'common/metrics/proto/system_profile.proto',
+ 'common/metrics/proto/user_action_event.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': 'common/metrics/proto',
+ 'proto_out_dir': 'chrome/common/metrics/proto',
+ },
+ 'includes': [ '../build/protoc.gypi' ],
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698