# 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("tailored_security_service") {
sources = [
"tailored_security_notification_result.h",
"tailored_security_outcome.h",
"tailored_security_service.cc",
"tailored_security_service.h",
"tailored_security_service_observer.h",
"tailored_security_service_observer_util.cc",
"tailored_security_service_observer_util.h",
"tailored_security_service_util.cc",
"tailored_security_service_util.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//base",
"//base:i18n",
"//components/query_parser",
"//components/safe_browsing/core/common:common",
"//components/safe_browsing/core/common:safe_browsing_policy_handler",
"//components/safe_browsing/core/common:safe_browsing_prefs",
"//components/signin/public/identity_manager",
"//components/sync/base",
"//components/sync/service",
"//components/url_formatter",
"//components/variations",
"//google_apis",
"//services/network/public/cpp",
"//services/network/public/mojom",
]
public_deps = [
"//components/keyed_service/core",
"//components/prefs",
"//net",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "tailored_security_service_unittest.cc" ]
deps = [
":tailored_security_service",
"//base",
"//base/test:test_support",
"//components/prefs:test_support",
"//components/safe_browsing/core/common:common",
"//components/safe_browsing/core/common:safe_browsing_prefs",
"//components/sync:test_support",
"//net:test_support",
"//services/network:test_support",
"//services/network/public/cpp",
"//testing/gtest",
"//url",
]
if (is_ios) {
deps += [ "//components/test:safe_browsing_test_bundle_data" ]
}
}