| # Copyright 2019 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| static_library("installer_policies") { |
| sources = [ |
| "autofill_states_component_installer.cc", |
| "autofill_states_component_installer.h", |
| "on_device_head_suggest_component_installer.cc", |
| "on_device_head_suggest_component_installer.h", |
| "optimization_hints_component_installer.cc", |
| "optimization_hints_component_installer.h", |
| "origin_trials_component_installer.cc", |
| "origin_trials_component_installer.h", |
| "safety_tips_component_installer.cc", |
| "safety_tips_component_installer.h", |
| "trust_token_key_commitments_component_installer_policy.cc", |
| "trust_token_key_commitments_component_installer_policy.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/autofill/core/browser", |
| "//components/component_updater", |
| "//components/omnibox/browser", |
| "//components/omnibox/common", |
| "//components/optimization_guide/core", |
| "//components/prefs:prefs", |
| "//components/reputation/core", |
| "//components/reputation/core:proto", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "autofill_states_component_installer_unittest.cc", |
| "optimization_hints_component_installer_unittest.cc", |
| "trust_token_key_commitments_component_installer_policy_unittest.cc", |
| ] |
| |
| deps = [ |
| ":installer_policies", |
| "//base", |
| "//base/test:test_support", |
| "//components/autofill/core/browser:test_support", |
| "//components/component_updater:test_support", |
| "//components/optimization_guide/core", |
| "//services/network/public/cpp", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |