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 '../third_party/zlib/zlib.gyp:zlib',
16 'component_metrics_proto',
20 'metrics/compression_utils.cc',
21 'metrics/compression_utils.h',
22 'metrics/cloned_install_detector.cc',
23 'metrics/cloned_install_detector.h',
24 'metrics/machine_id_provider.h',
25 'metrics/machine_id_provider_stub.cc',
26 'metrics/machine_id_provider_win.cc',
27 'metrics/metrics_hashes.cc',
28 'metrics/metrics_hashes.h',
29 'metrics/metrics_log.cc',
30 'metrics/metrics_log.h',
31 'metrics/metrics_log_uploader.cc',
32 'metrics/metrics_log_uploader.h',
33 'metrics/metrics_log_manager.cc',
34 'metrics/metrics_log_manager.h',
35 'metrics/metrics_pref_names.cc',
36 'metrics/metrics_pref_names.h',
37 'metrics/metrics_provider.h',
38 'metrics/metrics_reporting_scheduler.cc',
39 'metrics/metrics_reporting_scheduler.h',
40 'metrics/metrics_service.cc',
41 'metrics/metrics_service.h',
42 'metrics/metrics_service_client.h',
43 'metrics/metrics_service_observer.cc',
44 'metrics/metrics_service_observer.h',
45 'metrics/metrics_state_manager.cc',
46 'metrics/metrics_state_manager.h',
47 'metrics/metrics_switches.cc',
48 'metrics/metrics_switches.h',
49 'metrics/persisted_logs.cc',
50 'metrics/persisted_logs.h',
60 'metrics/machine_id_provider_stub.cc',
66 'target_name': 'metrics_net',
67 'type': 'static_library',
76 'metrics/net/net_metrics_log_uploader.cc',
77 'metrics/net/net_metrics_log_uploader.h',
81 # Protobuf compiler / generator for UMA (User Metrics Analysis).
82 'target_name': 'component_metrics_proto',
83 'type': 'static_library',
85 'metrics/proto/chrome_user_metrics_extension.proto',
86 'metrics/proto/histogram_event.proto',
87 'metrics/proto/omnibox_event.proto',
88 'metrics/proto/omnibox_input_type.proto',
89 'metrics/proto/perf_data.proto',
90 'metrics/proto/profiler_event.proto',
91 'metrics/proto/sampled_profile.proto',
92 'metrics/proto/system_profile.proto',
93 'metrics/proto/user_action_event.proto',
96 'proto_in_dir': 'metrics/proto',
97 'proto_out_dir': 'components/metrics/proto',
99 'includes': [ '../build/protoc.gypi' ],
102 # TODO(isherman): Remove all //chrome dependencies on this target, and
103 # merge the files in this target with components_unittests.
104 'target_name': 'metrics_test_support',
105 'type': 'static_library',
110 'component_metrics_proto',
113 'export_dependent_settings': [
114 'component_metrics_proto',
117 'metrics/test_metrics_service_client.cc',
118 'metrics/test_metrics_service_client.h',
126 'target_name': 'metrics_chromeos',
127 'type': 'static_library',
129 'metrics/chromeos/serialization_utils.cc',
130 'metrics/chromeos/serialization_utils.h',
131 'metrics/chromeos/metric_sample.cc',
132 'metrics/chromeos/metric_sample.h',
135 '../base/base.gyp:base',