| # 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) |
| |
| 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/ash/login", |
| "//chrome/browser/ash/policy/core", |
| "//chrome/browser/ash/settings", |
| "//chrome/common", |
| "//chromeos/ash/components/channel", |
| "//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", |
| "//chrome/browser/ash/settings", |
| "//chrome/test:test_support", |
| "//chromeos/ash/components/install_attributes:test_support", |
| "//testing/gtest", |
| "//third_party/private_membership", |
| ] |
| } |