# 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")
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash)
assert(is_cfm)
static_library("browser") {
sources = [
"cfm_browser_service.cc",
"cfm_browser_service.h",
"cfm_memory_details.cc",
"cfm_memory_details.h",
]
public_deps = [
"//base",
"//chrome/browser:browser_public_dependencies",
"//chromeos/ash/components/dbus/chromebox_for_meetings",
"//chromeos/services/chromebox_for_meetings/public/cpp",
"//chromeos/services/chromebox_for_meetings/public/mojom",
"//content/public/browser",
"//mojo/public/cpp/bindings",
]
deps = [
"//components/variations/field_trial_config",
"//extensions/browser",
"//extensions/buildflags",
"//extensions/common",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "cfm_browser_service_unittest.cc" ]
deps = [
":browser",
"//base",
"//base/test:test_support",
"//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",
"//components/variations/field_trial_config",
"//mojo/public/cpp/bindings",
"//testing/gmock",
]
}