blob: 68a0503108cb6eff344381a2e04c3e515e0cb4cf [file] [log] [blame]
# Copyright 2021 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.
import("//build/config/features.gni")
source_set("sync") {
sources = [
"safe_browsing_primary_account_token_fetcher.cc",
"safe_browsing_primary_account_token_fetcher.h",
]
deps = [
"//base",
"//components/safe_browsing/core/browser:token_fetcher",
"//components/safe_browsing/core/common:thread_utils",
"//components/signin/public/identity_manager",
"//google_apis",
]
}
source_set("unittests") {
testonly = true
sources = [ "safe_browsing_primary_account_token_fetcher_unittest.cc" ]
deps = [
":sync",
"//base/test:test_support",
"//components/safe_browsing/core/common:test_support",
"//components/signin/public/identity_manager:test_support",
"//testing/gtest",
]
}