chromium/chrome/browser/ash/report_controller_initializer/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("report_controller_initializer") {
  sources = [
    "report_controller_initializer.cc",
    "report_controller_initializer.h",
  ]

  public_deps = [ "//chrome/browser:browser_public_dependencies" ]

  deps = [
    "//base",
    "//chrome/browser:browser_process",
    "//chrome/browser/ash/login",
    "//chrome/browser/ash/policy/core",
    "//chrome/browser/ash/settings",
    "//chrome/common",
    "//chromeos/ash/components/report",
    "//chromeos/ash/components/report:fresnel_service_proto",
    "//chromeos/ash/components/report:utils",
    "//chromeos/ash/components/settings",
    "//components/policy/core/common",
    "//services/network/public/cpp",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "report_controller_initializer_unittest.cc" ]

  deps = [
    ":report_controller_initializer",
    "//base",
    "//chrome/browser/ash/settings",
    "//testing/gtest",
    "//third_party/private_membership",
  ]
}