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' ], |
+ }, |
], |
} |