# 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("device_info") {
sources = [
"device_info_service.cc",
"device_info_service.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",
"//mojo/public/cpp/bindings",
]
deps = [
"//chrome/common:channel_info",
"//chromeos/ash/components/system",
"//components/version_info",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "device_info_service_unittest.cc" ]
deps = [
":device_info",
"//base",
"//base/test:test_support",
"//chrome/browser/ash/policy/core:test_support",
"//chrome/browser/ash/settings",
"//chromeos/ash/components/dbus/chromebox_for_meetings",
"//chromeos/ash/components/dbus/session_manager",
"//chromeos/ash/components/install_attributes:test_support",
"//chromeos/ash/components/system",
"//chromeos/services/chromebox_for_meetings/public/cpp",
"//chromeos/services/chromebox_for_meetings/public/cpp:test_support",
"//chromeos/services/chromebox_for_meetings/public/mojom",
"//components/ownership",
"//content/test:test_support",
"//mojo/public/cpp/bindings",
"//testing/gmock",
]
}