# 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/chromebox_for_meetings/buildflags.gni") assert(is_chromeos) assert(is_cfm) static_library("logger") { sources = [ "cfm_logger_service.cc", "cfm_logger_service.h", "reporting_pipeline.cc", "reporting_pipeline.h", ] public_deps = [ "//base", "//chrome/browser/ash/settings", "//chromeos/ash/components/dbus/chromebox_for_meetings", "//chromeos/services/chromebox_for_meetings/public/cpp", "//chromeos/services/chromebox_for_meetings/public/mojom", "//chromeos/services/chromebox_for_meetings/public/mojom:mojom_shared", "//chromeos/services/chromebox_for_meetings/public/mojom:mojom_shared_cpp_sources", "//components/reporting/client:report_queue", "//components/reporting/client:report_queue_provider", "//mojo/public/cpp/bindings", ] deps = [ "//chromeos/ash/components/chromebox_for_meetings", "//components/reporting/proto:record_constants", "//crypto", ] } source_set("unit_tests") { testonly = true sources = [ "cfm_logger_service_unittest.cc" ] deps = [ ":logger", "//base", "//base/test:test_support", "//chromeos/ash/components/chromebox_for_meetings", "//chromeos/ash/components/dbus/chromebox_for_meetings", "//chromeos/services/chromebox_for_meetings/public/cpp", "//chromeos/services/chromebox_for_meetings/public/cpp:test_support", "//chromeos/services/chromebox_for_meetings/public/mojom", "//chromeos/services/chromebox_for_meetings/public/mojom:mojom_shared", "//chromeos/services/chromebox_for_meetings/public/mojom:mojom_shared_cpp_sources", "//components/reporting/util:status", "//mojo/public/cpp/bindings", "//testing/gmock", ] }