chromium/components/reporting/metrics/fakes/BUILD.gn

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

static_library("test_support") {
  testonly = true
  sources = [
    "fake_event_driven_telemetry_collector_pool.cc",
    "fake_event_driven_telemetry_collector_pool.h",
    "fake_metric_event_observer.cc",
    "fake_metric_event_observer.h",
    "fake_metric_report_queue.cc",
    "fake_metric_report_queue.h",
    "fake_reporting_settings.cc",
    "fake_reporting_settings.h",
    "fake_sampler.cc",
    "fake_sampler.h",
  ]
  deps = [
    "//base",
    "//base/test:test_support",
    "//components/reporting/client:report_queue",
    "//components/reporting/metrics:metrics_data_collection",
    "//components/reporting/proto:metric_data_proto",
    "//components/reporting/proto:record_constants",
    "//components/reporting/util:status",
    "//testing/gtest",
  ]
}