chromium/chrome/browser/ash/policy/reporting/metrics_reporting/cros_healthd_sampler_handlers/BUILD.gn

# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")

assert(is_chromeos_ash)

static_library("cros_healthd_sampler_handlers") {
  sources = [
    "cros_healthd_audio_sampler_handler.cc",
    "cros_healthd_audio_sampler_handler.h",
    "cros_healthd_boot_performance_sampler_handler.cc",
    "cros_healthd_boot_performance_sampler_handler.h",
    "cros_healthd_bus_sampler_handler.cc",
    "cros_healthd_bus_sampler_handler.h",
    "cros_healthd_cpu_sampler_handler.cc",
    "cros_healthd_cpu_sampler_handler.h",
    "cros_healthd_display_sampler_handler.cc",
    "cros_healthd_display_sampler_handler.h",
    "cros_healthd_input_sampler_handler.cc",
    "cros_healthd_input_sampler_handler.h",
    "cros_healthd_memory_sampler_handler.cc",
    "cros_healthd_memory_sampler_handler.h",
    "cros_healthd_psr_sampler_handler.cc",
    "cros_healthd_psr_sampler_handler.h",
    "cros_healthd_sampler_handler.h",
  ]

  deps = [
    "//base",
    "//chromeos/ash/services/cros_healthd/public/cpp",
    "//chromeos/ash/services/cros_healthd/public/mojom",
    "//components/reporting/metrics:metrics_data_collection",
    "//components/reporting/proto:metric_data_proto",
    "//third_party/abseil-cpp:absl",
  ]
}