| # 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("cert_store") { |
| sources = [ |
| "arc_cert_installer.cc", |
| "arc_cert_installer.h", |
| "arc_cert_installer_utils.cc", |
| "arc_cert_installer_utils.h", |
| "cert_store_service.cc", |
| "cert_store_service.h", |
| "cert_store_service_factory.cc", |
| "cert_store_service_factory.h", |
| ] |
| |
| public_deps = [ "//chrome/browser:browser_public_dependencies" ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser/ash/certificate_provider", |
| "//chrome/browser/ash/platform_keys", |
| "//chrome/browser/ash/platform_keys/key_permissions", |
| "//chrome/browser/ash/policy/remote_commands", |
| "//chrome/browser/profiles:profile", |
| "//chrome/common", |
| "//chromeos/ash/components/platform_keys", |
| "//chromeos/ash/experiences/arc", |
| "//chromeos/ash/experiences/arc/keymaster", |
| "//chromeos/ash/experiences/arc/keymint", |
| "//chromeos/ash/services/keymanagement/public/mojom", |
| "//chromeos/ash/services/keymaster/public/mojom", |
| "//components/keyed_service/content", |
| "//components/keyed_service/core", |
| "//components/policy/core/common", |
| "//content/public/browser", |
| "//crypto", |
| "//net", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "arc_cert_installer_unittest.cc" ] |
| |
| deps = [ |
| ":cert_store", |
| "//base", |
| "//chrome/browser/ash/arc/policy", |
| "//chrome/browser/ash/arc/session", |
| "//chrome/browser/ash/arc/test:arc_test_support", |
| "//chrome/test:test_support", |
| "//chromeos/ash/experiences/arc", |
| "//chromeos/ash/experiences/arc:arc_test_support", |
| "//chromeos/ash/experiences/arc/mojom", |
| "//components/policy/core/common", |
| "//content/test:test_support", |
| "//crypto", |
| "//crypto:test_support", |
| "//net", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |
| |
| source_set("browser_tests") { |
| testonly = true |
| |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| |
| sources = [ "cert_store_service_browsertest.cc" ] |
| |
| deps = [ |
| ":cert_store", |
| "//base", |
| "//base/test:test_support", |
| "//chrome/browser/ash/arc/session", |
| "//chrome/browser/ash/login/test:test_support", |
| "//chrome/browser/ash/platform_keys", |
| "//chrome/browser/ash/platform_keys/key_permissions", |
| "//chrome/browser/ash/policy/affiliation:test_support", |
| "//chrome/browser/chromeos/platform_keys", |
| "//chrome/browser/profiles:profile", |
| "//chrome/browser/ui", |
| "//chrome/common", |
| "//chrome/test:test_support", |
| "//chromeos/ash/components/platform_keys", |
| "//chromeos/ash/experiences/arc", |
| "//chromeos/ash/experiences/arc:arc_test_support", |
| "//chromeos/ash/experiences/arc/keymaster", |
| "//chromeos/ash/experiences/arc/keymint", |
| "//chromeos/ash/services/keymaster/public/mojom", |
| "//chromeos/ash/services/keymint/public/mojom", |
| "//components/prefs", |
| "//content/public/browser", |
| "//content/test:test_support", |
| "//crypto", |
| "//crypto:test_support", |
| "//extensions/browser", |
| "//net", |
| "//testing/gtest", |
| ] |
| } |