# 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("public") {
sources = [
"guest_os_mount_provider.cc",
"guest_os_mount_provider.h",
"guest_os_mount_provider_registry.cc",
"guest_os_mount_provider_registry.h",
"guest_os_service.cc",
"guest_os_service.h",
"guest_os_service_factory.cc",
"guest_os_service_factory.h",
"guest_os_sk_forwarder.cc",
"guest_os_sk_forwarder.h",
"guest_os_terminal_provider.cc",
"guest_os_terminal_provider.h",
"guest_os_terminal_provider_registry.cc",
"guest_os_terminal_provider_registry.h",
"guest_os_wayland_server.cc",
"guest_os_wayland_server.h",
"types.cc",
"types.h",
]
public_deps = [ "//chrome/browser:browser_public_dependencies" ]
deps = [
"//base",
"//chrome/browser/ash/borealis",
"//chrome/browser/ash/crosapi:browser_util",
"//chrome/browser/ash/guest_os/infra",
"//chrome/browser/ash/profiles",
"//chrome/browser/profiles:profile",
"//chrome/common",
"//chromeos/ash/components/dbus:vm_applications_apps_proto",
"//chromeos/ash/components/dbus:vm_wl_proto",
"//chromeos/ash/components/dbus/concierge",
"//chromeos/ash/components/dbus/concierge:concierge_proto",
"//chromeos/ash/components/disks",
"//components/exo",
"//components/exo/server",
"//components/keyed_service/core",
"//content/public/browser",
"//storage/browser",
]
allow_circular_includes_from = [ "//chrome/browser/ash/borealis" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"guest_os_mount_provider_registry_unittest.cc",
"guest_os_mount_provider_unittest.cc",
"guest_os_wayland_server_unittest.cc",
]
deps = [
":public",
"//base",
"//base/test:test_support",
"//chrome/browser/ash/borealis",
"//chrome/browser/ash/borealis/testing:test_support",
"//chrome/browser/ash/guest_os",
"//chrome/browser/ash/guest_os:test_support",
"//chrome/test:test_support",
"//chrome/test:test_support_unit",
"//chromeos/ash/components/dbus:vm_wl_proto",
"//chromeos/ash/components/dbus/cros_disks",
"//chromeos/ash/components/disks",
"//chromeos/ash/components/disks:test_support",
"//components/exo/server",
"//components/exo/wayland:test_support",
"//components/keyed_service/content",
"//content/public/browser",
"//content/test:test_support",
"//storage/browser",
"//testing/gmock",
"//testing/gtest",
]
}