1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'metrics',
9 'type': 'static_library',
14 '../base/base.gyp:base',
15 'component_metrics_proto',
18 'metrics/metrics_provider.h',
19 'metrics/cloned_install_detector.cc',
20 'metrics/cloned_install_detector.h',
21 'metrics/machine_id_provider.h',
22 'metrics/machine_id_provider_stub.cc',
23 'metrics/machine_id_provider_win.cc',
24 'metrics/metrics_hashes.cc',
25 'metrics/metrics_hashes.h',
26 'metrics/metrics_log_base.cc',
27 'metrics/metrics_log_base.h',
28 'metrics/metrics_log_uploader.cc',
29 'metrics/metrics_log_uploader.h',
30 'metrics/metrics_log_manager.cc',
31 'metrics/metrics_log_manager.h',
32 'metrics/metrics_pref_names.cc',
33 'metrics/metrics_pref_names.h',
34 'metrics/metrics_reporting_scheduler.cc',
35 'metrics/metrics_reporting_scheduler.h',
36 'metrics/metrics_service_client.h',
37 'metrics/metrics_service_observer.cc',
38 'metrics/metrics_service_observer.h',
39 'metrics/persisted_logs.cc',
40 'metrics/persisted_logs.h',
50 'metrics/machine_id_provider_stub.cc',
56 'target_name': 'metrics_net',
57 'type': 'static_library',
63 '../third_party/zlib/zlib.gyp:zlib',
67 'metrics/net/compression_utils.cc',
68 'metrics/net/compression_utils.h',
69 'metrics/net/net_metrics_log_uploader.cc',
70 'metrics/net/net_metrics_log_uploader.h',
74 # Protobuf compiler / generator for UMA (User Metrics Analysis).
75 'target_name': 'component_metrics_proto',
76 'type': 'static_library',
78 'metrics/proto/chrome_user_metrics_extension.proto',
79 'metrics/proto/histogram_event.proto',
80 'metrics/proto/omnibox_event.proto',
81 'metrics/proto/perf_data.proto',
82 'metrics/proto/profiler_event.proto',
83 'metrics/proto/sampled_profile.proto',
84 'metrics/proto/system_profile.proto',
85 'metrics/proto/user_action_event.proto',
88 'proto_in_dir': 'metrics/proto',
89 'proto_out_dir': 'components/metrics/proto',
91 'includes': [ '../build/protoc.gypi' ],
94 # TODO(isherman): Remove all //chrome dependencies on this target, and
95 # merge the files in this target with components_unittests.
96 'target_name': 'metrics_test_support',
97 'type': 'static_library',
102 'component_metrics_proto',
105 'export_dependent_settings': [
106 'component_metrics_proto',
109 'metrics/test_metrics_service_client.cc',
110 'metrics/test_metrics_service_client.h',
118 'target_name': 'metrics_chromeos',
119 'type': 'static_library',
121 'metrics/chromeos/serialization_utils.cc',
122 'metrics/chromeos/serialization_utils.h',
123 'metrics/chromeos/metric_sample.cc',
124 'metrics/chromeos/metric_sample.h',
127 '../base/base.gyp:base',