| # 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) |
| |
| static_library("rsu") { |
| sources = [ |
| "lookup_key_uploader.cc", |
| "lookup_key_uploader.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chrome/common:constants", |
| "//chromeos/ash/components/dbus/cryptohome:cryptohome_proto", |
| "//chromeos/ash/components/dbus/userdataauth", |
| "//chromeos/ash/components/dbus/userdataauth:userdataauth_proto", |
| "//components/policy/core/common", |
| "//components/prefs", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "lookup_key_uploader_unittest.cc" ] |
| |
| deps = [ |
| "//base", |
| "//base/test:test_support", |
| "//chrome/browser/ash/attestation:test_support", |
| "//chrome/browser/ash/policy/rsu", |
| "//chrome/browser/ash/settings:test_support", |
| "//chrome/common:constants", |
| "//chromeos/ash/components/dbus/userdataauth", |
| "//components/policy/core/common:test_support", |
| "//components/policy/proto", |
| "//components/prefs", |
| "//components/prefs:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |