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.
5 # GYP version: components/metrics.gypi:metrics
6 source_set("metrics") {
8 "clean_exit_beacon.cc",
12 "cloned_install_detector.cc",
13 "cloned_install_detector.h",
14 "compression_utils.cc",
15 "compression_utils.h",
18 "machine_id_provider.h",
19 "machine_id_provider_stub.cc",
20 "machine_id_provider_win.cc",
25 "metrics_log_manager.cc",
26 "metrics_log_manager.h",
27 "metrics_log_uploader.cc",
28 "metrics_log_uploader.h",
29 "metrics_pref_names.cc",
30 "metrics_pref_names.h",
31 "metrics_provider.cc",
33 "metrics_reporting_scheduler.cc",
34 "metrics_reporting_scheduler.h",
37 "metrics_service_accessor.cc",
38 "metrics_service_accessor.h",
39 "metrics_service_client.cc",
40 "metrics_service_client.h",
41 "metrics_state_manager.cc",
42 "metrics_state_manager.h",
43 "metrics_switches.cc",
50 "//components/metrics/proto",
54 "//components/variations",
59 deps += [ ":serialization" ]
63 # GYP version: components/metrics.gypi:metrics_gpu
66 "gpu/gpu_metrics_provider.cc",
67 "gpu/gpu_metrics_provider.h",
78 # GYP version: components/metrics.gypi:metrics_net
79 static_library("net") {
81 "net/network_metrics_provider.cc",
82 "net/network_metrics_provider.h",
83 "net/net_metrics_log_uploader.cc",
84 "net/net_metrics_log_uploader.h",
85 "net/wifi_access_point_info_provider.cc",
86 "net/wifi_access_point_info_provider.h",
87 "net/wifi_access_point_info_provider_chromeos.cc",
88 "net/wifi_access_point_info_provider_chromeos.h",
99 # GYP version: components/metrics.gypi:metrics_profiler
100 source_set("profiler") {
102 "profiler/profiler_metrics_provider.cc",
103 "profiler/profiler_metrics_provider.h",
104 "profiler/tracking_synchronizer.cc",
105 "profiler/tracking_synchronizer.h",
106 "profiler/tracking_synchronizer_observer.h",
114 "//content/public/browser",
118 # GYP version: components/metrics.gypi:metrics_test_support
119 static_library("test_support") {
121 "test_metrics_service_client.cc",
122 "test_metrics_service_client.h",
131 # GYP version: components/metrics.gypi:metrics_serialization
132 source_set("serialization") {
134 "serialization/serialization_utils.cc",
135 "serialization/serialization_utils.h",
136 "serialization/metric_sample.cc",
137 "serialization/metric_sample.h",
143 source_set("unit_tests") {
146 "compression_utils_unittest.cc",
147 "daily_event_unittest.cc",
148 "machine_id_provider_win_unittest.cc",
149 "metrics_hashes_unittest.cc",
150 "metrics_log_manager_unittest.cc",
151 "metrics_log_unittest.cc",
152 "metrics_reporting_scheduler_unittest.cc",
153 "metrics_service_unittest.cc",
154 "metrics_state_manager_unittest.cc",
155 "persisted_logs_unittest.cc",
156 "profiler/profiler_metrics_provider_unittest.cc",
161 "//base/test:test_support",
166 # TODO(GYP): metrics_chromeos