mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
70 lines
1.7 KiB
Plaintext
70 lines
1.7 KiB
Plaintext
|
# 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 = [
|
||
|
"feature.cc",
|
||
|
"feature.h",
|
||
|
"pref_names.cc",
|
||
|
"pref_names.h",
|
||
|
"unified_consent_metrics.cc",
|
||
|
"unified_consent_metrics.h",
|
||
|
"unified_consent_service.cc",
|
||
|
"unified_consent_service.h",
|
||
|
"unified_consent_service_client.cc",
|
||
|
"unified_consent_service_client.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/contextual_search/core:browser",
|
||
|
"//components/pref_registry",
|
||
|
"//components/signin/core/browser",
|
||
|
"//components/sync",
|
||
|
"//services/identity/public/cpp",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
static_library("test_support") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"scoped_unified_consent.cc",
|
||
|
"scoped_unified_consent.h",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base/test:test_support",
|
||
|
]
|
||
|
|
||
|
public_deps = [
|
||
|
":unified_consent",
|
||
|
"//base",
|
||
|
"//components/sync",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"feature_unittest.cc",
|
||
|
"unified_consent_service_unittest.cc",
|
||
|
"url_keyed_data_collection_consent_helper_unittest.cc",
|
||
|
]
|
||
|
deps = [
|
||
|
":test_support",
|
||
|
":unified_consent",
|
||
|
"//base/test:test_support",
|
||
|
"//components/autofill/core/common",
|
||
|
"//components/contextual_search/core:browser",
|
||
|
"//components/sync",
|
||
|
"//components/sync:test_support_driver",
|
||
|
"//components/sync_preferences:test_support",
|
||
|
"//services/identity/public/cpp:test_support",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|