blob: b366cb23559207bf78ccf815651b53c44ab64274 [file] [log] [blame]
# Copyright 2018 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("unified_consent") {
sources = [
"pref_names.cc",
"pref_names.h",
"unified_consent_metrics.cc",
"unified_consent_metrics.h",
"unified_consent_service.cc",
"unified_consent_service.h",
"url_keyed_data_collection_consent_helper.cc",
"url_keyed_data_collection_consent_helper.h",
]
deps = [
"//base",
"//components/autofill/core/common",
"//components/browser_sync",
"//components/pref_registry",
"//components/prefs",
"//components/signin/public/identity_manager",
"//components/sync",
"//components/sync_preferences",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"unified_consent_service_unittest.cc",
"url_keyed_data_collection_consent_helper_unittest.cc",
]
deps = [
":unified_consent",
"//base/test:test_support",
"//components/signin/public/identity_manager:test_support",
"//components/sync:test_support",
"//components/sync_preferences:test_support",
"//testing/gtest",
]
}