diff options
author | bsimonnet@chromium.org <bsimonnet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-02 00:59:06 +0000 |
---|---|---|
committer | bsimonnet@chromium.org <bsimonnet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-02 00:59:06 +0000 |
commit | 064107ef1030b102ee805d17d1de9b9b24a0f1e9 (patch) | |
tree | cef90be3817689a11946c330f824cb6e8d9acf01 /components/metrics.gypi | |
parent | 8e05f0f285002c8468046dabe4956fc90b66c328 (diff) | |
download | chromium_src-064107ef1030b102ee805d17d1de9b9b24a0f1e9.zip chromium_src-064107ef1030b102ee805d17d1de9b9b24a0f1e9.tar.gz chromium_src-064107ef1030b102ee805d17d1de9b9b24a0f1e9.tar.bz2 |
Move part of metrics from chrome/common to components
Chrome OS needs to have access to the metrics aggretion and serialization logic
to build a metric sender service replacing chrome. Protobuf definitions are
moved to components too.
The code remaining will be extrated in components/metrics and
components/variation during a refactoring later this year.
BUG=chromium:360183
TEST=run unittests
TBR=sky@chromium.org, benwells@chromium.org
Review URL: https://codereview.chromium.org/239093004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/metrics.gypi')
-rw-r--r-- | components/metrics.gypi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/components/metrics.gypi b/components/metrics.gypi index 6036cae..e0fe848 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' ], + }, ], } |