| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # GYP version: components/metrics.gypi:metrics |
| source_set("metrics") { |
| sources = [ |
| "clean_exit_beacon.cc", |
| "clean_exit_beacon.h", |
| "client_info.cc", |
| "client_info.h", |
| "cloned_install_detector.cc", |
| "cloned_install_detector.h", |
| "compression_utils.cc", |
| "compression_utils.h", |
| "daily_event.cc", |
| "daily_event.h", |
| "machine_id_provider.h", |
| "machine_id_provider_stub.cc", |
| "machine_id_provider_win.cc", |
| "metrics_hashes.cc", |
| "metrics_hashes.h", |
| "metrics_log.cc", |
| "metrics_log.h", |
| "metrics_log_manager.cc", |
| "metrics_log_manager.h", |
| "metrics_log_uploader.cc", |
| "metrics_log_uploader.h", |
| "metrics_pref_names.cc", |
| "metrics_pref_names.h", |
| "metrics_provider.cc", |
| "metrics_provider.h", |
| "metrics_reporting_scheduler.cc", |
| "metrics_reporting_scheduler.h", |
| "metrics_service.cc", |
| "metrics_service.h", |
| "metrics_service_client.cc", |
| "metrics_service_client.h", |
| "metrics_state_manager.cc", |
| "metrics_state_manager.h", |
| "metrics_switches.cc", |
| "metrics_switches.h", |
| "persisted_logs.cc", |
| "persisted_logs.h", |
| ] |
| |
| public_deps = [ |
| "//components/metrics/proto", |
| ] |
| deps = [ |
| "//base", |
| "//components/variations", |
| "//third_party/zlib", |
| ] |
| } |
| |
| # GYP version: components/metrics.gypi:metrics_gpu |
| source_set("gpu") { |
| sources = [ |
| "gpu/gpu_metrics_provider.cc", |
| "gpu/gpu_metrics_provider.h", |
| ] |
| |
| public_deps = [ |
| ":metrics", |
| ] |
| deps = [ |
| "//gpu/config", |
| ] |
| } |
| |
| # GYP version: components/metrics.gypi:metrics_net |
| static_library("net") { |
| sources = [ |
| "net/network_metrics_provider.cc", |
| "net/network_metrics_provider.h", |
| "net/net_metrics_log_uploader.cc", |
| "net/net_metrics_log_uploader.h", |
| "net/wifi_access_point_info_provider.cc", |
| "net/wifi_access_point_info_provider.h", |
| "net/wifi_access_point_info_provider_chromeos.cc", |
| "net/wifi_access_point_info_provider_chromeos.h", |
| ] |
| |
| public_deps = [ |
| ":metrics", |
| ] |
| deps = [ |
| "//net", |
| ] |
| } |
| |
| # GYP version: components/metrics.gypi:metrics_profiler |
| source_set("profiler") { |
| sources = [ |
| "profiler/profiler_metrics_provider.cc", |
| "profiler/profiler_metrics_provider.h", |
| "profiler/tracking_synchronizer.cc", |
| "profiler/tracking_synchronizer.h", |
| "profiler/tracking_synchronizer_observer.h", |
| ] |
| |
| public_deps = [ |
| ":metrics", |
| ] |
| deps = [ |
| "//base", |
| "//content/public/browser", |
| ] |
| } |
| |
| # GYP version: components/metrics.gypi:metrics_test_support |
| static_library("test_support") { |
| sources = [ |
| "test_metrics_service_client.cc", |
| "test_metrics_service_client.h", |
| ] |
| |
| public_deps = [ |
| ":metrics", |
| ] |
| } |
| |
| # TODO(GYP): metrics_chromeos |