1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
assert(is_chromeos)
static_library("sync") {
sources = [
"sync_appsync_optin_client.cc",
"sync_appsync_optin_client.h",
"sync_appsync_service.cc",
"sync_appsync_service.h",
"sync_appsync_service_factory.cc",
"sync_appsync_service_factory.h",
"sync_error_notifier.cc",
"sync_error_notifier.h",
"sync_error_notifier_factory.cc",
"sync_error_notifier_factory.h",
]
public_deps = [
"//base",
"//chrome/browser:browser_public_dependencies",
"//chrome/browser/profiles:profile",
"//components/keyed_service/core",
"//components/sync/service",
"//mojo/public/cpp/bindings",
"//url",
]
deps = [
"//ash/constants",
"//ash/public/cpp",
"//ash/webui/settings/public/constants:mojom",
"//chrome/app:branded_strings",
"//chrome/app:generated_resources",
"//chrome/app/theme:theme_resources",
"//chrome/browser/sync",
"//chrome/browser/sync:factories",
"//chrome/browser/ui/ash/multi_user",
"//chrome/browser/ui/webui/signin:login",
"//chrome/common",
"//components/account_id",
"//components/account_manager_core",
"//components/signin/public/identity_manager",
"//components/sync/base",
"//components/sync/base:features",
"//components/sync/engine",
"//components/sync_sessions",
"//components/trusted_vault",
"//components/user_manager",
"//components/vector_icons",
"//ui/base",
"//ui/message_center/public/cpp",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"sync_appsync_optin_client_unittest.cc",
"sync_appsync_service_unittest.cc",
"sync_error_notifier_unittest.cc",
]
deps = [
":sync",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chrome/browser/ash/login/users:test_support",
"//chrome/browser/ui",
"//chrome/browser/ui/webui/signin:login",
"//chrome/test:test_support",
"//components/account_id",
"//components/signin/public/identity_manager",
"//components/sync:test_support",
"//components/sync/base",
"//components/sync/base:features",
"//components/sync/engine",
"//components/sync/protocol",
"//components/sync/service",
"//components/user_manager",
"//google_apis",
"//mojo/public/cpp/bindings",
"//testing/gmock",
"//testing/gtest",
"//ui/gfx",
"//ui/gfx:test_support",
"//ui/message_center/public/cpp",
"//url",
]
}
|