| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("features") { |
| sources = [ "device_trust_features.cc" ] |
| |
| public = [ "device_trust_features.h" ] |
| |
| public_deps = [ "//base" ] |
| } |
| |
| source_set("prefs") { |
| sources = [ "prefs.cc" ] |
| |
| public = [ "prefs.h" ] |
| |
| deps = [ "//components/prefs" ] |
| } |
| |
| source_set("test_support") { |
| testonly = true |
| sources = [ |
| "fake_device_trust_connector_service.cc", |
| "mock_device_trust_service.cc", |
| ] |
| |
| public = [ |
| "fake_device_trust_connector_service.h", |
| "mock_device_trust_service.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//chrome/browser", |
| "//testing/gmock", |
| ] |
| |
| deps = [ |
| ":prefs", |
| "//components/pref_registry", |
| "//components/prefs:test_support", |
| "//components/sync_preferences:test_support", |
| ] |
| } |