| # Copyright 2022 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("consent_auditor") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "consent_auditor_factory.h", |
| "consent_auditor_factory.mm", |
| ] |
| deps = [ |
| "//base", |
| "//components/consent_auditor", |
| "//components/keyed_service/ios", |
| "//components/pref_registry", |
| "//components/sync/model", |
| "//components/version_info", |
| "//ios/chrome/browser/shared/model/application_context", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//ios/chrome/browser/sync:model_type_store_service_factory", |
| "//ios/chrome/common", |
| "//ios/web/public", |
| ] |
| } |
| source_set("test_support") { |
| testonly = true |
| sources = [ |
| "consent_auditor_test_utils.cc", |
| "consent_auditor_test_utils.h", |
| ] |
| deps = [ |
| ":consent_auditor", |
| "//components/consent_auditor:test_support", |
| "//components/keyed_service/core", |
| "//ios/chrome/browser/sync:test_support", |
| "//ios/web/public", |
| ] |
| } |