diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-31 22:28:34 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-31 22:28:34 +0000 |
commit | 0d5a61a823f8427be621aa4f8dcdcf9fb7cb9ab8 (patch) | |
tree | 462131229f2f6053697c7b9292b278d5dd71d88f /components/metrics.gypi | |
parent | f8ca7bbc1873a7b25ce31700dd4edd13481851b0 (diff) | |
download | chromium_src-0d5a61a823f8427be621aa4f8dcdcf9fb7cb9ab8.zip chromium_src-0d5a61a823f8427be621aa4f8dcdcf9fb7cb9ab8.tar.gz chromium_src-0d5a61a823f8427be621aa4f8dcdcf9fb7cb9ab8.tar.bz2 |
Make MetricsService upload logs through an interface.
This allows targets that do not wish to depend on net
to use the MetricsService code.
Also, moves compression code to be in the net/ directory
of the metrics component.
BUG=375771,374295
R=isherman@chromium.org,blundell@chromium.org,davidben@chromium.org
TBR=agl@chromium.org
Review URL: https://codereview.chromium.org/291153013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/metrics.gypi')
-rw-r--r-- | components/metrics.gypi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/components/metrics.gypi b/components/metrics.gypi index fd79d50..f9896fb 100644 --- a/components/metrics.gypi +++ b/components/metrics.gypi @@ -25,6 +25,8 @@ 'metrics/metrics_hashes.h', 'metrics/metrics_log_base.cc', 'metrics/metrics_log_base.h', + 'metrics/metrics_log_uploader.cc', + 'metrics/metrics_log_uploader.h', 'metrics/metrics_log_manager.cc', 'metrics/metrics_log_manager.h', 'metrics/metrics_pref_names.cc', @@ -51,6 +53,24 @@ ], }, { + 'target_name': 'metrics_net', + 'type': 'static_library', + 'include_dirs': [ + '..', + ], + 'dependencies': [ + '../net/net.gyp:net', + '../third_party/zlib/zlib.gyp:zlib', + 'metrics', + ], + 'sources': [ + 'metrics/net/compression_utils.cc', + 'metrics/net/compression_utils.h', + 'metrics/net/net_metrics_log_uploader.cc', + 'metrics/net/net_metrics_log_uploader.h', + ], + }, + { # Protobuf compiler / generator for UMA (User Metrics Analysis). 'target_name': 'component_metrics_proto', 'type': 'static_library', |