# 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. assert(is_chromeos) static_library("tpm") { sources = [ "tpm_firmware_update.cc", "tpm_firmware_update.h", "tpm_firmware_update_notification.cc", "tpm_firmware_update_notification.h", ] public_deps = [ "//chrome/browser:browser_public_dependencies" ] deps = [ "//ash/constants", "//ash/public/cpp", "//base", "//chrome/browser/profiles:profile", "//chrome/common", "//chromeos/ash/components/browser_context_helper", "//chromeos/ash/components/install_attributes", "//chromeos/ash/components/settings", "//chromeos/ash/experiences/settings_ui", "//components/prefs", "//components/user_manager", "//ui/base", "//ui/chromeos", "//ui/message_center", ] } source_set("unit_tests") { testonly = true sources = [ "tpm_firmware_update_unittest.cc" ] deps = [ ":tpm", "//base", "//base/test:test_support", "//chrome/browser/ash/policy/enrollment", "//chrome/browser/ash/settings:test_support", "//chrome/common", "//chromeos/ash/components/install_attributes:test_support", "//chromeos/ash/components/settings", "//chromeos/ash/components/system", "//testing/gmock", "//testing/gtest", ] }